17
0

4 Commits

Author SHA256 Message Date
0f137d660d Accepting request 1313972 from devel:languages:python
- Update to 6.3:
  * Fix setuptools configuration to build missing cffi extension module.
  * Add preliminary support for Python 3.14b2.
  * Move package build requirements from setup.py to pyproject.toml.
  * Drop support for Python 3.8.
  * Make Persistent's _p_oid representation follow the same format as the
    ZODB.utils.oid_repr function.
  * Use Py_REFCNT to access cPersistentObject reference counts in assertions.
  * Add final support for Python 3.13.
  * Removed persistent.cPersistence.simple_new fossil.
  * Drop support for Python 3.7.

OBS-URL: https://build.opensuse.org/request/show/1313972
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-persistent?expand=0&rev=19
2025-10-28 13:48:06 +00:00
42c94cdfaf - Update to 6.3:
* Fix setuptools configuration to build missing cffi extension module.
  * Add preliminary support for Python 3.14b2.
  * Move package build requirements from setup.py to pyproject.toml.
  * Drop support for Python 3.8.
  * Make Persistent's _p_oid representation follow the same format as the
    ZODB.utils.oid_repr function.
  * Use Py_REFCNT to access cPersistentObject reference counts in assertions.
  * Add final support for Python 3.13.
  * Removed persistent.cPersistence.simple_new fossil.
  * Drop support for Python 3.7.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-persistent?expand=0&rev=40
2025-10-28 05:50:00 +00:00
3b3389c7f4 Accepting request 1282259 from devel:languages:python
- Convert to pip-based build

OBS-URL: https://build.opensuse.org/request/show/1282259
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-persistent?expand=0&rev=18
2025-06-03 15:55:19 +00:00
aa7e8bbd9c - Convert to pip-based build
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-persistent?expand=0&rev=38
2025-06-03 11:10:10 +00:00
4 changed files with 34 additions and 9 deletions

Binary file not shown.

3
persistent-6.3.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:01d94668b54d3d5fbab9eb41d81f41e3d8407a7233fd2a928a6417e4dc11d429
size 129489

View File

@@ -1,3 +1,23 @@
-------------------------------------------------------------------
Tue Oct 28 05:48:23 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Update to 6.3:
* Fix setuptools configuration to build missing cffi extension module.
* Add preliminary support for Python 3.14b2.
* Move package build requirements from setup.py to pyproject.toml.
* Drop support for Python 3.8.
* Make Persistent's _p_oid representation follow the same format as the
ZODB.utils.oid_repr function.
* Use Py_REFCNT to access cPersistentObject reference counts in assertions.
* Add final support for Python 3.13.
* Removed persistent.cPersistence.simple_new fossil.
* Drop support for Python 3.7.
-------------------------------------------------------------------
Tue Jun 3 11:09:57 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to pip-based build
-------------------------------------------------------------------
Sat Mar 16 08:52:32 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-persistent
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
# Copyright (c) 2013-2023 LISA GmbH, Bingen, Germany.
#
# All modifications and additions to the file contributed by third parties
@@ -19,21 +19,25 @@
%{?sle15_python_module_pythons}
Name: python-persistent
Version: 5.2
Version: 6.3
Release: 0
Summary: Translucent persistent objects
License: ZPL-2.1
URL: https://github.com/zopefoundation/persistent
Source: https://files.pythonhosted.org/packages/source/p/persistent/persistent-%{version}.tar.gz
BuildRequires: %{python_module cffi}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module devel >= 3.9}
BuildRequires: %{python_module manuel}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: %{python_module zope.deferredimport}
BuildRequires: %{python_module zope.interface}
BuildRequires: %{python_module zope.testrunner}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-cffi
Requires: python-zope.deferredimport
Requires: python-zope.interface
%python_subpackages
@@ -58,10 +62,10 @@ sed -i 's|test__p_repr_exception|tst__p_repr_exception|' src/persistent/tests/te
sed -i 's|test__p_repr_in_instance_ignored|tst__p_repr_in_instance_ignored|' src/persistent/tests/test_persistence.py
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
# don't bother with development files
%{python_expand rm %{buildroot}%{$python_sitearch}/persistent/*.c
%fdupes %{buildroot}%{$python_sitearch}
@@ -74,7 +78,8 @@ sed -i 's|test__p_repr_in_instance_ignored|tst__p_repr_in_instance_ignored|' src
%license LICENSE.txt
%doc CHANGES.rst COPYRIGHT.txt README.rst
%exclude %{python_sitearch}/persistent/*.h
%{python_sitearch}/*
%{python_sitearch}/persistent
%{python_sitearch}/persistent-%{version}.dist-info
%files %{python_files devel}
%dir %{python_sysconfig_path include}/persistent