14
0

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:
2025-06-12 13:54:42 +00:00
committed by Git OBS Bridge
2 changed files with 16 additions and 8 deletions

View File

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

View File

@@ -1,7 +1,7 @@
#
# 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
# 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)
# 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
Version: 1.5.8
Release: 0
Summary: A memory-based, optional-persistence naïve bayesian text classifier
License: MIT
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
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: python-rpm-macros
BuildArch: noarch
@@ -40,14 +41,16 @@ heavily inspired by the python "redisbayes" module.
%build
export LANG=C.UTF-8
%python_build
%pyproject_wheel
%install
export LANG=C.UTF-8
%python_install
%pyproject_install
%files %{python_files}
%doc README.rst LICENSE
%{python_sitelib}/*
%license LICENSE
%doc README.rst
%{python_sitelib}/simplebayes
%{python_sitelib}/simplebayes-%{version}*-info
%changelog