Unverified Commit 58b0faf3 authored by natsukium's avatar natsukium
Browse files

python311Packages.zope-lifecycleevent: refactor

parent 136c2e9b
Loading
Loading
Loading
Loading
+10 −4
Original line number Diff line number Diff line
@@ -2,13 +2,15 @@
, buildPythonPackage
, fetchPypi
, isPy3k
, setuptools
, zope_event
, zope-component
, zope_interface
}:

buildPythonPackage rec {
  pname = "zope-lifecycleevent";
  version = "4.4";
  pyproject = true;

  src = fetchPypi {
    pname = "zope.lifecycleevent";
@@ -16,7 +18,11 @@ buildPythonPackage rec {
    hash = "sha256-9ahU6J/5fe6ke/vqN4u77yeJ0uDMkKHB2lfZChzmfLU=";
  };

  propagatedBuildInputs = [ zope_event zope-component ];
  nativeBuildInputs = [
    setuptools
  ];

  propagatedBuildInputs = [ zope_event zope_interface ];

  # namespace colides with local directory
  doCheck = false;
@@ -30,8 +36,8 @@ buildPythonPackage rec {
  meta = with lib; {
    homepage = "https://github.com/zopefoundation/zope.lifecycleevent";
    description = "Object life-cycle events";
    license = licenses.zpl20;
    changelog = "https://github.com/zopefoundation/zope.lifecycleevent/blob/${version}/CHANGES.rst";
    license = licenses.zpl21;
    maintainers = with maintainers; [ goibhniu ];
  };

}