Hello community,
here is the log from the commit of package python-simplebayes for
openSUSE:Factory checked in at 2017-12-19 10:56:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-simplebayes (Old)
and /work/SRC/openSUSE:Factory/.python-simplebayes.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-simplebayes"
Tue Dec 19 10:56:46 2017 rev:2 rq:557302 version:1.5.8
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-simplebayes/python-simplebayes.changes
2017-01-25 23:20:02.048648807 +0100
+++
/work/SRC/openSUSE:Factory/.python-simplebayes.new/python-simplebayes.changes
2017-12-19 10:56:47.058283539 +0100
@@ -1,0 +2,11 @@
+Fri Dec 15 10:43:10 UTC 2017 - [email protected]
+
+- Drop check phase again as upstream does not distribute the tests
+ and does not tag properly on github
+
+-------------------------------------------------------------------
+Fri Dec 15 10:07:51 UTC 2017 - [email protected]
+
+- Use python singlespec
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-simplebayes.spec ++++++
--- /var/tmp/diff_new_pack.Qf0nMf/_old 2017-12-19 10:56:47.490262685 +0100
+++ /var/tmp/diff_new_pack.Qf0nMf/_new 2017-12-19 10:56:47.490262685 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-simplebayes
#
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -13,36 +13,40 @@
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
+#
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-simplebayes
Version: 1.5.8
Release: 0
-License: MIT
Summary: A memory-based, optional-persistence naïve bayesian text
classifier
-Url: https://github.com/hickeroar/simplebayes
+License: MIT
Group: Development/Languages/Python
-Source:
https://pypi.python.org/packages/source/s/simplebayes/simplebayes-%{version}.tar.gz
-BuildRequires: python-devel
-BuildRequires: python-setuptools
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
+Url: https://github.com/hickeroar/simplebayes
+Source:
https://files.pythonhosted.org/packages/source/s/simplebayes/simplebayes-%{version}.tar.gz
+BuildRequires: %{python_module setuptools}
+BuildRequires: python-rpm-macros
BuildArch: noarch
%description
A memory-based, optional-persistence naïve bayesian text classifier
heavily inspired by the python "redisbayes" module.
+%python_subpackages
+
%prep
%setup -q -n simplebayes-%{version}
%build
-python setup.py build
+export LANG=C.UTF-8
+%python_build
%install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+export LANG=C.UTF-8
+%python_install
-%files
-%defattr(-,root,root,-)
+%files %{python_files}
%doc README.rst LICENSE
%{python_sitelib}/*