%global srcname simplebayes Name: python-%{srcname} Version: 1.5.8 Release: 26%{?dist} Summary: A memory-based, optional-persistence naïve bayesian text classifier License: MIT URL: https://github.com/hickeroar/simplebayes # PyPI tarballs do not include tests. # 1.5.8 is also incorrectly tagged as 1.5.7 # https://github.com/hickeroar/simplebayes/issues/2 Source0: https://github.com/hickeroar/simplebayes/archive/1.5.7/%{srcname}-%{version}.tar.gz BuildArch: noarch # https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval ExcludeArch: %{ix86} %global _description \ A memory-based, optional-persistence naïve bayesian text classifier. This work \ is heavily inspired by the python "redisbayes" module and this was written to \ alleviate the network/time requirements when using the bayesian classifier to \ classify large sets of text, or when attempting to train with very large sets \ of sample data. %description %{_description} %package -n python3-%{srcname} Summary: %{summary} %{?python_provide:%python_provide python3-%{srcname}} BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-nose BuildRequires: python3-mock %description -n python3-%{srcname} %{_description} %prep %autosetup -n %{srcname}-1.5.7 # Remove bundled egg-info rm -rf %{srcname}.egg-info %build %py3_build %install %py3_install %check nosetests-3 %files -n python3-%{srcname} %license LICENSE %doc README.rst %{python3_sitelib}/%{srcname} %{python3_sitelib}/%{srcname}-%{version}-py%{python3_version}.egg-info %changelog * Fri Jul 19 2024 Fedora Release Engineering - 1.5.8-26 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jun 07 2024 Python Maint - 1.5.8-25 - Rebuilt for Python 3.13 * Fri Jan 26 2024 Fedora Release Engineering - 1.5.8-24 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 1.5.8-23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 1.5.8-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Jun 13 2023 Python Maint - 1.5.8-21 - Rebuilt for Python 3.12 * Fri Jan 20 2023 Fedora Release Engineering - 1.5.8-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Mon Dec 19 2022 Elliott Sales de Andrade - 1.5.8-19 - Drop support for i686 * Fri Jul 22 2022 Fedora Release Engineering - 1.5.8-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 1.5.8-17 - Rebuilt for Python 3.11 * Fri Jan 21 2022 Fedora Release Engineering - 1.5.8-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 1.5.8-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 1.5.8-14 - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 1.5.8-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 1.5.8-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue May 26 2020 Miro Hrončok - 1.5.8-11 - Rebuilt for Python 3.9 * Thu Jan 30 2020 Fedora Release Engineering - 1.5.8-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Oct 03 2019 Miro Hrončok - 1.5.8-9 - Rebuilt for Python 3.8.0rc1 (#1748018) * Mon Aug 19 2019 Miro Hrončok - 1.5.8-8 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 1.5.8-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sat Feb 02 2019 Fedora Release Engineering - 1.5.8-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Mon Oct 01 2018 Elliott Sales de Andrade - 1.5.8-5 - Drop Python 2 subpackage * Sat Jul 14 2018 Fedora Release Engineering - 1.5.8-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Jun 19 2018 Miro Hrončok - 1.5.8-3 - Rebuilt for Python 3.7 * Fri Feb 09 2018 Fedora Release Engineering - 1.5.8-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Fri Dec 22 2017 Elliott Sales de Andrade - 1.5.8-1 - Initial package.