forked from pool/python-jellyfish
- 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:
committed by
Git OBS Bridge
parent
5f45e447e9
commit
82d6ae017e
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user