Accepting request 1222093 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/1222093
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-BTrees?expand=0&rev=21
This commit is contained in:
Ana Guerrero 2024-11-07 15:28:30 +00:00 committed by Git OBS Bridge
commit 47e66c6739
4 changed files with 24 additions and 10 deletions

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

Binary file not shown.

3
btrees-6.1.tar.gz Normal file
View File

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

View File

@ -1,3 +1,16 @@
-------------------------------------------------------------------
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

@ -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}
}