Merge pull request #265626 from r-ryantm/auto-update/python310Packages.debianbts
python310Packages.debianbts: 4.0.1 -> 4.0.2
This commit is contained in:
commit
395c5585da
@ -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 ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user