python312Packages.zope-interface: 6.4.post2 -> 7.2
Changelog: https://github.com/zopefoundation/zope.interface/blob/7.2/CHANGES.rst
This commit is contained in:
@@ -1,32 +1,40 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
fetchFromGitHub,
|
||||
setuptools,
|
||||
zope-event,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "zope.interface";
|
||||
version = "6.4.post2";
|
||||
pname = "zope-interface";
|
||||
version = "7.2";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-HCB+b239V0mib1pf2WZgLWuCTsANLfhKfpqSTokzZU4=";
|
||||
src = fetchFromGitHub {
|
||||
owner = "zopefoundation";
|
||||
repo = "zope.interface";
|
||||
tag = version;
|
||||
hash = "sha256-WrS/YHkEmV1G/Scg0xpyu2uFVWTWnEpajqNDvGioVgc=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace-fail "setuptools < 74" "setuptools"
|
||||
'';
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [ zope-event ];
|
||||
pythonImportsCheck = [ "zope.interface" ];
|
||||
|
||||
doCheck = false; # Circular deps.
|
||||
|
||||
meta = with lib; {
|
||||
pythonNamespaces = [ "zope" ];
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/zopefoundation/zope.interface/blob/${version}/CHANGES.rst";
|
||||
description = "Zope.Interface";
|
||||
homepage = "https://github.com/zopefoundation/zope.interface";
|
||||
license = licenses.zpl20;
|
||||
license = lib.licenses.zpl21;
|
||||
maintainers = [ ];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user