From 49917d61f86de979d72db526adcdaadff028331d200688113594353510b3f0b7 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Fri, 29 Dec 2023 12:03:44 +0000 Subject: [PATCH 1/2] - update to 6.0: * Drop support for Python 2.7, 3.5, 3.6. * Add support for Python 3.12. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.hookable?expand=0&rev=33 --- python-zope.hookable.changes | 7 +++++++ python-zope.hookable.spec | 9 +++++---- zope.hookable-5.4.tar.gz | 3 --- zope.hookable-6.0.tar.gz | 3 +++ 4 files changed, 15 insertions(+), 7 deletions(-) delete mode 100644 zope.hookable-5.4.tar.gz create mode 100644 zope.hookable-6.0.tar.gz diff --git a/python-zope.hookable.changes b/python-zope.hookable.changes index 9f5db8b..8de225a 100644 --- a/python-zope.hookable.changes +++ b/python-zope.hookable.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Fri Dec 29 12:02:12 UTC 2023 - Dirk Müller + +- update to 6.0: + * Drop support for Python 2.7, 3.5, 3.6. + * Add support for Python 3.12. + ------------------------------------------------------------------- Wed Jul 26 07:30:49 UTC 2023 - Bernhard Wiedemann diff --git a/python-zope.hookable.spec b/python-zope.hookable.spec index d1b72f8..1becbd2 100644 --- a/python-zope.hookable.spec +++ b/python-zope.hookable.spec @@ -27,14 +27,15 @@ %endif %{?sle15_python_module_pythons} Name: python-zope.hookable%{psuffix} -Version: 5.4 +Version: 6.0 Release: 0 Summary: Zope hookable License: ZPL-2.1 URL: https://github.com/zopefoundation/zope.hookable Source: https://files.pythonhosted.org/packages/source/z/zope.hookable/zope.hookable-%{version}.tar.gz BuildRequires: %{python_module devel} -BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros # SECTION documentation requirements @@ -73,13 +74,13 @@ rm -rf zope.hookable.egg-info %build %if !%{with test} -%python_build +%pyproject_wheel sphinx-build -b html docs build/sphinx/html && rm -r build/sphinx/html/.{buildinfo,doctrees} build/sphinx/html/objects.inv %endif %install %if !%{with test} -%python_install +%pyproject_install %{python_expand rm -f %{buildroot}%{$python_sitearch}/zope/hookable/_zope_hookable.c %fdupes %{buildroot}%{$python_sitearch} } diff --git a/zope.hookable-5.4.tar.gz b/zope.hookable-5.4.tar.gz deleted file mode 100644 index 37a3749..0000000 --- a/zope.hookable-5.4.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:fb601f00ac87e5aa582a81315ed96768ce3513280729d3f51f79312e2b8b94ac -size 25390 diff --git a/zope.hookable-6.0.tar.gz b/zope.hookable-6.0.tar.gz new file mode 100644 index 0000000..a1fe9f5 --- /dev/null +++ b/zope.hookable-6.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1668993d40a7cfdc867843dd5725929e7f83a5b0c195c709af1daef8274f43cb +size 24013 From 48dac8da328e5108cd9a7afb4efd5c9e48b28dcf113a36232a4f36302dcb5695 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Tue, 2 Jan 2024 20:58:00 +0000 Subject: [PATCH 2/2] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.hookable?expand=0&rev=34 --- python-zope.hookable.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/python-zope.hookable.spec b/python-zope.hookable.spec index 1becbd2..562f3d5 100644 --- a/python-zope.hookable.spec +++ b/python-zope.hookable.spec @@ -1,7 +1,7 @@ # # spec file # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # Copyright (c) 2013-2022 LISA GmbH, Bingen, Germany. # # All modifications and additions to the file contributed by third parties @@ -35,6 +35,7 @@ URL: https://github.com/zopefoundation/zope.hookable Source: https://files.pythonhosted.org/packages/source/z/zope.hookable/zope.hookable-%{version}.tar.gz BuildRequires: %{python_module devel} BuildRequires: %{python_module pip} +BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros