forked from pool/python-python-crfsuite
Accepting request 786914 from home:pgajdos:python
- version update to 0.9.7 * Python 3.4 is no longer supported (it may work, but CI is disabled) * Python 3.8 support * fixed installation issues on OS X (thanks @kvinwang) * make it easier for distributions to have a reproducible build (thanks @bmwiedemann) OBS-URL: https://build.opensuse.org/request/show/786914 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-crfsuite?expand=0&rev=3
This commit is contained in:
committed by
Git OBS Bridge
parent
1efb8234ca
commit
95e0c6d010
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a56d2b38e257614b1006c04fb9b0e22c63a177add487e5a64e8eb61f038342cd
|
||||
size 434314
|
3
python-crfsuite-0.9.7.tar.gz
Normal file
3
python-crfsuite-0.9.7.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3b4538d2ce5007e4e42005818247bf43ade89ef08a66d158462e2f7c5d63cee7
|
||||
size 432162
|
@@ -1,3 +1,13 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 20 14:18:38 UTC 2020 - pgajdos@suse.com
|
||||
|
||||
- version update to 0.9.7
|
||||
* Python 3.4 is no longer supported (it may work, but CI is disabled)
|
||||
* Python 3.8 support
|
||||
* fixed installation issues on OS X (thanks @kvinwang)
|
||||
* make it easier for distributions to have a reproducible build
|
||||
(thanks @bmwiedemann)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 9 15:45:10 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-python-crfsuite
|
||||
#
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -17,9 +17,8 @@
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%bcond_without test
|
||||
Name: python-python-crfsuite
|
||||
Version: 0.9.6
|
||||
Version: 0.9.7
|
||||
Release: 0
|
||||
Summary: Python binding for CRFsuite
|
||||
License: MIT
|
||||
@@ -27,13 +26,11 @@ Group: Development/Languages/Python
|
||||
URL: https://github.com/scrapinghub/python-crfsuite
|
||||
Source: https://files.pythonhosted.org/packages/source/p/python-crfsuite/python-crfsuite-%{version}.tar.gz
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: c++_compiler
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
%if %{with test}
|
||||
BuildRequires: %{python_module pytest}
|
||||
%endif
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@@ -50,12 +47,10 @@ export CFLAGS="%{optflags}"
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||
|
||||
%if %{with test}
|
||||
%check
|
||||
%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitearch}
|
||||
py.test-%{$python_bin_suffix} tests/
|
||||
}
|
||||
%endif
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE.txt
|
||||
|
Reference in New Issue
Block a user