diff --git a/99.patch b/99.patch deleted file mode 100644 index 3b43e24..0000000 --- a/99.patch +++ /dev/null @@ -1,23 +0,0 @@ -From 12ffaa89e589a47d0b29b32997cb3623d231d920 Mon Sep 17 00:00:00 2001 -From: "Benjamin A. Beasley" -Date: Thu, 1 Feb 2024 15:14:00 -0500 -Subject: [PATCH] Fix AlphaMap definition in cdatrie.pxd - -Fixes failure to compile on GCC with `-Werror=incompatible-pointer-types`. ---- - src/cdatrie.pxd | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/cdatrie.pxd b/src/cdatrie.pxd -index b80ce99..e609d1c 100644 ---- a/src/cdatrie.pxd -+++ b/src/cdatrie.pxd -@@ -9,7 +9,7 @@ cdef extern from "../libdatrie/datrie/triedefs.h": - - cdef extern from "../libdatrie/datrie/alpha-map.h": - -- struct AlphaMap: -+ ctypedef struct AlphaMap: - pass - - AlphaMap * alpha_map_new() diff --git a/datrie-0.8.2.tar.gz b/datrie-0.8.2.tar.gz deleted file mode 100644 index 0600824..0000000 --- a/datrie-0.8.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:525b08f638d5cf6115df6ccd818e5a01298cd230b2dac91c8ff2e6499d18765d -size 63278 diff --git a/datrie-0.8.3.tar.gz b/datrie-0.8.3.tar.gz new file mode 100644 index 0000000..1477303 --- /dev/null +++ b/datrie-0.8.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ea021ad4c8a8bf14e08a71c7872a622aa399a510f981296825091c7ca0436e80 +size 499040 diff --git a/python-datrie.changes b/python-datrie.changes index e05c962..38309fe 100644 --- a/python-datrie.changes +++ b/python-datrie.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Fri Sep 26 06:36:03 UTC 2025 - John Paul Adrian Glaubitz + +- 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 + ------------------------------------------------------------------- Tue May 28 08:57:59 UTC 2024 - John Paul Adrian Glaubitz diff --git a/python-datrie.spec b/python-datrie.spec index f61e20a..f695fae 100644 --- a/python-datrie.spec +++ b/python-datrie.spec @@ -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