python311Packages.zope-proxy: refactor

This commit is contained in:
natsukium
2023-10-07 22:39:51 +09:00
parent 55a68ede17
commit afb49a7626
@@ -1,12 +1,17 @@
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, setuptools
, zope_interface
}:
buildPythonPackage rec {
pname = "zope-proxy";
version = "5.0.0";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
pname = "zope.proxy";
@@ -14,16 +19,24 @@ buildPythonPackage rec {
hash = "sha256-b6RMl6QStNxR4vX9Tcc8W9SZ01KA+IzSvNJviuHkV3s=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [ zope_interface ];
# circular deps
doCheck = false;
pythonImportsCheck = [
"zope.proxy"
];
meta = with lib; {
homepage = "https://github.com/zopefoundation/zope.proxy";
description = "Generic Transparent Proxies";
license = licenses.zpl20;
changelog = "https://github.com/zopefoundation/zope.proxy/blob/${version}/CHANGES.rst";
license = licenses.zpl21;
maintainers = with maintainers; [ goibhniu ];
};
}