diff --git a/jellyfish-0.6.1.tar.gz b/jellyfish-0.6.1.tar.gz deleted file mode 100644 index 927ca77..0000000 --- a/jellyfish-0.6.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5104e45a2b804b48a46a92a5e6d6e86830fe60ae83b1da32c867402c8f4c2094 -size 132560 diff --git a/jellyfish-0.7.1.tar.gz b/jellyfish-0.7.1.tar.gz new file mode 100644 index 0000000..f1cbced --- /dev/null +++ b/jellyfish-0.7.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:79a5640bb47120596c91b9030ed3164cc5a3d0bb6b15779bb82c3c21f8efa1c1 +size 131122 diff --git a/python-jellyfish.changes b/python-jellyfish.changes index 099e7b8..4e562e0 100644 --- a/python-jellyfish.changes +++ b/python-jellyfish.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Wed Apr 3 10:40:50 UTC 2019 - Tomáš Chvátal + +- 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 diff --git a/python-jellyfish.spec b/python-jellyfish.spec index 83d533f..018a05d 100644 --- a/python-jellyfish.spec +++ b/python-jellyfish.spec @@ -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