17
0

Compare commits

6 Commits

Author SHA256 Message Date
faadd159fa Accepting request 1284649 from devel:languages:python
- Switch to pyproject macros.

OBS-URL: https://build.opensuse.org/request/show/1284649
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-crfsuite?expand=0&rev=8
2025-06-11 14:26:07 +00:00
78df4ba195 - Switch to pyproject macros.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-crfsuite?expand=0&rev=15
2025-06-11 06:24:10 +00:00
b5842a21fc Accepting request 1245647 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1245647
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-crfsuite?expand=0&rev=7
2025-02-13 17:40:05 +00:00
675390fee1 Accepting request 1245421 from home:glaubitz:branches:devel:languages:python
- 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

OBS-URL: https://build.opensuse.org/request/show/1245421
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-crfsuite?expand=0&rev=13
2025-02-13 13:28:58 +00:00
402d466106 Accepting request 1180324 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1180324
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-crfsuite?expand=0&rev=6
2024-06-13 13:40:16 +00:00
facedc2617 Accepting request 1180275 from home:glaubitz:branches:devel:languages:python
- Cherry-pick upstream patch to fix build with GCC 14
  * https://github.com/scrapinghub/python-crfsuite/pull/159.patch

OBS-URL: https://build.opensuse.org/request/show/1180275
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-crfsuite?expand=0&rev=11
2024-06-13 07:31:11 +00:00
4 changed files with 38 additions and 11 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f38524631e2b533341f10f2c77689270dc6ecd5985495dccf7aa37b1045bc2e5
size 478262

View File

@@ -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>

View File

@@ -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

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6eff965ca70567396d822c9a35ea74b0f7edb27d9471524997bdabe7a6da5f5a
size 477721