Hello community,
here is the log from the commit of package python-cassandra-driver for openSUSE:Factory checked in at 2018-09-24 13:13:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-cassandra-driver (Old)
and /work/SRC/openSUSE:Factory/.python-cassandra-driver.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-cassandra-driver"
Mon Sep 24 13:13:07 2018 rev:4 rq:637039 version:3.15.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-cassandra-driver/python-cassandra-driver.changes 2018-09-03 10:36:13.724843953 +0200
+++ /work/SRC/openSUSE:Factory/.python-cassandra-driver.new/python-cassandra-driver.changes 2018-09-24 13:13:09.269718066 +0200
@@ -1,0 +2,12 @@
+Thu Sep 20 12:03:19 UTC 2018 - Tomáš Chvátal
+
+- Add gevent to test dependencies
+- Add scales to dependencies
+- Add twisted to dependencies
+
+-------------------------------------------------------------------
+Mon Sep 3 12:05:19 UTC 2018 - Tomáš Chvátal
+
+- Enable tests
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-cassandra-driver.spec ++++++
--- /var/tmp/diff_new_pack.XhIUBV/_old 2018-09-24 13:13:09.729717263 +0200
+++ /var/tmp/diff_new_pack.XhIUBV/_new 2018-09-24 13:13:09.729717263 +0200
@@ -12,7 +12,7 @@
# 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/
#
@@ -26,20 +26,27 @@
URL: http://github.com/datastax/python-driver
Source: https://files.pythonhosted.org/packages/source/c/cassandra-driver/cassandra-driver-%{version}.tar.gz
BuildRequires: %{python_module Cython}
+BuildRequires: %{python_module PyYAML}
+BuildRequires: %{python_module Twisted}
BuildRequires: %{python_module devel}
+BuildRequires: %{python_module eventlet}
+BuildRequires: %{python_module gevent}
+BuildRequires: %{python_module mock}
+BuildRequires: %{python_module nose}
+BuildRequires: %{python_module pytz}
+BuildRequires: %{python_module scales}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six} >= 1.6
+BuildRequires: %{python_module sure}
+BuildRequires: libev-devel
BuildRequires: python-rpm-macros
BuildRequires: python2-futures
Requires: python-Cython
Requires: python-blist
Requires: python-six >= 1.6
-# test requirements
-#BuildRequires: %{python_module PyYAML}
-#BuildRequires: %{python_module mock}
-#BuildRequires: %{python_module nose}
-#BuildRequires: %{python_module pytz}
-#BuildRequires: %{python_module sure}
+Recommends: python-Twisted
+Recommends: python-eventlet
+Recommends: python-gevent
%ifpython2
Requires: python2-futures
%endif
@@ -55,6 +62,10 @@
%prep
%setup -q -n cassandra-driver-%{version}
+# do not run integration tests
+rm -rf tests/integration
+# do not run cython tests
+rm -rf tests/unit/cython
%build
export CFLAGS="%{optflags}"
@@ -65,6 +76,9 @@
export CASS_DRIVER_NO_EXTENSIONS=1
%python_install
+%check
+%python_exec setup.py test
+
%files %{python_files}
%license LICENSE
%doc README.rst