Unverified Commit 395c5585 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

Merge pull request #265626 from r-ryantm/auto-update/python310Packages.debianbts

python310Packages.debianbts: 4.0.1 -> 4.0.2
parents 3856ec85 f226c9f7
Loading
Loading
Loading
Loading
+24 −13
Original line number Diff line number Diff line
{ 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 ];
  };
}