Sync from SUSE:SLFO:Main python-BTrees revision 0340eb50bc748dfa4f6fdc06bd55582c

This commit is contained in:
2025-05-13 19:42:52 +02:00
parent f0796ab82d
commit c317f4f1c0
4 changed files with 36 additions and 12 deletions

BIN
BTrees-6.0.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
btrees-6.1.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -1,3 +1,26 @@
-------------------------------------------------------------------
Mon Apr 14 05:44:11 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Support both lowercased and unnormalized metadata directory names.
-------------------------------------------------------------------
Tue Mar 25 03:59:53 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Lowercase metadata directory name.
-------------------------------------------------------------------
Thu Nov 7 08:30:45 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 6.1
* Add final support for Python 3.13.
- Adjust upstream source name in spec file
- Drop unnecessary removal of egg-info from %setup section
- Fix missing version contraint for Obsoletes
- Switch build system from setuptools to pyproject.toml
* Add python-pip and python-wheel to BuildRequires
* Replace %python_build with %pyproject_wheel
* Replace %python_install with %pyproject_install
-------------------------------------------------------------------
Thu Jun 6 07:53:19 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-BTrees
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2015-2022 LISA GmbH, Bingen, Germany.
#
# All modifications and additions to the file contributed by third parties
@@ -19,17 +19,19 @@
%{?sle15_python_module_pythons}
Name: python-BTrees
Version: 6.0
Version: 6.1
Release: 0
Summary: Persistent B-tree object containers for Python
License: ZPL-2.1
URL: https://github.com/zopefoundation/BTrees
Source: https://files.pythonhosted.org/packages/source/B/BTrees/BTrees-%{version}.tar.gz
Source: https://files.pythonhosted.org/packages/source/b/btrees/btrees-%{version}.tar.gz
BuildRequires: %{python_module devel >= 3.8}
BuildRequires: %{python_module persistent-devel >= 4.1.0}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module transaction}
BuildRequires: %{python_module wheel}
BuildRequires: %{python_module zope.interface}
BuildRequires: %{python_module zope.testrunner}
BuildRequires: fdupes
@@ -37,7 +39,7 @@ BuildRequires: python-rpm-macros
Requires: python-persistent >= 4.1.0
Requires: python-zope.interface
Provides: %{name}-doc = %{version}-%{release}
Obsoletes: %{name}-doc
Obsoletes: %{name}-doc < %{version}-%{release}
%python_subpackages
%description
@@ -58,14 +60,13 @@ Requires: %{name} = %{version}
This package contains the files needed for binding the %{name} C module.
%prep
%setup -q -n BTrees-%{version}
rm -rf BTrees.egg-info
%setup -q -n btrees-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%{python_expand rm %{buildroot}%{$python_sitearch}/BTrees/*.c
%fdupes %{buildroot}%{$python_sitearch}
}
@@ -81,7 +82,7 @@ rm -rf BTrees.egg-info
%license COPYRIGHT.txt LICENSE.txt
%exclude %{python_sitearch}/BTrees/*.h
%{python_sitearch}/BTrees
%{python_sitearch}/BTrees-%{version}*-info
%{python_sitearch}/[Bb][Tt]rees-%{version}.dist-info
%files %{python_files devel}
%{python_sitearch}/BTrees/*.h