Merge pull request #283661 from r-ryantm/auto-update/python311Packages.jenkins-job-builder

python311Packages.jenkins-job-builder: 5.0.4 -> 6.0.0
This commit is contained in:
Weijia Wang 2024-02-05 00:12:28 +01:00 committed by GitHub
commit a51fb0d1d0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -9,23 +9,16 @@
buildPythonPackage rec {
pname = "jenkins-job-builder";
version = "5.0.4";
version = "6.0.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-+zrsfyi4I8venFGMKXDMUq+9+f7y6IY59y1/OJDExGs=";
hash = "sha256-queP6RBpw32PXbpz6StIE6Pb7RNsm2O4tNarrDwb2cU=";
};
postPatch = ''
# relax version constraint, https://storyboard.openstack.org/#!/story/2009723
substituteInPlace requirements.txt --replace 'PyYAML>=3.10.0,<6' 'PyYAML>=3.10.0'
# Allow building with setuptools from nixpkgs.
# Related: https://github.com/NixOS/nixpkgs/issues/238226.
substituteInPlace requirements.txt --replace 'setuptools<=65.7.0' 'setuptools'
export HOME=$TMPDIR
export HOME=$(mktemp -d)
'';
propagatedBuildInputs = [ pbr python-jenkins pyyaml six stevedore fasteners jinja2 ];
@ -35,7 +28,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Jenkins Job Builder is a system for configuring Jenkins jobs using simple YAML files stored in Git";
homepage = "https://docs.openstack.org/infra/jenkins-job-builder/";
homepage = "https://jenkins-job-builder.readthedocs.io/en/latest/";
license = licenses.asl20;
maintainers = with maintainers; [ ];
};