* Dropped support for Python 3.6, 3.7, 3.8, 3.9.
* Added support for Python 3.12, 3.13, 3.14.
* Python 3.11 Support
* 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)
* Python 3.7 support (thanks @fgregg, @danmacnaughtan and
@fuhrysteve).
* Python 3.3 support is dropped.
* new Tagger.open_inmemory method which allows to load tagger
data without having a file on-disk (thanks @lucywang000).
* license information is added to setup.py (thanks @nils-
werner).
* Python 3.6 wheels for Windows (thanks @fgregg).
* Packaging fix (thanks @fgregg).
* Fixed compatibility with Python 3.5+ on Windows (thanks
@fgregg);
* CRFSuite C++ library is updated to latest version, this fixes
several memory leaks and improves performance (thanks
@fgregg);
* extension is rebuilt with Cython 0.26.1.
* binary wheels for OS X and Linux (thanks @jeancochrane).
* Repository is moved to https://github.com/scrapinghub/python-
crfsuite;
* We're now providing Windows wheels for Python 2.7, 3.3. and
3.4.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-crfsuite?expand=0&rev=17
66 lines
1.9 KiB
RPMSpec
66 lines
1.9 KiB
RPMSpec
#
|
|
# spec file for package python-python-crfsuite
|
|
#
|
|
# Copyright (c) 2026 SUSE LLC and contributors
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
%{?sle15_python_module_pythons}
|
|
Name: python-python-crfsuite
|
|
Version: 0.9.12
|
|
Release: 0
|
|
Summary: Python binding for CRFsuite
|
|
License: MIT
|
|
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 Cython}
|
|
BuildRequires: %{python_module devel}
|
|
BuildRequires: %{python_module pip}
|
|
BuildRequires: %{python_module pytest}
|
|
BuildRequires: %{python_module setuptools}
|
|
BuildRequires: %{python_module wheel}
|
|
BuildRequires: c++_compiler
|
|
BuildRequires: fdupes
|
|
BuildRequires: python-rpm-macros
|
|
%python_subpackages
|
|
|
|
%description
|
|
Python-crfsuite is a python binding to CRFsuite_.
|
|
|
|
%prep
|
|
%autosetup -p1 -n python_crfsuite-%{version}
|
|
|
|
%build
|
|
export CFLAGS="%{optflags}"
|
|
%pyproject_wheel
|
|
|
|
%install
|
|
%pyproject_install
|
|
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
|
|
|
%check
|
|
mv pycrfsuite bak
|
|
%pytest_arch
|
|
mv bak pycrfsuite
|
|
|
|
%files %{python_files}
|
|
%license LICENSE.txt
|
|
%doc CHANGES.rst README.rst
|
|
%{python_sitearch}/pycrfsuite
|
|
%exclude %{python_sitearch}/pycrfsuite/*.cpp
|
|
%exclude %{python_sitearch}/pycrfsuite/*.hpp
|
|
%{python_sitearch}/python_crfsuite-%{version}.dist-info
|
|
|
|
%changelog
|