Hello community, here is the log from the commit of package python-cassandra-driver for openSUSE:Factory checked in at 2018-11-01 14:46:05 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-cassandra-driver (Old) and /work/SRC/openSUSE:Factory/.python-cassandra-driver.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-cassandra-driver" Thu Nov 1 14:46:05 2018 rev:5 rq:645880 version:3.15.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-cassandra-driver/python-cassandra-driver.changes 2018-09-24 13:13:09.269718066 +0200 +++ /work/SRC/openSUSE:Factory/.python-cassandra-driver.new/python-cassandra-driver.changes 2018-11-01 14:46:10.550866625 +0100 @@ -1,0 +2,7 @@ +Thu Nov 1 09:24:07 UTC 2018 - Tomáš Chvátal <tchvatal@suse.com> + +- Update to 3.15.1: + * No updatream changelog +- Switch to github tarball as the pypi one lacks tests now + +------------------------------------------------------------------- Old: ---- cassandra-driver-3.15.0.tar.gz New: ---- 3.15.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-cassandra-driver.spec ++++++ --- /var/tmp/diff_new_pack.xU7OAh/_old 2018-11-01 14:46:11.230866556 +0100 +++ /var/tmp/diff_new_pack.xU7OAh/_new 2018-11-01 14:46:11.234866555 +0100 @@ -18,13 +18,13 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-cassandra-driver -Version: 3.15.0 +Version: 3.15.1 Release: 0 Summary: Python driver for Cassandra License: Apache-2.0 Group: Development/Languages/Python URL: http://github.com/datastax/python-driver -Source: https://files.pythonhosted.org/packages/source/c/cassandra-driver/cassandra-driver-%{version}.tar.gz +Source: https://github.com/datastax/python-driver/archive/%{version}.tar.gz BuildRequires: %{python_module Cython} BuildRequires: %{python_module PyYAML} BuildRequires: %{python_module Twisted} @@ -38,6 +38,7 @@ BuildRequires: %{python_module setuptools} BuildRequires: %{python_module six} >= 1.6 BuildRequires: %{python_module sure} +BuildRequires: fdupes BuildRequires: libev-devel BuildRequires: python-rpm-macros BuildRequires: python2-futures @@ -58,14 +59,15 @@ protocol and Cassandra Query Language v3. A list of features may be found at https://github.com/datastax/python-driver#features . -The driver supports Python 2.7, 3.3, 3.4, 3.5, and 3.6. - %prep -%setup -q -n cassandra-driver-%{version} +%setup -q -n python-driver-%{version} # do not run integration tests rm -rf tests/integration +rm -rf tests/stress_tests # do not run cython tests rm -rf tests/unit/cython +# fix hardcoded cython dep +sed -i -e 's:Cython>=0.20,!=0.25,<0.29:Cython:g' setup.py %build export CFLAGS="%{optflags}" @@ -75,9 +77,10 @@ %install export CASS_DRIVER_NO_EXTENSIONS=1 %python_install +%python_expand %fdupes %{buildroot}%{$python_sitearch} %check -%python_exec setup.py test +%python_expand PYTHONPATH="$(pwd)" nosetests-%{$python_version} -v %files %{python_files} %license LICENSE ++++++ cassandra-driver-3.15.0.tar.gz -> 3.15.1.tar.gz ++++++ ++++ 11779 lines of diff (skipped)