python313Packages.btrees: modernize
This commit is contained in:
@@ -7,22 +7,22 @@
|
|||||||
transaction,
|
transaction,
|
||||||
zope-testrunner,
|
zope-testrunner,
|
||||||
python,
|
python,
|
||||||
pythonOlder,
|
setuptools,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "btrees";
|
pname = "btrees";
|
||||||
version = "6.2";
|
version = "6.2";
|
||||||
format = "setuptools";
|
pyproject = true;
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
hash = "sha256-SnxwN2aEfrD6tYrpudacyAWIy/1uNFcrur1FU+B5/is=";
|
hash = "sha256-SnxwN2aEfrD6tYrpudacyAWIy/1uNFcrur1FU+B5/is=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
build-system = [ setuptools ];
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
persistent
|
persistent
|
||||||
zope-interface
|
zope-interface
|
||||||
];
|
];
|
||||||
@@ -34,7 +34,9 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
runHook preCheck
|
runHook preCheck
|
||||||
|
|
||||||
${python.interpreter} -m zope.testrunner --test-path=src --auto-color --auto-progress
|
${python.interpreter} -m zope.testrunner --test-path=src --auto-color --auto-progress
|
||||||
|
|
||||||
runHook postCheck
|
runHook postCheck
|
||||||
'';
|
'';
|
||||||
|
|
||||||
@@ -48,6 +50,7 @@ buildPythonPackage rec {
|
|||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Scalable persistent components";
|
description = "Scalable persistent components";
|
||||||
homepage = "http://packages.python.org/BTrees";
|
homepage = "http://packages.python.org/BTrees";
|
||||||
|
changelog = "https://github.com/zopefoundation/BTrees/blob/${version}/CHANGES.rst";
|
||||||
license = licenses.zpl21;
|
license = licenses.zpl21;
|
||||||
maintainers = [ ];
|
maintainers = [ ];
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user