Unverified Commit 1ec495d5 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

Merge pull request #253814 from fabaff/aiorecollect-bump

python311Packages.aiorecollect: 2023.08.0 -> 2023.09.0
parents 28e74f91 bda16445
Loading
Loading
Loading
Loading
+5 −19
Original line number Diff line number Diff line
@@ -13,33 +13,18 @@

buildPythonPackage rec {
  pname = "aiorecollect";
  version = "2023.08.0";
  version = "2023.09.0";
  format = "pyproject";

  disabled = pythonOlder "3.7";
  disabled = pythonOlder "3.9";

  src = fetchFromGitHub {
    owner = "bachya";
    repo = pname;
    rev = version;
    hash = "sha256-oTkWirq3w0DgQWWe0ziK+ry4pg6j6SQbBESLG4xgDE4=";
    rev = "refs/tags/${version}";
    hash = "sha256-45LgfCA8037GqP4WfEjE4hj2YdKUGu2hGrQ/f0r1PAI=";
  };

  patches = [
    # This patch removes references to setuptools and wheel that are no longer
    # necessary and changes poetry to poetry-core, so that we don't need to add
    # unnecessary nativeBuildInputs.
    #
    #   https://github.com/bachya/aiorecollect/pull/207
    #
    (fetchpatch {
      name = "clean-up-dependencies.patch";
      url = "https://github.com/bachya/aiorecollect/commit/0bfddead1c1b176be4d599b8e12ed608eac97b8b.patch";
      hash = "sha256-w/LAtyuyYsAAukDeIy8XLlp9QrydC1Wmi2zxEj1Zdm8=";
      includes = [ "pyproject.toml" ];
    })
  ];

  postPatch = ''
    # this is not used directly by the project
    sed -i '/certifi =/d' pyproject.toml
@@ -80,6 +65,7 @@ buildPythonPackage rec {
      and more.
    '';
    homepage = "https://github.com/bachya/aiorecollect";
    changelog = "https://github.com/bachya/aiorecollect/releases/tag/${version}";
    license = with licenses; [ mit ];
    maintainers = with maintainers; [ fab ];
  };