python312Packages.methodtools: init at 0.4.7

This commit is contained in:
Peder Bergebakken Sundt 2024-08-12 14:48:59 +02:00
parent 20e1653747
commit be71cac470
2 changed files with 43 additions and 0 deletions

View File

@ -0,0 +1,41 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
wirerope,
pytestCheckHook,
pytest-cov-stub,
}:
buildPythonPackage rec {
pname = "methodtools";
version = "0.4.7";
pyproject = true;
src = fetchFromGitHub {
owner = "youknowone";
repo = "methodtools";
rev = version;
hash = "sha256-Y5VdYVSb3A+32waUUoIDDGW+AhRapN71pebTTlJC0es=";
};
build-system = [ setuptools ];
dependencies = [ wirerope ];
pythonImportsCheck = [ "methodtools" ];
nativeCheckInputs = [
pytestCheckHook
pytest-cov-stub
];
meta = with lib; {
description = "Expands the functools lru_cache to classes";
homepage = "https://github.com/youknowone/methodtools";
changelog = "https://github.com/youknowone/methodtools/releases/tag/${version}";
license = licenses.bsd2WithViews;
maintainers = with maintainers; [ pbsds ];
};
}

View File

@ -7685,6 +7685,8 @@ self: super: with self; {
meteofrance-api = callPackage ../development/python-modules/meteofrance-api { };
methodtools = callPackage ../development/python-modules/methodtools { };
mezzanine = callPackage ../development/python-modules/mezzanine { };
mf2py = callPackage ../development/python-modules/mf2py { };