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

Merge pull request #315268 from fabaff/aioshutil-bump

python312Packages.aioshutil: 1.3 -> 1.4
parents 0767fc87 2ce35db1
Loading
Loading
Loading
Loading
+11 −11
Original line number Diff line number Diff line
@@ -10,18 +10,23 @@

buildPythonPackage rec {
  pname = "aioshutil";
  version = "1.3";
  format = "pyproject";
  version = "1.4";
  pyproject = true;

  disabled = pythonOlder "3.7";

  src = fetchFromGitHub {
    owner = "kumaraditya303";
    repo = pname;
    rev = "v${version}";
    hash = "sha256-XIGjiLjoyS/7vUDIyBPvHNMyHOBa0gsg/c/vGgrhZAg=";
    repo = "aioshutil";
    rev = "refs/tags/v${version}";
    hash = "sha256-OGxD7GusRcHpz7FdUpa/dJ6/jIAVexbTvXfouVw0C+I=";
  };

  postPatch = ''
    substituteInPlace setup.cfg \
      --replace-fail " --cov aioshutil --cov-report xml" ""
  '';

  nativeBuildInputs = [ setuptools-scm ];

  nativeCheckInputs = [
@@ -29,17 +34,12 @@ buildPythonPackage rec {
    pytestCheckHook
  ];

  postPatch = ''
    substituteInPlace setup.cfg \
      --replace " --cov aioshutil --cov-report xml" ""
  '';

  pythonImportsCheck = [ "aioshutil" ];

  meta = with lib; {
    description = "Asynchronous version of function of shutil module";
    homepage = "https://github.com/kumaraditya303/aioshutil";
    license = with licenses; [ bsd3 ];
    license = licenses.bsd3;
    maintainers = with maintainers; [ fab ];
  };
}