From 7b525716d4b83397a2a334ed9b93d3daa489508f43a6efc09769597e179b0f1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Wed, 18 Dec 2024 16:18:14 +0100 Subject: [PATCH] Sync from SUSE:SLFO:Main python-zope.hookable revision 9310a745e432ce8e8448d874d4d6d33e --- python-zope.hookable.changes | 19 ------------------- python-zope.hookable.spec | 16 +++++++--------- zope.hookable-5.4.tar.gz | 3 +++ zope_hookable-7.0.tar.gz | 3 --- 4 files changed, 10 insertions(+), 31 deletions(-) create mode 100644 zope.hookable-5.4.tar.gz delete mode 100644 zope_hookable-7.0.tar.gz diff --git a/python-zope.hookable.changes b/python-zope.hookable.changes index ed1c08d..9f5db8b 100644 --- a/python-zope.hookable.changes +++ b/python-zope.hookable.changes @@ -1,22 +1,3 @@ -------------------------------------------------------------------- -Mon Oct 28 21:47:49 UTC 2024 - Dirk Müller - -- update to 7.0: - * C extension now enables multi-phase module initialization - (PEP 489). For CPython >= 3.11, the hookable type is now a - heap-allocated type. See: - https://docs.python.org/3.13/howto/isolating-extensions.html - * Drop support for Python 3.7. - * Add support for Python 3.13. - * Build windows wheels on GHA. - -------------------------------------------------------------------- -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 b548859..d1b72f8 100644 --- a/python-zope.hookable.spec +++ b/python-zope.hookable.spec @@ -1,7 +1,7 @@ # -# spec file for package python-zope.hookable +# spec file # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2023 SUSE LLC # Copyright (c) 2013-2022 LISA GmbH, Bingen, Germany. # # All modifications and additions to the file contributed by third parties @@ -27,16 +27,14 @@ %endif %{?sle15_python_module_pythons} Name: python-zope.hookable%{psuffix} -Version: 7.0 +Version: 5.4 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 +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 # SECTION documentation requirements @@ -70,18 +68,18 @@ BuildArch: noarch This package contains documentation files for %{name}. %prep -%autosetup -p1 -n zope_hookable-%{version} +%setup -q -n zope.hookable-%{version} rm -rf zope.hookable.egg-info %build %if !%{with test} -%pyproject_wheel +%python_build 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} -%pyproject_install +%python_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 new file mode 100644 index 0000000..37a3749 --- /dev/null +++ b/zope.hookable-5.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fb601f00ac87e5aa582a81315ed96768ce3513280729d3f51f79312e2b8b94ac +size 25390 diff --git a/zope_hookable-7.0.tar.gz b/zope_hookable-7.0.tar.gz deleted file mode 100644 index cbf4a84..0000000 --- a/zope_hookable-7.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ffd25a6706789752f307d1ee65d23d47436ebf30d1095f14584ebbd03bf921f3 -size 21392