Merge pull request #259576 from natsukium/zope-deprecation

python311Packages.zope-deprecation: 4.4.0 -> 5.0; rename from zope_deprecation
This commit is contained in:
Martin Weinelt 2023-10-11 02:01:32 +02:00 committed by GitHub
commit 19658025de
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 56 additions and 34 deletions

View file

@ -1,5 +1,5 @@
{ lib, buildPythonPackage, fetchPypi
, chameleon, colander, iso8601, peppercorn, translationstring, zope_deprecation
, chameleon, colander, iso8601, peppercorn, translationstring, zope-deprecation
, nose, coverage, beautifulsoup4, flaky, pyramid, pytestCheckHook }:
buildPythonPackage rec {
@ -17,7 +17,7 @@ buildPythonPackage rec {
iso8601
peppercorn
translationstring
zope_deprecation
zope-deprecation
];
nativeCheckInputs = [

View file

@ -5,7 +5,7 @@
, markupsafe
, jinja2
, pytestCheckHook
, zope_deprecation
, zope-deprecation
, pyramid
, pythonOlder
}:
@ -27,7 +27,7 @@ buildPythonPackage rec {
markupsafe
jinja2
pyramid
zope_deprecation
zope-deprecation
];
nativeCheckInputs = [

View file

@ -11,7 +11,7 @@
, translationstring
, venusian
, webob
, zope_deprecation
, zope-deprecation
, zope_interface
, pythonOlder
}:
@ -37,7 +37,7 @@ buildPythonPackage rec {
translationstring
venusian
webob
zope_deprecation
zope-deprecation
zope_interface
];

View file

@ -3,7 +3,7 @@
, fetchPypi
, zope_configuration
, zope-deferredimport
, zope_deprecation
, zope-deprecation
, zope_event
, zope-hookable
, zope-i18nmessageid
@ -24,7 +24,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [
zope_configuration
zope-deferredimport
zope_deprecation
zope-deprecation
zope_event
zope-hookable
zope-i18nmessageid

View file

@ -0,0 +1,46 @@
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, setuptools
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "zope-deprecation";
version = "5.0";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
pname = "zope.deprecation";
inherit version;
hash = "sha256-t8MtM5IDayFFxAsxA+cyLbaGYqsJtyZ6/hUyqdk/ZA8=";
};
nativeBuildInputs = [
setuptools
];
nativeCheckInputs = [
pytestCheckHook
];
pytestFlagsArray = [
"src/zope/deprecation/tests.py"
];
pythonImportsCheck = [
"zope.deprecation"
];
meta = with lib; {
homepage = "https://github.com/zopefoundation/zope.deprecation";
description = "Zope Deprecation Infrastructure";
changelog = "https://github.com/zopefoundation/zope.deprecation/blob/${version}/CHANGES.rst";
license = licenses.zpl21;
maintainers = with maintainers; [ domenkozar ];
};
}

View file

@ -1,25 +0,0 @@
{ lib
, buildPythonPackage
, fetchPypi
, zope_testing
}:
buildPythonPackage rec {
pname = "zope.deprecation";
version = "4.4.0";
src = fetchPypi {
inherit pname version;
sha256 = "0d453338f04bacf91bbfba545d8bcdf529aa829e67b705eac8c1a7fdce66e2df";
};
buildInputs = [ zope_testing ];
meta = with lib; {
homepage = "https://github.com/zopefoundation/zope.deprecation";
description = "Zope Deprecation Infrastructure";
license = licenses.zpl20;
maintainers = with maintainers; [ domenkozar ];
};
}

View file

@ -410,5 +410,6 @@ mapAliases ({
zc_buildout_nix = throw "zc_buildout_nix was pinned to a version no longer compatible with other modules";
zope_broken = throw "zope_broken has been removed because it is obsolete and not needed in zodb>=3.10"; # added 2023-07-26
zope_component = zope-component; # added 2023-07-28
zope_deprecation = zope-deprecation; # added 2023-10-07
zope_i18nmessageid = zope-i18nmessageid; # added 2023-07-29
})

View file

@ -15902,7 +15902,7 @@ self: super: with self; {
zope-deferredimport = callPackage ../development/python-modules/zope-deferredimport { };
zope_deprecation = callPackage ../development/python-modules/zope_deprecation { };
zope-deprecation = callPackage ../development/python-modules/zope-deprecation { };
zope_dottedname = callPackage ../development/python-modules/zope_dottedname { };