15
0
forked from pool/python-BTrees

Accepting request 1222038 from home:glaubitz:branches:devel:languages:python

- 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

OBS-URL: https://build.opensuse.org/request/show/1222038
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-BTrees?expand=0&rev=40
This commit is contained in:
2024-11-07 10:42:10 +00:00
committed by Git OBS Bridge
parent 0488811fb8
commit 1a063dfdfc
4 changed files with 24 additions and 10 deletions

Binary file not shown.

BIN
btrees-6.1.tar.gz LFS Normal file

Binary file not shown.

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