diff options
author | Fabian Affolter <fabian@affolter-engineering.ch> | 2023-11-05 14:12:29 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-05 14:12:29 +0100 |
commit | 395c5585daa247828d16761bc54ea898d520aee8 (patch) | |
tree | f0ce9c86bdbae9bcfb4566ab61e811dde3e9b45e /pkgs | |
parent | 3856ec854c7f13652d149198e6875a5640a13886 (diff) | |
parent | f226c9f7ae5c065014d8a20a32fcf5fe1b3ab6c7 (diff) |
Merge pull request #265626 from r-ryantm/auto-update/python310Packages.debianbts
python310Packages.debianbts: 4.0.1 -> 4.0.2
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/python-modules/debianbts/default.nix | 37 |
1 files changed, 24 insertions, 13 deletions
diff --git a/pkgs/development/python-modules/debianbts/default.nix b/pkgs/development/python-modules/debianbts/default.nix index 5390e40a2063d..67b43fdff3fbb 100644 --- a/pkgs/development/python-modules/debianbts/default.nix +++ b/pkgs/development/python-modules/debianbts/default.nix @@ -1,31 +1,42 @@ { lib , buildPythonPackage , fetchPypi -, nix-update-script , pysimplesoap -, pytest , pytest-xdist +, pytestCheckHook +, pytest-xdist , pythonOlder , setuptools }: buildPythonPackage rec { pname = "python-debianbts"; - version = "4.0.1"; - format = "pyproject"; + version = "4.0.2"; + pyproject = true; - disabled = pythonOlder "3.7"; - passthru.updateScript = nix-update-script { }; + disabled = pythonOlder "3.8"; src = fetchPypi { inherit pname version; - sha256 = "b0817d593ccdfb58a5f37b8cb3873bd0b2268b434f2798dc75b206d7550fdf04"; + hash = "sha256-JbPb0lZND96XLZNU97wMuT9iGNXVN2KTsZC2St6FfuU="; }; - buildInputs = [ setuptools ]; - propagatedBuildInputs = [ pysimplesoap ]; - checkInputs = [ - pytest - pytest-xdist + postPatch = '' + sed -i "/--cov/d" pyproject.toml + ''; + + nativeBuildInputs = [ + setuptools + ]; + + propagatedBuildInputs = [ + pysimplesoap + ]; + + # Most tests require network access + doCheck = false; + + pythonImportsCheck = [ + "debianbts" ]; meta = with lib; { @@ -34,6 +45,6 @@ buildPythonPackage rec { downloadPage = "https://pypi.org/project/python-debianbts/"; changelog = "https://github.com/venthur/python-debianbts/blob/${version}/CHANGELOG.md"; license = licenses.mit; - maintainers = [ maintainers.nicoo ]; + maintainers = with maintainers; [ nicoo ]; }; } |