14
0

4 Commits

Author SHA256 Message Date
e70090e764 Accepting request 1206724 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1206724
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-zope.security?expand=0&rev=17
2024-10-10 20:15:02 +00:00
411cbc1121 - Update to 7.3
* Respect ``PURE_PYTHON`` environment variable set to ``0``.
- from version 7.2
  * Declare final support for Python 3.13.
- Adjust upstream source name in spec file

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.security?expand=0&rev=38
2024-10-10 14:44:14 +00:00
5a84c60998 Accepting request 1199495 from devel:languages:python
- update to 7.1:
  * Allow calling methods of type <class 'builtin_method'> by
    default. In particular, Python 3.12 refactored the io module
    in such a way as to slightly change the types of some
    methods, causing zope.security to no longer consider them
    callable. See zope.file#13.

OBS-URL: https://build.opensuse.org/request/show/1199495
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-zope.security?expand=0&rev=16
2024-09-09 12:44:44 +00:00
7351cadc48 - update to 7.1:
* Allow calling methods of type <class 'builtin_method'> by
    default. In particular, Python 3.12 refactored the io module
    in such a way as to slightly change the types of some
    methods, causing zope.security to no longer consider them
    callable. See zope.file#13.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.security?expand=0&rev=36
2024-09-08 16:31:54 +00:00
2 changed files with 5 additions and 11 deletions

View File

@@ -1,8 +1,3 @@
-------------------------------------------------------------------
Mon May 5 03:45:29 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyproject macros.
-------------------------------------------------------------------
Thu Oct 10 14:40:22 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-zope.security
#
# Copyright (c) 2025 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
@@ -31,12 +31,11 @@ Version: 7.3
Release: 0
Summary: Zope Security Framework
License: ZPL-2.1
Group: Development/Languages/Python
URL: https://www.python.org/pypi/zope.security
Source0: https://files.pythonhosted.org/packages/source/z/zope_security/zope_security-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: %{python_module zope.interface}
BuildRequires: %{python_module zope.proxy-devel}
BuildRequires: fdupes
@@ -70,11 +69,11 @@ policies on Python objects.
%setup -q -n zope_security-%{version}
%build
%pyproject_wheel
%python_build
%install
%if !%{with test}
%pyproject_install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%python_expand rm %{buildroot}%{$python_sitearch}/zope/security/*.c
%endif
@@ -90,7 +89,7 @@ policies on Python objects.
%doc README.rst
%dir %{python_sitearch}/zope
%{python_sitearch}/zope/security
%{python_sitearch}/zope[._]security-%{version}.dist-info
%{python_sitearch}/zope.security-%{version}*-info
%{python_sitearch}/zope.security-%{version}*-nspkg.pth
%endif