From 231fa52804bd77d972a2e7c92be8b923910b03f84f7633d19bb92fd2b2c501c7 Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Tue, 17 Dec 2024 05:08:36 +0000 Subject: [PATCH] - Update to 6.0: * Add support for checking environment variables in zcml conditions. Use envvar or not-envvar. not-envvar is true when the variable is not set, is empty, or has one of the usual 'false' values like '0'. * Add support for Python 3.12, 3.13. * Drop support for Python 3.7. - Switch to pyproject macros. - No more greedy globs in %files. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.configuration?expand=0&rev=21 --- python-zope.configuration.changes | 12 ++++++++++++ python-zope.configuration.spec | 18 +++++++++++------- zope.configuration-5.0.1.tar.gz | 3 --- zope_configuration-6.0.tar.gz | 3 +++ 4 files changed, 26 insertions(+), 10 deletions(-) delete mode 100644 zope.configuration-5.0.1.tar.gz create mode 100644 zope_configuration-6.0.tar.gz diff --git a/python-zope.configuration.changes b/python-zope.configuration.changes index 30bc968..8adb260 100644 --- a/python-zope.configuration.changes +++ b/python-zope.configuration.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Tue Dec 17 05:07:47 UTC 2024 - Steve Kowalik + +- Update to 6.0: + * Add support for checking environment variables in zcml conditions. Use + envvar or not-envvar. not-envvar is true when the variable is not set, + is empty, or has one of the usual 'false' values like '0'. + * Add support for Python 3.12, 3.13. + * Drop support for Python 3.7. +- Switch to pyproject macros. +- No more greedy globs in %files. + ------------------------------------------------------------------- Sat Mar 16 13:11:11 UTC 2024 - Dirk Müller diff --git a/python-zope.configuration.spec b/python-zope.configuration.spec index b9c4ef3..c11f199 100644 --- a/python-zope.configuration.spec +++ b/python-zope.configuration.spec @@ -27,18 +27,19 @@ %endif %{?sle15_python_module_pythons} Name: python-zope.configuration%{psuffix} -Version: 5.0.1 +Version: 6.0 Release: 0 Summary: Zope Configuration Markup Language (ZCML) License: ZPL-2.1 -Group: Development/Languages/Python URL: http://www.python.org/pypi/zope.configuration -Source: https://files.pythonhosted.org/packages/source/z/zope.configuration/zope.configuration-%{version}.tar.gz +Source: https://files.pythonhosted.org/packages/source/z/zope.configuration/zope_configuration-%{version}.tar.gz +BuildRequires: %{python_module base >= 3.8} BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros +Requires: python-setuptools Requires: python-zope.i18nmessageid Requires: python-zope.interface Requires: python-zope.schema >= 4.9 @@ -63,15 +64,15 @@ configuration choices. The intent is that the language be pluggable. An XML language is provided by default. %prep -%setup -q -n zope.configuration-%{version} +%setup -q -n zope_configuration-%{version} rm -rf zope.configuration.egg-info %build -%python_build +%pyproject_wheel %install %if !%{with test} -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %endif @@ -84,7 +85,10 @@ rm -rf zope.configuration.egg-info %files %{python_files} %license LICENSE.txt %doc CHANGES.rst COPYRIGHT.txt README.rst -%{python_sitelib}/* +%dir %{python_sitelib}/zope +%{python_sitelib}/zope/configuration +%{python_sitelib}/zope.configuration-%{version}.dist-info +%{python_sitelib}/zope.configuration-6.0-*-nspkg.pth %endif %changelog diff --git a/zope.configuration-5.0.1.tar.gz b/zope.configuration-5.0.1.tar.gz deleted file mode 100644 index 3c62a6e..0000000 --- a/zope.configuration-5.0.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f35877ead5e998036385d2ddc46919eabc998e699c05987964f171ad8dd9271b -size 83327 diff --git a/zope_configuration-6.0.tar.gz b/zope_configuration-6.0.tar.gz new file mode 100644 index 0000000..5dc5482 --- /dev/null +++ b/zope_configuration-6.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:da1b879bd41138fb809e341b3cbd1e38f32b88f0cc88ee7e0f80a5aa25e68cfe +size 84258