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

View File

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

View File

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

View File

@ -3,7 +3,7 @@
, fetchPypi , fetchPypi
, zope_configuration , zope_configuration
, zope-deferredimport , zope-deferredimport
, zope_deprecation , zope-deprecation
, zope_event , zope_event
, zope-hookable , zope-hookable
, zope-i18nmessageid , zope-i18nmessageid
@ -24,7 +24,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [ propagatedBuildInputs = [
zope_configuration zope_configuration
zope-deferredimport zope-deferredimport
zope_deprecation zope-deprecation
zope_event zope_event
zope-hookable zope-hookable
zope-i18nmessageid 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"; 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_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_component = zope-component; # added 2023-07-28
zope_deprecation = zope-deprecation; # added 2023-10-07
zope_i18nmessageid = zope-i18nmessageid; # added 2023-07-29 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-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 { }; zope_dottedname = callPackage ../development/python-modules/zope_dottedname { };