15
0

- Update to 0.7.1:

* drop Python 2 compatibility & legacy code
  * add bugfix for NYSIIS for words starting with PF
  * restrict install to Python >= 3.4

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jellyfish?expand=0&rev=7
This commit is contained in:
Tomáš Chvátal
2019-04-03 11:12:47 +00:00
committed by Git OBS Bridge
parent 5f45e447e9
commit 82d6ae017e
4 changed files with 16 additions and 9 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5104e45a2b804b48a46a92a5e6d6e86830fe60ae83b1da32c867402c8f4c2094
size 132560

3
jellyfish-0.7.1.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:79a5640bb47120596c91b9030ed3164cc5a3d0bb6b15779bb82c3c21f8efa1c1
size 131122

View File

@@ -1,3 +1,11 @@
-------------------------------------------------------------------
Wed Apr 3 10:40:50 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 0.7.1:
* drop Python 2 compatibility & legacy code
* add bugfix for NYSIIS for words starting with PF
* restrict install to Python >= 3.4
-------------------------------------------------------------------
Thu Aug 2 08:12:40 UTC 2018 - tchvatal@suse.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-jellyfish
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,13 +12,14 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-jellyfish
Version: 0.6.1
Version: 0.7.1
Release: 0
Summary: A library for doing approximate and phonetic matching of strings
License: BSD-2-Clause
@@ -28,7 +29,6 @@ Source: https://files.pythonhosted.org/packages/source/j/jellyfish/jelly
BuildRequires: %{python_module devel}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module unicodecsv}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
%python_subpackages
@@ -56,8 +56,7 @@ Match Rating Codex.
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%check
# Tests actually do some crazy import order
#%%python_expand PYTHONPATH=%{buildroot}%{$python_sitearch} py.test-%{$python_version} jellyfish/test.py
%pytest %{buildroot}%{$python_sitearch}/jellyfish/test.py
%files %{python_files}
%license LICENSE