Merge pull request #266973 from natsukium/zope-exceptions

python311Packages.zope-exceptions: 4.6 -> 5.0.1; rename from zope_exceptions
This commit is contained in:
OTABI Tomoya 2023-12-31 10:44:04 +09:00 committed by GitHub
commit 8c22a6517c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 47 additions and 31 deletions

View file

@ -0,0 +1,43 @@
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, setuptools
, zope_interface
}:
buildPythonPackage rec {
pname = "zope-exceptions";
version = "5.0.1";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
pname = "zope.exceptions";
inherit version;
hash = "sha256-MPxT5TOfX72dEzXg97afd/FePwbisXt/t++SXMJP3ZY=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [ zope_interface ];
# circular deps
doCheck = false;
pythonImportsCheck = [
"zope.exceptions"
];
meta = with lib; {
description = "Exception interfaces and implementations";
homepage = "https://pypi.python.org/pypi/zope.exceptions";
changelog = "https://github.com/zopefoundation/zope.exceptions/blob/${version}/CHANGES.rst";
license = licenses.zpl21;
maintainers = with maintainers; [ goibhniu ];
};
}

View file

@ -1,28 +0,0 @@
{ lib
, buildPythonPackage
, fetchPypi
, zope_interface
}:
buildPythonPackage rec {
pname = "zope.exceptions";
version = "4.6";
src = fetchPypi {
inherit pname version;
hash = "sha256-YZ0kpMZb7Zez3QUV5zLoK2nxVdQsyUlV0b6MKCiGg80=";
};
propagatedBuildInputs = [ zope_interface ];
# circular deps
doCheck = false;
meta = with lib; {
description = "Exception interfaces and implementations";
homepage = "https://pypi.python.org/pypi/zope.exceptions";
license = licenses.zpl20;
maintainers = with maintainers; [ goibhniu ];
};
}

View file

@ -2,7 +2,7 @@
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, zope_interface , zope_interface
, zope_exceptions , zope-exceptions
, zope-testing , zope-testing
, six , six
}: }:
@ -17,7 +17,7 @@ buildPythonPackage rec {
hash = "sha256-1r1y9E6jLKpBW5bP4UFSsnhjF67xzW9IqCe2Le8Fj9Q="; hash = "sha256-1r1y9E6jLKpBW5bP4UFSsnhjF67xzW9IqCe2Le8Fj9Q=";
}; };
propagatedBuildInputs = [ zope_interface zope_exceptions zope-testing six ]; propagatedBuildInputs = [ zope_interface zope-exceptions zope-testing six ];
doCheck = false; # custom test modifies sys.path doCheck = false; # custom test modifies sys.path

View file

@ -476,6 +476,7 @@ mapAliases ({
zope_contenttype = zope-contenttype; # added 2023-10-11 zope_contenttype = zope-contenttype; # added 2023-10-11
zope_deprecation = zope-deprecation; # added 2023-10-07 zope_deprecation = zope-deprecation; # added 2023-10-07
zope_dottedname = zope-dottedname; # added 2023-11-12 zope_dottedname = zope-dottedname; # added 2023-11-12
zope_exceptions = zope-exceptions; # added 2023-10-11
zope_i18nmessageid = zope-i18nmessageid; # added 2023-07-29 zope_i18nmessageid = zope-i18nmessageid; # added 2023-07-29
zope_lifecycleevent = zope-lifecycleevent; # added 2023-10-11 zope_lifecycleevent = zope-lifecycleevent; # added 2023-10-11
zope_proxy = zope-proxy; # added 2023-10-07 zope_proxy = zope-proxy; # added 2023-10-07

View file

@ -16443,7 +16443,7 @@ self: super: with self; {
zope_event = callPackage ../development/python-modules/zope_event { }; zope_event = callPackage ../development/python-modules/zope_event { };
zope_exceptions = callPackage ../development/python-modules/zope_exceptions { }; zope-exceptions = callPackage ../development/python-modules/zope-exceptions { };
zope_filerepresentation = callPackage ../development/python-modules/zope_filerepresentation { }; zope_filerepresentation = callPackage ../development/python-modules/zope_filerepresentation { };