Skip to content

Commit

Permalink
[Backport release-24.11] python312Packages.debianbts: fix build (#367100
Browse files Browse the repository at this point in the history
)
  • Loading branch information
wolfgangwalther authored Dec 22, 2024
2 parents 7377def + 9ecd11e commit 6f88dce
Showing 1 changed file with 13 additions and 8 deletions.
21 changes: 13 additions & 8 deletions pkgs/development/python-modules/debianbts/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,40 +5,45 @@
pysimplesoap,
pythonOlder,
setuptools,
distutils,
}:

buildPythonPackage rec {
pname = "python-debianbts";
version = "4.0.2";
version = "4.1.1";
pyproject = true;

disabled = pythonOlder "3.8";

src = fetchPypi {
inherit pname version;
hash = "sha256-JbPb0lZND96XLZNU97wMuT9iGNXVN2KTsZC2St6FfuU=";
inherit version;
pname = "python_debianbts";
hash = "sha256-9EOxjOJBGzcxA3hHFeZwffA09I2te+OHppF7FuFU15M=";
};

postPatch = ''
sed -i "/--cov/d" pyproject.toml
'';

nativeBuildInputs = [ setuptools ];
build-system = [ setuptools ];

propagatedBuildInputs = [ pysimplesoap ];
dependencies = [
pysimplesoap
distutils
];

# Most tests require network access
doCheck = false;

pythonImportsCheck = [ "debianbts" ];

meta = with lib; {
meta = {
description = "Python interface to Debian's Bug Tracking System";
mainProgram = "debianbts";
homepage = "https://github.com/venthur/python-debianbts";
downloadPage = "https://pypi.org/project/python-debianbts/";
changelog = "https://github.com/venthur/python-debianbts/blob/${version}/CHANGELOG.md";
license = licenses.mit;
maintainers = with maintainers; [ nicoo ];
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ nicoo ];
};
}

0 comments on commit 6f88dce

Please sign in to comment.