forked from pool/python-cassandra-driver
Accepting request 645880 from devel:languages:python
- Update to 3.15.1: * No updatream changelog - Switch to github tarball as the pypi one lacks tests now OBS-URL: https://build.opensuse.org/request/show/645880 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cassandra-driver?expand=0&rev=5
This commit is contained in:
3
3.15.1.tar.gz
Normal file
3
3.15.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a119de6f7146b8101784c0128c6ddba5ba2091f4b526124b141cc25384b78d7b
|
||||
size 582655
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:489cc828dbfabf2143204e158c60079d74c41743ae1b0dd732e15dd4a79cdd22
|
||||
size 464325
|
||||
@@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
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
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 20 12:03:19 UTC 2018 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
|
||||
@@ -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 scales}
|
||||
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 @@ DataStax Enterprise (3.1+) using exclusively Cassandra's binary
|
||||
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 @@ export CASS_DRIVER_NO_EXTENSIONS=1
|
||||
%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
|
||||
|
||||
Reference in New Issue
Block a user