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

- Update to 0.8.3
  * pytest-runner is not needed for building the package
  * Fix AlphaMap definition in cdatrie.pxd
  * BLD: update identifiers
- Drop 99.patch, merged upstream
- Remove sed expression to strip pytest-runner dependency
- Use Python 3.11 on SLE-15 by default

OBS-URL: https://build.opensuse.org/request/show/1307286
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-datrie?expand=0&rev=26
This commit is contained in:
2025-09-26 08:45:30 +00:00
committed by Git OBS Bridge
parent 04e9f6efc5
commit 296abf49ea
5 changed files with 16 additions and 32 deletions

View File

@@ -15,17 +15,15 @@
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?sle15_python_module_pythons}
Name: python-datrie
Version: 0.8.2
Version: 0.8.3
Release: 0
Summary: Trie data structure for Python
License: LGPL-2.1-or-later
URL: https://github.com/kmike/datrie
Source: https://files.pythonhosted.org/packages/source/d/datrie/datrie-%{version}.tar.gz
Patch0: datrie-bigendian.patch
# PATCH-FIX-UPSTREAM - Fix AlphaMap definition in cdatrie.pxd
Patch1: https://github.com/pytries/datrie/pull/99.patch
BuildRequires: %{python_module Cython >= 0.26.1}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module hypothesis}
@@ -42,8 +40,6 @@ A trie data structure for Python (2.x and 3.x). Uses libdatrie.
%prep
%autosetup -p1 -n datrie-%{version}
# https://github.com/pytries/datrie/pull/89
sed -i 's:pytest-runner::' setup.py
%build
pushd src