forked from pool/python-datrie
- Regenerate all the cython files
- Run fdupes OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-datrie?expand=0&rev=12
This commit is contained in:
committed by
Git OBS Bridge
parent
a23315d239
commit
dbb6baf0d6
@@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 22 14:18:03 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Regenerate all the cython files
|
||||
- Run fdupes
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 4 09:56:56 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@ Release: 0
|
||||
Summary: Trie data structure for Python
|
||||
License: LGPL-2.1-or-later
|
||||
Group: Development/Languages/Python
|
||||
Url: https://github.com/kmike/datrie
|
||||
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
|
||||
@@ -33,9 +33,8 @@ BuildRequires: %{python_module hypothesis}
|
||||
BuildRequires: %{python_module pytest-runner}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@@ -47,6 +46,7 @@ A trie data structure for Python (2.x and 3.x). Uses libdatrie.
|
||||
%patch1 -p1
|
||||
pushd src
|
||||
cython datrie.pyx
|
||||
cython *.pxd
|
||||
popd
|
||||
|
||||
%build
|
||||
@@ -54,6 +54,7 @@ popd
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||
|
||||
%check
|
||||
%python_exec setup.py test
|
||||
|
||||
Reference in New Issue
Block a user