15
0
forked from pool/python-datrie

Accepting request 718473 from home:pgajdos

- version update to 0.8
  * Python 3.7 compatibility; extension is rebuilt with Cython 0.29.11.
  * Trie.get function;
  * Python 2.6 and 3.3 support is dropped;
  * removed patch to libdatrie which is no longer required;
  * testing and CI fixes.
- deleted patches
  - merged_pr_60.patch (upstreamed)
  - reproducible.patch (upstreamed)

OBS-URL: https://build.opensuse.org/request/show/718473
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-datrie?expand=0&rev=15
This commit is contained in:
Tomáš Chvátal
2019-07-25 08:51:07 +00:00
committed by Git OBS Bridge
parent f148532872
commit 94fbd30f30
6 changed files with 19 additions and 61 deletions

View File

@@ -18,7 +18,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-datrie
Version: 0.7.1
Version: 0.8
Release: 0
Summary: Trie data structure for Python
License: LGPL-2.1-or-later
@@ -26,8 +26,6 @@ Group: Development/Languages/Python
URL: https://github.com/kmike/datrie
Source: https://files.pythonhosted.org/packages/source/d/datrie/datrie-%{version}.tar.gz
Patch0: datrie-bigendian.patch
Patch1: reproducible.patch
Patch2: merged_pr_60.patch
BuildRequires: %{python_module Cython >= 0.26.1}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module hypothesis}
@@ -44,14 +42,12 @@ A trie data structure for Python (2.x and 3.x). Uses libdatrie.
%prep
%setup -q -n datrie-%{version}
%patch0 -p1
%patch1 -p1
%patch2 -p1
%build
pushd src
cython datrie.pyx
cython *.pxd
popd
%build
%python_build
%install