From caa35ffe4f1ccdf6681d1b2761de9635b21df479daa48d6c6782a689c1cd5bdc 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 --- .gitattributes | 23 +++++++ .gitignore | 1 + _multibuild | 3 + python-zope.configuration.changes | 104 ++++++++++++++++++++++++++++++ python-zope.configuration.spec | 94 +++++++++++++++++++++++++++ zope.configuration-5.0.1.tar.gz | 3 + zope_configuration-6.0.tar.gz | 3 + 7 files changed, 231 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 _multibuild create mode 100644 python-zope.configuration.changes create mode 100644 python-zope.configuration.spec create mode 100644 zope.configuration-5.0.1.tar.gz create mode 100644 zope_configuration-6.0.tar.gz diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/_multibuild b/_multibuild new file mode 100644 index 0000000..fcc7b97 --- /dev/null +++ b/_multibuild @@ -0,0 +1,3 @@ + + test + diff --git a/python-zope.configuration.changes b/python-zope.configuration.changes new file mode 100644 index 0000000..8adb260 --- /dev/null +++ b/python-zope.configuration.changes @@ -0,0 +1,104 @@ +------------------------------------------------------------------- +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 + +- update to 5.0.1: + * Fix tests when running from a distribution. + +------------------------------------------------------------------- +Fri Dec 29 12:04:03 UTC 2023 - Dirk Müller + +- update to 5.0: + * Drop support for Python 2.7, 3.5, 3.6. + * Add support for Python 3.11. + +------------------------------------------------------------------- +Thu Jun 1 20:36:46 UTC 2023 - Dirk Müller + +- use python3 module python for sle15 + +------------------------------------------------------------------- +Fri Sep 16 22:38:51 UTC 2022 - Yogalakshmi Arunachalam + +- version update to 4.4.1 + * Avoid creating reference cycles through tracebacks in reraise (change imported from six). + * Add support for Python 3.9, 3.10. + +------------------------------------------------------------------- +Tue Mar 24 14:50:27 UTC 2020 - pgajdos@suse.com + +- version update to 4.4.0 + - Ensure a consistent interface resolution order for all objects. See + `issue 49 `_. + - Drop support for Python 3.4. + - Add support for Python 3.8. +- deleted sources + - pre_checkin.sh (not needed) + +------------------------------------------------------------------- +Thu Apr 4 16:05:28 UTC 2019 - Marketa Calabkova + +- update to version 4.3.1 + 4.2.0 + * Reach 100% automated test coverage. + * Add support for Python 3.7. + * Drop support for Python 3.3. + * Drop support for python setup.py test. + * Fix the doctests with zope.schema 4.7 and above. + * More classes and exceptions enhancements. + 4.2.1 + * Fix GlobalObject no longer allowing just a single ‘.’. + 4.2.2 + * Fix GlobalObject no longer allowing multiple leading dots. + * Add __all__ to all modules listing the documented members of + the module. + 4.3.0 + * Simplify exception chaining and nested exception error messages. + 4.3.1 + * Do not break when running the tests from a wheel. +- drop *-doc subpackage, use multibuild instead + +------------------------------------------------------------------- +Sun Jul 16 08:23:42 UTC 2017 - aloisio@gmx.com + +- Update to version 4.1.0 + * Drop support for Python 2.6 and 3.2. + * Add support for Python 3.5 and 3.6. + * Fix the domain of MessageID fields to be a native string. + Previously on Python 3 they were bytes, which meant that they + couldn’t be used to find translation utilities registered by + zope.i18n. See issue 17. + +- Split docs and tests into separate -doc package since running + tests and sometimes building docs had become very messy. + Also see (gh#/zopefoundation/zope.proxy#18) + +- Converted to single-spec + +------------------------------------------------------------------- +Fri May 15 11:28:36 UTC 2015 - benoit.monin@gmx.fr + +- update to version 4.0.3: + * Added explicit support for Python 3.4. +- point the source URL to pypi +- add fdupes as BuildRequires and call it after install +- pass -q to the test to avoid spamming the build log +- rename CHANGES.txt to CHANGES.rst: changed upstream +- rename README.txt to README.rst: changed upstream + +------------------------------------------------------------------- +Mon Jul 29 14:32:46 UTC 2013 - hpj@urpla.net + +- version 4.0.2: initial build + diff --git a/python-zope.configuration.spec b/python-zope.configuration.spec new file mode 100644 index 0000000..c11f199 --- /dev/null +++ b/python-zope.configuration.spec @@ -0,0 +1,94 @@ +# +# spec file for package python-zope.configuration +# +# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2013 LISA GmbH, Bingen, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%global flavor @BUILD_FLAVOR@%{nil} +%if "%{flavor}" == "test" +%define psuffix -test +%bcond_without test +%else +%define psuffix %{nil} +%bcond_with test +%endif +%{?sle15_python_module_pythons} +Name: python-zope.configuration%{psuffix} +Version: 6.0 +Release: 0 +Summary: Zope Configuration Markup Language (ZCML) +License: ZPL-2.1 +URL: http://www.python.org/pypi/zope.configuration +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 +BuildArch: noarch +%if %{with test} +BuildRequires: %{python_module manuel} +BuildRequires: %{python_module zope.i18nmessageid} +BuildRequires: %{python_module zope.interface} +BuildRequires: %{python_module zope.schema >= 4.9} +BuildRequires: %{python_module zope.testing} +BuildRequires: %{python_module zope.testrunner} +%endif +%python_subpackages + +%description +The zope configuration system provides an extensible system for supporting +various kinds of configurations. + +It is based on the idea of configuration directives. Users of the configuration +system provide configuration directives in some language that express +configuration choices. The intent is that the language be pluggable. An XML +language is provided by default. + +%prep +%setup -q -n zope_configuration-%{version} +rm -rf zope.configuration.egg-info + +%build +%pyproject_wheel + +%install +%if !%{with test} +%pyproject_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} +%endif + +%if %{with test} +%check +%python_expand PYTHONPATH=src %{_bindir}/zope-testrunner-%{$python_bin_suffix} -vvv --test-path src +%endif + +%if !%{with test} +%files %{python_files} +%license LICENSE.txt +%doc CHANGES.rst COPYRIGHT.txt README.rst +%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 new file mode 100644 index 0000000..3c62a6e --- /dev/null +++ b/zope.configuration-5.0.1.tar.gz @@ -0,0 +1,3 @@ +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