python311Packages.zope-proxy: refactor
This commit is contained in:
@@ -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 ];
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user