Unverified Commit 7ef27e14 authored by Emily's avatar Emily Committed by natsukium
Browse files

python3Packages.pkutils: drop

parent 0fa536d5
Loading
Loading
Loading
Loading
+0 −45
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  nose3,
  pythonOlder,
  semver,
}:

buildPythonPackage rec {
  pname = "pkutils";
  version = "3.0.2";
  format = "setuptools";

  disabled = pythonOlder "3.6";

  src = fetchFromGitHub {
    owner = "reubano";
    repo = "pkutils";
    rev = "refs/tags/v${version}";
    hash = "sha256-AK+xX+LPz6IVLZedsqMUm7G28ue0s3pXgIzxS4EHHLE=";
  };

  pythonRelaxDeps = [ "semver" ];


  propagatedBuildInputs = [ semver ];

  nativeCheckInputs = [ nose3 ];

  checkPhase = ''
    runHook preCheck
    nosetests
    runHook postCheck
  '';

  pythonImportsCheck = [ "pkutils" ];

  meta = with lib; {
    description = "Python packaging utility library";
    homepage = "https://github.com/reubano/pkutils/";
    license = licenses.mit;
    maintainers = with maintainers; [ drewrisinger ];
  };
}
+1 −0
Original line number Diff line number Diff line
@@ -360,6 +360,7 @@ mapAliases ({
  pdfposter = throw "pdfposter was promoted to a top-level attribute"; # Added 2023-06-29
  pdfminer = pdfminer-six; # added 2022-05-25
  pep257 = pydocstyle; # added 2022-04-12
  pkutils = throw "pkutils was removed as it was unused and is not applicable to modern Python build tools"; # added 2024-07-28
  poetry = throw "poetry was promoted to a top-level attribute, use poetry-core to build Python packages"; # added 2023-01-09
  poetry2conda = throw "poetry2conda was promoted to a top-level attribute"; # Added 2022-10-02
  Polygon3 = polygon3; # Added 2023-08-08
+0 −2
Original line number Diff line number Diff line
@@ -10454,8 +10454,6 @@ self: super: with self; {
  pyzipper = callPackage ../development/python-modules/pyzipper { };
  pkutils = callPackage ../development/python-modules/pkutils { };
  plac = callPackage ../development/python-modules/plac { };
  plaid-python = callPackage ../development/python-modules/plaid-python { };