From a00a27e37c80ebc518b000dd1e8b40f3fd827d8226a175ac1a3cbf8668aa4b34 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Wed, 16 Apr 2025 02:50:45 +0200 Subject: [PATCH] Sync from SUSE:SLFO:1.1 python-zope.interface revision ce217cf74ab1e69e6b5299da37bc4d4c --- python-zope.interface.changes | 74 ++--------------------------------- python-zope.interface.spec | 31 +++++++++------ zope.interface-6.0.tar.gz | 3 ++ zope_interface-7.1.0.tar.gz | 3 -- 4 files changed, 24 insertions(+), 87 deletions(-) create mode 100644 zope.interface-6.0.tar.gz delete mode 100644 zope_interface-7.1.0.tar.gz diff --git a/python-zope.interface.changes b/python-zope.interface.changes index 5c202ae..c569eb1 100644 --- a/python-zope.interface.changes +++ b/python-zope.interface.changes @@ -1,71 +1,3 @@ -------------------------------------------------------------------- -Mon Oct 14 03:37:17 UTC 2024 - Steve Kowalik - -- Update to 7.1.0: - * Declare support for Python 3.13. - * Fix segmentation faults on Python 3.13. (#323) -- Drop patch fix-testsuite-segfault.patch, included upstream. -- Switch to autosetup macros. - -------------------------------------------------------------------- -Wed Sep 25 13:39:50 UTC 2024 - John Paul Adrian Glaubitz - -- Cherry-pick upstream patch to fix testsuite segfault with Python 3.13 - * fix-testsuite-segfault.patch - -------------------------------------------------------------------- -Sun Sep 8 13:11:24 UTC 2024 - Dirk Müller - -- update to 7.0.3: - * Fix Assertion 'memb->type == T_PYSSIZET' failed. for Python < - 3.12. - * Fix reference-counting bug in C module initialization (broken - in 7.0). - * Fix subclassability of ObjectSpecificationDescriptor (broken - in 7.0). - * Enable heap-based types (PEP 384) for Python >= 3.11. - * Adopt multi-phase module initialization (PEP 489). - * Drop support for Python 3.7. - -------------------------------------------------------------------- -Mon Jun 10 08:29:04 UTC 2024 - Dirk Müller - -- update to 6.4.post2: - * Publish missing Windows wheels, second attempt. - * Publish missing Windows wheels. - * The sdist of version 6.4 was uploaded to PyPI as - zope_interface-6.4.tar.gz instead of - zope.interface-6.4-py2.tar.gz which cannot be installed by - zc.buildout. This release is a re-release of version 6.4 - with the correct sdist name. - * Adjust for incompatible changes in Python 3.13b1. - * Build windows wheels on GHA. - -------------------------------------------------------------------- -Wed May 8 10:59:07 UTC 2024 - Dirk Müller - -- update to 6.3: - * Add preliminary support for Python 3.13 as of 3.13a6. - -------------------------------------------------------------------- -Wed Mar 13 10:01:24 UTC 2024 - Dirk Müller - -- update to 6.2: - * Add preliminary support for Python 3.13 as of 3.13a3. - * Add support to use the pipe (|) syntax for typing.Union. - -------------------------------------------------------------------- -Tue Jan 2 20:59:45 UTC 2024 - Dirk Müller - -- remove python2 specific codepaths - -------------------------------------------------------------------- -Sat Dec 16 08:59:52 UTC 2023 - Dirk Müller - -- update to 6.1: - * Add support for Python 3.12. - * Fix building of the docs for non-final versions. - ------------------------------------------------------------------- Fri May 5 08:44:59 UTC 2023 - Dirk Müller @@ -92,19 +24,19 @@ Thu Apr 13 22:46:07 UTC 2023 - Matej Cepl ------------------------------------------------------------------- Mon Dec 5 13:50:37 UTC 2022 - Yogalakshmi Arunachalam -- Update to version 5.5.2 +- Update to version 5.5.2 * Add support for building arm64 wheels on macOS. ------------------------------------------------------------------- Wed Nov 9 19:57:13 UTC 2022 - Yogalakshmi Arunachalam -- Update to version 5.5.1 +- Update to version 5.5.1 * Add support for final Python 3.11 release. ------------------------------------------------------------------- Sat Oct 29 18:04:04 UTC 2022 - Yogalakshmi Arunachalam -- Update to version 5.5.0 +- Update to version 5.5.0 * Add support for Python 3.10 and 3.11 (as of 3.11.0rc2). * Add missing Trove classifier showing support for Python 3.9. * Add some more entries to zope.interface.interfaces.__all__. diff --git a/python-zope.interface.spec b/python-zope.interface.spec index 7ba1d13..8b4a92a 100644 --- a/python-zope.interface.spec +++ b/python-zope.interface.spec @@ -1,7 +1,7 @@ # -# spec file for package python-zope.interface +# spec file # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -24,30 +24,35 @@ %define psuffix %{nil} %bcond_with test %endif -%global modname zope_interface +%global modname zope.interface +%define oldpython python %{?sle15_python_module_pythons} Name: python-zope.interface%{psuffix} -Version: 7.1.0 +Version: 6.0 Release: 0 Summary: Interfaces for Python License: ZPL-2.1 URL: https://pypi.python.org/pypi/zope.interface -Source: https://files.pythonhosted.org/packages/source/z/%{modname}/%{modname}-%{version}.tar.gz +Source: https://files.pythonhosted.org/packages/source/z/zope.interface/%{modname}-%{version}.tar.gz # needed for tests that try to compile things -BuildRequires: %{python_module devel >= 3.8} -BuildRequires: %{python_module pip} +BuildRequires: %{python_module devel >= 3.7} BuildRequires: %{python_module setuptools} -BuildRequires: %{python_module wheel} # SECTION test requirements %if %{with test} BuildRequires: %{python_module zope.event} -BuildRequires: %{python_module zope.interface = %{version}} +BuildRequires: %{python_module zope.interface} BuildRequires: %{python_module zope.testing} %endif # /SECTION BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-setuptools +%ifpython2 +Provides: %{oldpython}-zopeinterface = %{version} +Obsoletes: %{oldpython}-zopeinterface < %{version} +Provides: %{oldpython}-zope-interface = %{version} +Obsoletes: %{oldpython}-zope-interface < %{version} +%endif %python_subpackages %description @@ -60,16 +65,16 @@ API or contract. So, this package can be considered as implementation of the Design By Contract methodology support in Python. %prep -%autosetup -p1 -n %{modname}-%{version} +%setup -q -n %{modname}-%{version} %build %if !%{with test} -%pyproject_wheel +%python_build %endif %install %if !%{with test} -%pyproject_install +%python_install %python_expand rm %{buildroot}%{$python_sitearch}/zope/interface/_zope_interface_coptimizations.c %python_expand %fdupes %{buildroot}%{$python_sitearch} %endif @@ -84,7 +89,7 @@ cd src %files %{python_files} %license LICENSE.txt COPYRIGHT.txt %doc CHANGES.rst README.rst -%{python_sitearch}/zope.interface-%{version}.dist-info +%{python_sitearch}/zope.interface-%{version}*-info %{python_sitearch}/zope.interface-%{version}*-nspkg.pth %dir %{python_sitearch}/zope %{python_sitearch}/zope/interface diff --git a/zope.interface-6.0.tar.gz b/zope.interface-6.0.tar.gz new file mode 100644 index 0000000..170c567 --- /dev/null +++ b/zope.interface-6.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:aab584725afd10c710b8f1e6e208dbee2d0ad009f57d674cb9d1b3964037275d +size 246297 diff --git a/zope_interface-7.1.0.tar.gz b/zope_interface-7.1.0.tar.gz deleted file mode 100644 index 583a2de..0000000 --- a/zope_interface-7.1.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3f005869a1a05e368965adb2075f97f8ee9a26c61898a9e52a9764d93774f237 -size 300239