|
|
169d44e |
%global srcname simplebayes
|
|
|
169d44e |
|
|
|
169d44e |
Name: python-%{srcname}
|
|
|
169d44e |
Version: 1.5.8
|
|
|
10e96d3 |
Release: 12%{?dist}
|
|
|
169d44e |
Summary: A memory-based, optional-persistence naïve bayesian text classifier
|
|
|
169d44e |
|
|
|
169d44e |
License: MIT
|
|
|
169d44e |
URL: https://github.com/hickeroar/simplebayes
|
|
|
169d44e |
# PyPI tarballs do not include tests.
|
|
|
169d44e |
# 1.5.8 is also incorrectly tagged as 1.5.7
|
|
|
169d44e |
# https://github.com/hickeroar/simplebayes/issues/2
|
|
|
169d44e |
Source0: https://github.com/hickeroar/simplebayes/archive/1.5.7/%{srcname}-%{version}.tar.gz
|
|
|
169d44e |
|
|
|
169d44e |
BuildArch: noarch
|
|
|
169d44e |
|
|
|
169d44e |
%global _description \
|
|
|
169d44e |
A memory-based, optional-persistence naïve bayesian text classifier. This work \
|
|
|
169d44e |
is heavily inspired by the python "redisbayes" module and this was written to \
|
|
|
169d44e |
alleviate the network/time requirements when using the bayesian classifier to \
|
|
|
169d44e |
classify large sets of text, or when attempting to train with very large sets \
|
|
|
169d44e |
of sample data.
|
|
|
169d44e |
|
|
|
169d44e |
%description %{_description}
|
|
|
169d44e |
|
|
|
169d44e |
|
|
|
169d44e |
%package -n python3-%{srcname}
|
|
|
169d44e |
Summary: %{summary}
|
|
|
169d44e |
%{?python_provide:%python_provide python3-%{srcname}}
|
|
|
169d44e |
|
|
|
169d44e |
BuildRequires: python3-devel
|
|
|
169d44e |
BuildRequires: python3-setuptools
|
|
|
169d44e |
BuildRequires: python3-nose
|
|
|
169d44e |
BuildRequires: python3-mock
|
|
|
169d44e |
|
|
|
169d44e |
%description -n python3-%{srcname} %{_description}
|
|
|
169d44e |
|
|
|
169d44e |
|
|
|
169d44e |
%prep
|
|
|
169d44e |
%autosetup -n %{srcname}-1.5.7
|
|
|
169d44e |
|
|
|
169d44e |
# Remove bundled egg-info
|
|
|
169d44e |
rm -rf %{srcname}.egg-info
|
|
|
169d44e |
|
|
|
169d44e |
|
|
|
169d44e |
%build
|
|
|
169d44e |
%py3_build
|
|
|
169d44e |
|
|
|
169d44e |
|
|
|
169d44e |
%install
|
|
|
169d44e |
%py3_install
|
|
|
169d44e |
|
|
|
169d44e |
|
|
|
169d44e |
%check
|
|
|
169d44e |
nosetests-3
|
|
|
169d44e |
|
|
|
169d44e |
|
|
|
169d44e |
%files -n python3-%{srcname}
|
|
|
169d44e |
%license LICENSE
|
|
|
169d44e |
%doc README.rst
|
|
|
169d44e |
%{python3_sitelib}/%{srcname}
|
|
|
0ffe937 |
%{python3_sitelib}/%{srcname}-%{version}-py%{python3_version}.egg-info
|
|
|
169d44e |
|
|
|
169d44e |
|
|
|
169d44e |
%changelog
|
|
|
10e96d3 |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.8-12
|
|
|
10e96d3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
10e96d3 |
|
|
|
702ab71 |
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 1.5.8-11
|
|
|
702ab71 |
- Rebuilt for Python 3.9
|
|
|
702ab71 |
|
|
|
65684af |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.8-10
|
|
|
65684af |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
65684af |
|
|
|
74c30db |
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.5.8-9
|
|
|
74c30db |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
|
74c30db |
|
|
|
f56883a |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.5.8-8
|
|
|
f56883a |
- Rebuilt for Python 3.8
|
|
|
f56883a |
|
|
|
2293ffa |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.8-7
|
|
|
2293ffa |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
2293ffa |
|
|
|
3bff533 |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.8-6
|
|
|
3bff533 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
3bff533 |
|
|
|
7f1405f |
* Mon Oct 01 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.5.8-5
|
|
|
7f1405f |
- Drop Python 2 subpackage
|
|
|
7f1405f |
|
|
|
6af9226 |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.8-4
|
|
|
6af9226 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
6af9226 |
|
|
|
01ee05e |
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1.5.8-3
|
|
|
01ee05e |
- Rebuilt for Python 3.7
|
|
|
01ee05e |
|
|
|
36cd57e |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.8-2
|
|
|
36cd57e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
36cd57e |
|
|
|
169d44e |
* Fri Dec 22 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.5.8-1
|
|
|
169d44e |
- Initial package.
|