python312Packages.backports-cached-property: remove
backports-cached-property has been removed, since we no longer need to backport to python3.7
This commit is contained in:
parent
9f4b11ccd2
commit
a45548f79e
@ -1,45 +0,0 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
pythonOlder,
|
||||
setuptools-scm,
|
||||
wheel,
|
||||
pytestCheckHook,
|
||||
pytest-mock,
|
||||
pytest-sugar,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "backports-cached-property";
|
||||
version = "1.0.2";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "penguinolog";
|
||||
repo = "backports.cached_property";
|
||||
rev = version;
|
||||
hash = "sha256-rdgKbVQaELilPrN4ve8RbbaLiT14Xex0esy5vUX2ZBc=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ setuptools-scm ];
|
||||
|
||||
propagatedBuildInputs = [ wheel ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
pytest-mock
|
||||
pytest-sugar
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "backports.cached_property" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python 3.8 functools.cached_property backport to python 3.6";
|
||||
homepage = "https://github.com/penguinolog/backports.cached_property";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ izorkin ];
|
||||
};
|
||||
}
|
@ -1,7 +1,6 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
backports-cached-property,
|
||||
blessed,
|
||||
buildPythonPackage,
|
||||
cwcwidth,
|
||||
@ -29,7 +28,7 @@ buildPythonPackage rec {
|
||||
propagatedBuildInputs = [
|
||||
blessed
|
||||
cwcwidth
|
||||
] ++ lib.optionals (pythonOlder "3.8") [ backports-cached-property ];
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pyte
|
||||
|
@ -68,6 +68,7 @@ mapAliases ({
|
||||
awkward0 = throw "awkward0 has been removed, use awkward instead"; # added 2022-12-13
|
||||
azure-functions-devops-build = throw "azure-functions-devops-build has been removed, because it is abandoned"; # added 2024-10-04
|
||||
Babel = babel; # added 2022-05-06
|
||||
backports-cached-property = throw "backports-cached-property has been removed, since we no longer need to backport to python3.7"; # added 2024-11-12
|
||||
backports-shutil-get-terminal-size = throw "backports-shutil-get-terminal-size has been removed, since we no longer need to backport to python3.2"; # added 2024-11-12
|
||||
backports-shutil-which = throw "backports-shutil-which has been removed, since we no longer need to backport to python3.2"; # added 2024-11-12
|
||||
backports-zoneinfo = throw "backports-zoneinfo has been removed, since we no longer need to backport to python3.8"; # added 2024-11-12
|
||||
|
@ -1432,8 +1432,6 @@ self: super: with self; {
|
||||
|
||||
backoff = callPackage ../development/python-modules/backoff { };
|
||||
|
||||
backports-cached-property = callPackage ../development/python-modules/backports-cached-property { };
|
||||
|
||||
backports-datetime-fromisoformat = callPackage ../development/python-modules/backports-datetime-fromisoformat { };
|
||||
|
||||
backports-entry-points-selectable = callPackage ../development/python-modules/backports-entry-points-selectable { };
|
||||
|
Loading…
Reference in New Issue
Block a user