Compare commits
6 Commits
Author | SHA256 | Date | |
---|---|---|---|
faadd159fa | |||
78df4ba195 | |||
b5842a21fc | |||
675390fee1 | |||
402d466106 | |||
facedc2617 |
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f38524631e2b533341f10f2c77689270dc6ecd5985495dccf7aa37b1045bc2e5
|
||||
size 478262
|
@@ -1,3 +1,26 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 11 05:49:33 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Switch to pyproject macros.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 12 15:21:50 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
- Update to 0.9.11
|
||||
* Cleaned up install
|
||||
* Unicode allowed
|
||||
* Compiling on additional platforms
|
||||
- Add Cython to BuildRequires
|
||||
- Adjust upstream source name in spec file
|
||||
- Drop 159.patch, merged upstream
|
||||
- Exclude C++ source and header files in %files section
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 12 21:37:57 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
- Cherry-pick upstream patch to fix build with GCC 14
|
||||
* https://github.com/scrapinghub/python-crfsuite/pull/159.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 26 20:26:15 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-python-crfsuite
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -18,16 +18,18 @@
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-python-crfsuite
|
||||
Version: 0.9.10
|
||||
Version: 0.9.11
|
||||
Release: 0
|
||||
Summary: Python binding for CRFsuite
|
||||
License: MIT
|
||||
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
|
||||
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
|
||||
@@ -37,14 +39,14 @@ BuildRequires: python-rpm-macros
|
||||
Python-crfsuite is a python binding to CRFsuite_.
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n python-crfsuite-%{version}
|
||||
%autosetup -p1 -n python_crfsuite-%{version}
|
||||
|
||||
%build
|
||||
export CFLAGS="%{optflags}"
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||
|
||||
%check
|
||||
@@ -56,6 +58,8 @@ mv bak pycrfsuite
|
||||
%license LICENSE.txt
|
||||
%doc CHANGES.rst README.rst
|
||||
%{python_sitearch}/pycrfsuite
|
||||
%{python_sitearch}/python_crfsuite-%{version}*-info
|
||||
%exclude %{python_sitearch}/pycrfsuite/*.cpp
|
||||
%exclude %{python_sitearch}/pycrfsuite/*.hpp
|
||||
%{python_sitearch}/python_crfsuite-%{version}.dist-info
|
||||
|
||||
%changelog
|
||||
|
3
python_crfsuite-0.9.11.tar.gz
Normal file
3
python_crfsuite-0.9.11.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6eff965ca70567396d822c9a35ea74b0f7edb27d9471524997bdabe7a6da5f5a
|
||||
size 477721
|
Reference in New Issue
Block a user