Merge pull request #266888 from natsukium/zope-configuration
python311Packages.zope-configuration: 4.4.1 -> 5.0; rename frome zope_configuration
This commit is contained in:
commit
01e62f661f
6 changed files with 68 additions and 37 deletions
|
@ -1,7 +1,7 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, zope_configuration
|
||||
, zope-configuration
|
||||
, zope-deferredimport
|
||||
, zope-deprecation
|
||||
, zope_event
|
||||
|
@ -22,7 +22,7 @@ buildPythonPackage rec {
|
|||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
zope_configuration
|
||||
zope-configuration
|
||||
zope-deferredimport
|
||||
zope-deprecation
|
||||
zope_event
|
||||
|
|
|
@ -0,0 +1,63 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pythonOlder
|
||||
, setuptools
|
||||
, zope-i18nmessageid
|
||||
, zope_interface
|
||||
, zope_schema
|
||||
, pytestCheckHook
|
||||
, zope_testing
|
||||
, zope_testrunner
|
||||
, manuel
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "zope-configuration";
|
||||
version = "5.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "zope.configuration";
|
||||
inherit version;
|
||||
hash = "sha256-I0tKGMcfazub9rzyJSZLrgFJrGjeoHsHLw9pmkzsJuc=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
manuel
|
||||
pytestCheckHook
|
||||
zope_testing
|
||||
zope_testrunner
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
zope-i18nmessageid
|
||||
zope_interface
|
||||
zope_schema
|
||||
];
|
||||
|
||||
# Need to investigate how to run the tests with zope-testrunner
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"zope.configuration"
|
||||
];
|
||||
|
||||
pythonNamespaces = [
|
||||
"zope"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Zope Configuration Markup Language (ZCML)";
|
||||
homepage = "https://github.com/zopefoundation/zope.configuration";
|
||||
changelog = "https://github.com/zopefoundation/zope.configuration/blob/${version}/CHANGES.rst";
|
||||
license = licenses.zpl21;
|
||||
maintainers = with maintainers; [ goibhniu ];
|
||||
};
|
||||
}
|
|
@ -1,33 +0,0 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, zope-i18nmessageid
|
||||
, zope_schema
|
||||
, zope_testrunner
|
||||
, manuel
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "zope.configuration";
|
||||
version = "4.4.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-giPqSvU5hmznqccwrH6xjlHRfrUVk6p3c7NZPI1tdgg=";
|
||||
};
|
||||
|
||||
nativeCheckInputs = [ zope_testrunner manuel ];
|
||||
|
||||
propagatedBuildInputs = [ zope-i18nmessageid zope_schema ];
|
||||
|
||||
# Need to investigate how to run the tests with zope-testrunner
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Zope Configuration Markup Language (ZCML)";
|
||||
homepage = "https://github.com/zopefoundation/zope.configuration";
|
||||
license = licenses.zpl20;
|
||||
maintainers = with maintainers; [ goibhniu ];
|
||||
};
|
||||
|
||||
}
|
|
@ -34,7 +34,7 @@ buildPythonPackage rec {
|
|||
requests
|
||||
sqlalchemy
|
||||
zope-component
|
||||
zope_configuration
|
||||
zope-configuration
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
|
|
|
@ -467,6 +467,7 @@ 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_configuration = zope-configuration; # added 2023-11-12
|
||||
zope_contenttype = zope-contenttype; # added 2023-10-11
|
||||
zope_deprecation = zope-deprecation; # added 2023-10-07
|
||||
zope_dottedname = zope-dottedname; # added 2023-11-12
|
||||
|
|
|
@ -16189,7 +16189,7 @@ self: super: with self; {
|
|||
|
||||
zope-component = callPackage ../development/python-modules/zope-component { };
|
||||
|
||||
zope_configuration = callPackage ../development/python-modules/zope_configuration { };
|
||||
zope-configuration = callPackage ../development/python-modules/zope-configuration { };
|
||||
|
||||
zope-contenttype = callPackage ../development/python-modules/zope-contenttype { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue