From ad3d76e2fe64513e1f210048b1ec666dc5d3a220647468fc8bd2f4c31fe14354 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 18 Dec 2023 13:28:50 +0000 Subject: [PATCH] - update to 5.0: * Drop support for Python 2.7, 3.5, 3.6. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.location?expand=0&rev=12 --- python-zope.location.changes | 6 ++++++ python-zope.location.spec | 20 ++++++++++---------- zope.location-4.3.tar.gz | 3 --- zope.location-5.0.tar.gz | 3 +++ 4 files changed, 19 insertions(+), 13 deletions(-) delete mode 100644 zope.location-4.3.tar.gz create mode 100644 zope.location-5.0.tar.gz diff --git a/python-zope.location.changes b/python-zope.location.changes index beceeee..765caf9 100644 --- a/python-zope.location.changes +++ b/python-zope.location.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Dec 18 13:28:34 UTC 2023 - Dirk Müller + +- update to 5.0: + * Drop support for Python 2.7, 3.5, 3.6. + ------------------------------------------------------------------- Fri Jun 9 13:14:19 UTC 2023 - ecsos diff --git a/python-zope.location.spec b/python-zope.location.spec index 6d62ae4..7f27075 100644 --- a/python-zope.location.spec +++ b/python-zope.location.spec @@ -1,7 +1,7 @@ # # spec file # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # Copyright (c) 2013 LISA GmbH, Bingen, Germany. # # All modifications and additions to the file contributed by third parties @@ -28,21 +28,22 @@ %endif %{?sle15_python_module_pythons} Name: python-zope.location%{psuffix} -Version: 4.3 +Version: 5.0 Release: 0 Summary: Zope Location License: ZPL-2.1 Group: Development/Languages/Python -URL: http://www.python.org/pypi/zope.location +URL: https://www.python.org/pypi/zope.location Source: https://files.pythonhosted.org/packages/source/z/zope.location/zope.location-%{version}.tar.gz -BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module wheel} BuildRequires: %{python_module zope.schema >= 4.2.2} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-zope.interface >= 4.0.2 Requires: python-zope.proxy >= 4.0.1 Requires: python-zope.schema >= 4.2.2 -BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildArch: noarch %if %{with test} BuildRequires: %{python_module zope.component >= 4.0.1} BuildRequires: %{python_module zope.configuration} @@ -50,7 +51,6 @@ BuildRequires: %{python_module zope.copy >= 4.0} BuildRequires: %{python_module zope.proxy} BuildRequires: %{python_module zope.testrunner} %endif -BuildArch: noarch %python_subpackages %description @@ -61,11 +61,11 @@ In Zope3, location are special objects that has a structural location. rm -rf src/zope.location.egg-info %build -%python_build +%pyproject_wheel %install %if !%{with test} -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %endif @@ -76,8 +76,8 @@ rm -rf src/zope.location.egg-info %if !%{with test} %files %{python_files} -%defattr(-,root,root,-) -%doc COPYRIGHT.txt LICENSE.txt CHANGES.rst README.rst +%license LICENSE.txt +%doc COPYRIGHT.txt CHANGES.rst README.rst %{python_sitelib}/* %endif diff --git a/zope.location-4.3.tar.gz b/zope.location-4.3.tar.gz deleted file mode 100644 index 71a984c..0000000 --- a/zope.location-4.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:171eedc8a20ec3a8ac27139aa90cf277ff77772ea032b54b6a2701a7927b3ac5 -size 29102 diff --git a/zope.location-5.0.tar.gz b/zope.location-5.0.tar.gz new file mode 100644 index 0000000..698224a --- /dev/null +++ b/zope.location-5.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:016fea934b97dad2b08a64ea7f2fbc3de55dbb074c461f66d871c70bf3aaaea5 +size 29020