14
0

- 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
This commit is contained in:
2024-12-17 05:08:36 +00:00
committed by Git OBS Bridge
parent cca97ffb52
commit 231fa52804
4 changed files with 26 additions and 10 deletions

View File

@@ -1,3 +1,15 @@
-------------------------------------------------------------------
Tue Dec 17 05:07:47 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
- 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 <dmueller@suse.com> Sat Mar 16 13:11:11 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@@ -27,18 +27,19 @@
%endif %endif
%{?sle15_python_module_pythons} %{?sle15_python_module_pythons}
Name: python-zope.configuration%{psuffix} Name: python-zope.configuration%{psuffix}
Version: 5.0.1 Version: 6.0
Release: 0 Release: 0
Summary: Zope Configuration Markup Language (ZCML) Summary: Zope Configuration Markup Language (ZCML)
License: ZPL-2.1 License: ZPL-2.1
Group: Development/Languages/Python
URL: http://www.python.org/pypi/zope.configuration 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 pip}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel} BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-setuptools
Requires: python-zope.i18nmessageid Requires: python-zope.i18nmessageid
Requires: python-zope.interface Requires: python-zope.interface
Requires: python-zope.schema >= 4.9 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. language is provided by default.
%prep %prep
%setup -q -n zope.configuration-%{version} %setup -q -n zope_configuration-%{version}
rm -rf zope.configuration.egg-info rm -rf zope.configuration.egg-info
%build %build
%python_build %pyproject_wheel
%install %install
%if !%{with test} %if !%{with test}
%python_install %pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%endif %endif
@@ -84,7 +85,10 @@ rm -rf zope.configuration.egg-info
%files %{python_files} %files %{python_files}
%license LICENSE.txt %license LICENSE.txt
%doc CHANGES.rst COPYRIGHT.txt README.rst %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 %endif
%changelog %changelog

Binary file not shown.

BIN
zope_configuration-6.0.tar.gz LFS Normal file

Binary file not shown.