forked from pool/python-zope.proxy
Accepting request 1133582 from devel:languages:python
- 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.
- Update to version 4.6.1
- Update to version 4.6.0
- Update to version 4.5.1
* Add support for Python 3.10.
* Fix indexing pure-Python proxies with slices under Python 3,
and restore the use of __getslice__ (if implemented by the
- Provides/Obsoletes should be on the -devel package since
OBS-URL: https://build.opensuse.org/request/show/1133582
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-zope.proxy?expand=0&rev=16
This commit is contained in:
@@ -1,3 +1,12 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Dec 16 08:44:36 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- 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 <ecsos@opensuse.org>
|
Fri Jun 9 12:47:26 UTC 2023 - ecsos <ecsos@opensuse.org>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file
|
# spec file
|
||||||
#
|
#
|
||||||
# Copyright (c) 2022 SUSE LLC
|
# Copyright (c) 2023 SUSE LLC
|
||||||
# Copyright (c) 2013 LISA GmbH, Bingen, Germany.
|
# Copyright (c) 2013 LISA GmbH, Bingen, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
@@ -17,7 +17,6 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%{?sle15_python_module_pythons}
|
|
||||||
%global flavor @BUILD_FLAVOR@%{nil}
|
%global flavor @BUILD_FLAVOR@%{nil}
|
||||||
%if "%{flavor}" == "test"
|
%if "%{flavor}" == "test"
|
||||||
%define psuffix -test
|
%define psuffix -test
|
||||||
@@ -26,16 +25,19 @@
|
|||||||
%define psuffix %{nil}
|
%define psuffix %{nil}
|
||||||
%bcond_with test
|
%bcond_with test
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-zope.proxy%{psuffix}
|
Name: python-zope.proxy%{psuffix}
|
||||||
Version: 4.6.1
|
Version: 5.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Generic Transparent Proxies
|
Summary: Generic Transparent Proxies
|
||||||
License: ZPL-2.1
|
License: ZPL-2.1
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
URL: https://github.com/zopefoundation/zope.proxy
|
URL: https://github.com/zopefoundation/zope.proxy
|
||||||
Source: https://files.pythonhosted.org/packages/source/z/zope.proxy/zope.proxy-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/z/zope.proxy/zope.proxy-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module devel}
|
BuildRequires: %{python_module devel >= 3.8}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module pip}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: %{python_module zope.interface}
|
BuildRequires: %{python_module zope.interface}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
@@ -68,11 +70,11 @@ This package contains the files needed for binding the %{name} C module.
|
|||||||
rm -rf zope.proxy.egg-info
|
rm -rf zope.proxy.egg-info
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%if !%{with test}
|
%if !%{with test}
|
||||||
%python_install
|
%pyproject_install
|
||||||
%{python_expand rm %{buildroot}%{$python_sitearch}/zope/proxy/_zope_proxy_proxy.c
|
%{python_expand rm %{buildroot}%{$python_sitearch}/zope/proxy/_zope_proxy_proxy.c
|
||||||
%fdupes %{buildroot}%{$python_sitearch}
|
%fdupes %{buildroot}%{$python_sitearch}
|
||||||
}
|
}
|
||||||
@@ -88,7 +90,9 @@ rm -rf zope.proxy.egg-info
|
|||||||
%license LICENSE.txt
|
%license LICENSE.txt
|
||||||
%doc COPYRIGHT.txt CHANGES.rst README.rst
|
%doc COPYRIGHT.txt CHANGES.rst README.rst
|
||||||
%exclude %{python_sitearch}/zope/proxy/proxy.h
|
%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}
|
%files %{python_files devel}
|
||||||
%dir %{python_sysconfig_path include}/zope.proxy
|
%dir %{python_sysconfig_path include}/zope.proxy
|
||||||
|
|||||||
BIN
zope.proxy-4.6.1.tar.gz
LFS
BIN
zope.proxy-4.6.1.tar.gz
LFS
Binary file not shown.
3
zope.proxy-5.1.tar.gz
Normal file
3
zope.proxy-5.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:7777bd3f8f7cea74521726202e1a6d5153dbf649f204e250058ad03af46a4318
|
||||||
|
size 47950
|
||||||
Reference in New Issue
Block a user