forked from pool/python-simplebayes
Accepting request 1285130 from devel:languages:python
- Convert to pip-based build OBS-URL: https://build.opensuse.org/request/show/1285130 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-simplebayes?expand=0&rev=3
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jun 12 12:03:18 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- Convert to pip-based build
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Dec 15 10:43:10 UTC 2017 - tchvatal@suse.com
|
Fri Dec 15 10:43:10 UTC 2017 - tchvatal@suse.com
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-simplebayes
|
# spec file for package python-simplebayes
|
||||||
#
|
#
|
||||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2025 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -12,20 +12,21 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# 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-%{**}}
|
|
||||||
Name: python-simplebayes
|
Name: python-simplebayes
|
||||||
Version: 1.5.8
|
Version: 1.5.8
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A memory-based, optional-persistence naïve bayesian text classifier
|
Summary: A memory-based, optional-persistence naïve bayesian text classifier
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Url: https://github.com/hickeroar/simplebayes
|
URL: https://github.com/hickeroar/simplebayes
|
||||||
Source: https://files.pythonhosted.org/packages/source/s/simplebayes/simplebayes-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/s/simplebayes/simplebayes-%{version}.tar.gz
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
@@ -40,14 +41,16 @@ heavily inspired by the python "redisbayes" module.
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
export LANG=C.UTF-8
|
export LANG=C.UTF-8
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
export LANG=C.UTF-8
|
export LANG=C.UTF-8
|
||||||
%python_install
|
%pyproject_install
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README.rst LICENSE
|
%license LICENSE
|
||||||
%{python_sitelib}/*
|
%doc README.rst
|
||||||
|
%{python_sitelib}/simplebayes
|
||||||
|
%{python_sitelib}/simplebayes-%{version}*-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user