From 4560902d3121c4f0a50227aaa5866f3528f0bf68da10cb35b2b83addb8269d41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Fri, 13 Dec 2024 12:42:43 +0100 Subject: [PATCH] Sync from SUSE:SLFO:Main python-zope.proxy revision f7ea5ac510da993f7c1e750d12fc7069 --- python-zope.proxy.changes | 46 ++++++++++++++++++++++++++++++++------- python-zope.proxy.spec | 26 ++++++++++++---------- zope.proxy-4.6.1.tar.gz | 3 --- zope_proxy-6.1.tar.gz | 3 +++ 4 files changed, 56 insertions(+), 22 deletions(-) delete mode 100644 zope.proxy-4.6.1.tar.gz create mode 100644 zope_proxy-6.1.tar.gz diff --git a/python-zope.proxy.changes b/python-zope.proxy.changes index dcd844e..32e469c 100644 --- a/python-zope.proxy.changes +++ b/python-zope.proxy.changes @@ -1,26 +1,56 @@ +------------------------------------------------------------------- +Mon Oct 28 21:51:48 UTC 2024 - Dirk Müller + +- update to 6.1: + * Respect PURE_PYTHON environment variable set to 0. + * Declare full support for Python 3.13. + * Drop support for Python 3.7. + * Build Windows wheels on GHA. + * Correct return type for wrap_hash (fixes build on i386). + +------------------------------------------------------------------- +Wed Mar 13 10:15:43 UTC 2024 - Dirk Müller + +- update to 5.2: + * Add preliminary support for Python 3.13 as of 3.13a3. + +------------------------------------------------------------------- +Sat Dec 16 08:44:36 UTC 2023 - Dirk Müller + +- update to 5.1: + * Add support for Python 3.12. + * Drop support for Python 2.7, 3.5, 3.6. + * Remove proxying code for names that no longer exist in Python + 3 like ``__long__`` and some others. + +------------------------------------------------------------------- +Fri Jun 9 12:47:26 UTC 2023 - ecsos + +- Add %{?sle15_python_module_pythons} + ------------------------------------------------------------------- Mon Dec 5 13:51:39 UTC 2022 - Yogalakshmi Arunachalam -- Update to version 4.6.1 +- Update to version 4.6.1 * Add support for building arm64 wheels on macOS. ------------------------------------------------------------------- Wed Nov 9 19:58:28 UTC 2022 - Yogalakshmi Arunachalam -- Update to version 4.6.0 +- Update to version 4.6.0 * Add support for Python 3.11. ------------------------------------------------------------------- Sat Oct 29 18:05:28 UTC 2022 - Yogalakshmi Arunachalam -- Update to version 4.5.1 +- Update to version 4.5.1 * Disable unsafe math optimizations in C code. See pull request 53. ------------------------------------------------------------------- Tue Oct 11 17:30:56 UTC 2022 - Yogalakshmi Arunachalam - Update to version 4.5.0 (2021-11-17) - * Add support for Python 3.10. + * Add support for Python 3.10. ------------------------------------------------------------------- Wed Jan 13 01:05:44 UTC 2021 - Benjamin Greiner @@ -45,7 +75,7 @@ Mon Mar 16 14:00:19 UTC 2020 - pgajdos@suse.com Prior to 3.8, it was reserved and ignored in all Python 3 versions. See `issue 36 `_. - + - Remove deprecated use of setuptools features. See `issue 38 `_. @@ -75,8 +105,8 @@ Fri Apr 5 12:14:55 UTC 2019 - Marketa Calabkova * Drop support for Python 3.3. * Drop support for “python setup.py test”. * 100% test coverage. - * Fix indexing pure-Python proxies with slices under Python 3, - and restore the use of __getslice__ (if implemented by the + * Fix indexing pure-Python proxies with slices under Python 3, + and restore the use of __getslice__ (if implemented by the target’s type) under Python 2. - drop *-doc subpackage, use multibuild instead @@ -88,7 +118,7 @@ Fri Sep 22 17:38:51 UTC 2017 - toddrme2178@gmail.com ------------------------------------------------------------------- Mon Sep 18 16:48:55 UTC 2017 - toddrme2178@gmail.com -- Provides/Obsoletes should be on the -devel package since +- Provides/Obsoletes should be on the -devel package since python3-zope-proxy has the devel files. ------------------------------------------------------------------- diff --git a/python-zope.proxy.spec b/python-zope.proxy.spec index 9681627..9125bc5 100644 --- a/python-zope.proxy.spec +++ b/python-zope.proxy.spec @@ -1,7 +1,7 @@ # -# spec file +# spec file for package python-zope.proxy # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2024 SUSE LLC # Copyright (c) 2013 LISA GmbH, Bingen, Germany. # # All modifications and additions to the file contributed by third parties @@ -17,7 +17,6 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} %global flavor @BUILD_FLAVOR@%{nil} %if "%{flavor}" == "test" %define psuffix -test @@ -26,16 +25,19 @@ %define psuffix %{nil} %bcond_with test %endif + +%{?sle15_python_module_pythons} Name: python-zope.proxy%{psuffix} -Version: 4.6.1 +Version: 6.1 Release: 0 Summary: Generic Transparent Proxies License: ZPL-2.1 Group: Development/Languages/Python URL: https://github.com/zopefoundation/zope.proxy -Source: https://files.pythonhosted.org/packages/source/z/zope.proxy/zope.proxy-%{version}.tar.gz -BuildRequires: %{python_module devel} -BuildRequires: %{python_module setuptools} +Source: https://files.pythonhosted.org/packages/source/z/zope.proxy/zope_proxy-%{version}.tar.gz +BuildRequires: %{python_module devel >= 3.8} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module wheel} BuildRequires: %{python_module zope.interface} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -64,15 +66,15 @@ Obsoletes: python-zope-proxy < %{version} This package contains the files needed for binding the %{name} C module. %prep -%setup -q -n zope.proxy-%{version} +%autosetup -p1 -n zope_proxy-%{version} rm -rf zope.proxy.egg-info %build -%python_build +%pyproject_wheel %install %if !%{with test} -%python_install +%pyproject_install %{python_expand rm %{buildroot}%{$python_sitearch}/zope/proxy/_zope_proxy_proxy.c %fdupes %{buildroot}%{$python_sitearch} } @@ -88,7 +90,9 @@ rm -rf zope.proxy.egg-info %license LICENSE.txt %doc COPYRIGHT.txt CHANGES.rst README.rst %exclude %{python_sitearch}/zope/proxy/proxy.h -%{python_sitearch}/* +%{python_sitearch}/zope/proxy +%{python_sitearch}/zope.proxy-%{version}-py*-nspkg.pth +%{python_sitearch}/zope.proxy-%{version}.dist-info %files %{python_files devel} %dir %{python_sysconfig_path include}/zope.proxy diff --git a/zope.proxy-4.6.1.tar.gz b/zope.proxy-4.6.1.tar.gz deleted file mode 100644 index 3baeb3c..0000000 --- a/zope.proxy-4.6.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:fb1513b7a8ed737a3123fd571c244f07eee245d6081a56370b20611d400f0974 -size 49947 diff --git a/zope_proxy-6.1.tar.gz b/zope_proxy-6.1.tar.gz new file mode 100644 index 0000000..f4743ec --- /dev/null +++ b/zope_proxy-6.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9b70bf787fcbd3ecb86ba886d71e5cd857da0d6dbe2fcf2b6c24774f24747e2e +size 43823