Merge pull request #260342 from natsukium/zope-lifecycleevent
python311Packages.zope-lifecycleevent: 4.4 -> 5.0; rename from zope_lifecycleevent
This commit is contained in:
commit
515534b7ad
@ -0,0 +1,44 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pythonOlder
|
||||
, setuptools
|
||||
, zope_event
|
||||
, zope_interface
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "zope-lifecycleevent";
|
||||
version = "5.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "zope.lifecycleevent";
|
||||
inherit version;
|
||||
hash = "sha256-6tP7SW52FPm1adFtrUt4BSsKwhh1utjWbKNQNS2bb50=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [ zope_event zope_interface ];
|
||||
|
||||
# namespace colides with local directory
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"zope.lifecycleevent"
|
||||
"zope.interface"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/zopefoundation/zope.lifecycleevent";
|
||||
description = "Object life-cycle events";
|
||||
changelog = "https://github.com/zopefoundation/zope.lifecycleevent/blob/${version}/CHANGES.rst";
|
||||
license = licenses.zpl21;
|
||||
maintainers = with maintainers; [ goibhniu ];
|
||||
};
|
||||
}
|
@ -1,36 +0,0 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, isPy3k
|
||||
, zope_event
|
||||
, zope-component
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "zope.lifecycleevent";
|
||||
version = "4.4";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-9ahU6J/5fe6ke/vqN4u77yeJ0uDMkKHB2lfZChzmfLU=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ zope_event zope-component ];
|
||||
|
||||
# namespace colides with local directory
|
||||
doCheck = false;
|
||||
|
||||
# zope uses pep 420 namespaces for python3, doesn't work with nix + python2
|
||||
pythonImportsCheck = lib.optionals isPy3k [
|
||||
"zope.lifecycleevent"
|
||||
"zope.interface"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/zopefoundation/zope.lifecycleevent";
|
||||
description = "Object life-cycle events";
|
||||
license = licenses.zpl20;
|
||||
maintainers = with maintainers; [ goibhniu ];
|
||||
};
|
||||
|
||||
}
|
@ -432,5 +432,6 @@ mapAliases ({
|
||||
zope_contenttype = zope-contenttype; # added 2023-10-11
|
||||
zope_deprecation = zope-deprecation; # added 2023-10-07
|
||||
zope_i18nmessageid = zope-i18nmessageid; # added 2023-07-29
|
||||
zope_lifecycleevent = zope-lifecycleevent; # added 2023-10-11
|
||||
zope_proxy = zope-proxy; # added 2023-10-07
|
||||
})
|
||||
|
@ -15971,7 +15971,7 @@ self: super: with self; {
|
||||
|
||||
zope_interface = callPackage ../development/python-modules/zope_interface { };
|
||||
|
||||
zope_lifecycleevent = callPackage ../development/python-modules/zope_lifecycleevent { };
|
||||
zope-lifecycleevent = callPackage ../development/python-modules/zope-lifecycleevent { };
|
||||
|
||||
zope_location = callPackage ../development/python-modules/zope_location { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user