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

python313Packages.btrees: modernize

parent feedb2b7
Loading
Loading
Loading
Loading
+8 −5
Original line number Diff line number Diff line
@@ -7,22 +7,22 @@
  transaction,
  zope-testrunner,
  python,
  pythonOlder,
  setuptools,
}:

buildPythonPackage rec {
  pname = "btrees";
  version = "6.2";
  format = "setuptools";

  disabled = pythonOlder "3.7";
  pyproject = true;

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-SnxwN2aEfrD6tYrpudacyAWIy/1uNFcrur1FU+B5/is=";
  };

  propagatedBuildInputs = [
  build-system = [ setuptools ];

  dependencies = [
    persistent
    zope-interface
  ];
@@ -34,7 +34,9 @@ buildPythonPackage rec {

  checkPhase = ''
    runHook preCheck

    ${python.interpreter} -m zope.testrunner --test-path=src --auto-color --auto-progress

    runHook postCheck
  '';

@@ -48,6 +50,7 @@ buildPythonPackage rec {
  meta = with lib; {
    description = "Scalable persistent components";
    homepage = "http://packages.python.org/BTrees";
    changelog = "https://github.com/zopefoundation/BTrees/blob/${version}/CHANGES.rst";
    license = licenses.zpl21;
    maintainers = [ ];
  };