diff --git a/debian/changelog b/debian/changelog index 4d5ca08..f00f20c 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,132 +1,136 @@ python-cassandra-driver (3.20.2-1) unstable; urgency=medium + * Team upload. + [ Ondřej Nový ] * Bump Standards-Version to 4.4.1. [ Adam Cecile ] * New upstream release 3.20.2. * Add several build-dependencies to run unit tests. * Enable unit tests. * Re-enable Cython which is working fine now. * Enable multi-core compilation of Cython files. + * Switch to GitHub tarball instead of PyPi to have docs and unit tests. + * Generate Sphinx doc in python3-cassandra-doc package. -- Adam Cecile Tue, 07 Jan 2020 12:43:32 +0100 python-cassandra-driver (3.16.0-2) unstable; urgency=medium * Team upload. [ Ondřej Nový ] * Use debhelper-compat instead of debian/compat. * d/changelog: Remove trailing whitespaces. * Drop Python 2 support. * Use pybuild for building package. * Add python3-six to build depends. * Enable autopkgtest-pkg-python testsuite. * Enable all hardening. * d/copyright: Fix cassandra/cmurmur3.c filename. * Bump standards version to 4.4.0 (no changes). * Bump debhelper compat level to 12. -- Ondřej Nový Fri, 09 Aug 2019 12:49:01 +0200 python-cassandra-driver (3.16.0-1) unstable; urgency=medium [ Ondřej Nový ] * Convert git repository from git-dpm to gbp layout * d/changelog: Remove trailing whitespaces. [ Emmanuel Arias ] * New upstream release. * Add DPMT to Maintainer field on d/control. * Adopt package, add myself to Uploaders (Closes: #888400). * Update Standards Version from 4.1.4 to 4.2.1 on d/control file. * Update on d/copyright file the Copyright file for debian/* files. - Add me to there. * Bump debhelper compatibility to 11 (from 10). * Fix problems on d/copyright: - Fix dep5-copyright-license-name-not-unique tag lintian * Move from old -dbg packages to dbgsym (Closes: #857298). - Delete python-cassandra-dbg and python-cassandra[3]-dbg from d/control - Delete from override_dh_auto_install (on d/rules) the installation of *-dbg - Change existing -dbg to -dbgsym on d/rules -- Emmanuel Arias Wed, 05 Dec 2018 21:16:10 +0200 python-cassandra-driver (3.14.0-1) unstable; urgency=medium [ Ondřej Nový ] * d/control: Set Vcs-* to salsa.debian.org * d/copyright: Use https protocol in Format field * d/control: Deprecating priority extra as per policy 4.0.1 * d/watch: Use https protocol [ Sandro Tosi ] * New upstream release * debian/rules - build for all supported python3 versions; patch by Scott Kitterman; Closes: #867010 - remove cassandra/io/asyncioreactor.py from python2 package, code is meant to be py3k only * debian/copyright - extend packaging copyright years - update upstream copyright years * debian/control - bump Standards-Version to 4.1.4 (no changes needed) -- Sandro Tosi Tue, 12 Jun 2018 19:26:05 -0400 python-cassandra-driver (3.7.1-2) unstable; urgency=medium * debian/rules - remove build and egg-info dirs in clean target, to build the package twice in a row; Closes: #825924 * debian/copyright - extend packaging copyright years -- Sandro Tosi Sun, 08 Jan 2017 11:28:48 -0500 python-cassandra-driver (3.7.1-1) unstable; urgency=medium * New upstream release * debian/rules - dont use cython, cassandra-driver is incompatible with 0.25 we have * compat level 10 -- Sandro Tosi Sat, 17 Dec 2016 13:09:50 -0500 python-cassandra-driver (3.7.0-1) unstable; urgency=medium * New upstream release * debian/control - add dh-python t0 b-d -- Sandro Tosi Sun, 02 Oct 2016 14:23:02 -0400 python-cassandra-driver (3.4.1-1) unstable; urgency=medium [ Sandro Tosi ] * New upstream release * debian/control - adjust Vcs-Browser to DPMT standards - add libev-dev to b-p needed by cassandra.io.libevwrapper - bump Standards-Version to 3.9.8 (no changes needed) * debian/copyright - extend packaging copyright years - update upstream copyright years * build arch:any and debug pkgs now that this prj contains extensions [ Ondřej Nový ] * Fixed VCS URL (https) -- Sandro Tosi Sun, 12 Jun 2016 22:58:39 +0100 python-cassandra-driver (2.5.1-1) unstable; urgency=low * Initial release (Closes: #771065) -- Sandro Tosi Thu, 25 Jun 2015 15:50:21 -0400 diff --git a/debian/control b/debian/control index 4c46b5a..4b48998 100644 --- a/debian/control +++ b/debian/control @@ -1,41 +1,65 @@ Source: python-cassandra-driver Section: python Priority: optional Maintainer: Debian Python Modules Team Uploaders: Emmanuel Arias Build-Depends: debhelper-compat (= 12), python3-all-dev, python3-all-dbg, python3-setuptools, libev-dev, cython3, dh-python, python3-six, python3-nose , python3-mock (>= 2.0.0~) , python3-eventlet , python3-sure , python3-yaml , python3-tz , python3-twisted , + python3-sphinx , Standards-Version: 4.4.1 Homepage: https://github.com/datastax/python-driver Vcs-Git: https://salsa.debian.org/python-team/modules/python-cassandra-driver.git Vcs-Browser: https://salsa.debian.org/python-team/modules/python-cassandra-driver Testsuite: autopkgtest-pkg-python Rules-Requires-Root: no Package: python3-cassandra Architecture: any Depends: ${python3:Depends}, ${misc:Depends}, ${shlibs:Depends} -Suggests: python3-blist +Suggests: python3-blist, python3-cassandra-doc Description: Python driver for Apache Cassandra (Python 3) A modern, feature-rich and highly-tunable Python client library for Apache Cassandra (1.2+) and DataStax Enterprise (3.1+) using exclusively Cassandra's binary protocol and Cassandra Query Language v3. . Features: * Synchronous and Asynchronous APIs * Simple, Prepared, and Batch statements * Asynchronous IO, parallel execution, request pipelining * Connection pooling * Automatic node discovery * Automatic reconnection * Configurable load balancing and retry policies * Concurrent execution utilities * Object mapper . This package contains the Python 3.x module for python-cassandra + +Package: python3-cassandra-doc +Build-Profiles: +Architecture: all +Section: doc +Depends: ${sphinxdoc:Depends}, ${misc:Depends} +Description: Python driver for Apache Cassandra (documentation) + A modern, feature-rich and highly-tunable Python client library for Apache + Cassandra (1.2+) and DataStax Enterprise (3.1+) using exclusively Cassandra's + binary protocol and Cassandra Query Language v3. + . + Features: + * Synchronous and Asynchronous APIs + * Simple, Prepared, and Batch statements + * Asynchronous IO, parallel execution, request pipelining + * Connection pooling + * Automatic node discovery + * Automatic reconnection + * Configurable load balancing and retry policies + * Concurrent execution utilities + * Object mapper + . + This is the common documentation package. diff --git a/debian/python3-cassandra-doc.doc-base b/debian/python3-cassandra-doc.doc-base new file mode 100644 index 0000000..83bc5a6 --- /dev/null +++ b/debian/python3-cassandra-doc.doc-base @@ -0,0 +1,9 @@ +Document: python-cassandra-driver +Title: Debian python-cassandra-driver Manual +Author: DataStax +Abstract: User HTML documentation of cassandra Python module +Section: Programming/Python + +Format: HTML +Index: /usr/share/doc/python3-cassandra/html/index.html +Files: /usr/share/doc/python3-cassandra/html/*.html diff --git a/debian/python3-cassandra-doc.docs b/debian/python3-cassandra-doc.docs new file mode 100644 index 0000000..d0053e3 --- /dev/null +++ b/debian/python3-cassandra-doc.docs @@ -0,0 +1,2 @@ +build/html +README.rst diff --git a/debian/python3-cassandra-doc.examples b/debian/python3-cassandra-doc.examples new file mode 100644 index 0000000..e39721e --- /dev/null +++ b/debian/python3-cassandra-doc.examples @@ -0,0 +1 @@ +examples/* diff --git a/debian/rules b/debian/rules index 40a84f4..b9b76dd 100755 --- a/debian/rules +++ b/debian/rules @@ -1,40 +1,49 @@ #!/usr/bin/make -f +export PYBUILD_NAME=cassandra + export DEB_BUILD_MAINT_OPTIONS = hardening=+all # In case there's something wrong during cython generation, you may want to enable this #export CASS_DRIVER_NO_CYTHON=1 # Enable parallel build export CASS_DRIVER_BUILD_CONCURRENCY=$(shell nproc) export PYBUILD_TEST_NOSE=1 # Requires python3-ccmlib (Cassandra Cluster Manager) which is not available in the archive PYBUILD_TEST_ARGS := export PYBUILD_TEST_ARGS # For some reasons evenlet.monkey_patch is not available in dbg version of the package # Careful: Nose --ignore-files is basically not working correctly, adding folders before the file # never worked, no matter how many .* I used... export PYBUILD_TEST_ARGS_python3-dbg=$(PYBUILD_TEST_ARGS) --ignore-files="test_eventletreactor\.py" %: +ifeq ($(filter nodoc,$(DEB_BUILD_PROFILES)),) + dh $@ --with python3,sphinxdoc --buildsystem=pybuild +else dh $@ --with python3 --buildsystem=pybuild +endif override_dh_auto_clean: dh_auto_clean rm -rf build/ cassandra_driver.egg-info/ # Do not delete cmurmur3.c because we don't have proper Python extension # so it cannot be regenerated with cython find cassandra -maxdepth 1 -type f -name '*.c' ! -name 'cmurmur3.c' -delete +override_dh_auto_build: + dh_auto_build +ifeq ($(filter nodoc,$(DEB_BUILD_PROFILES)),) + PYTHONPATH=. http_proxy='127.0.0.1:9' sphinx-build -N -bhtml docs/ build/html +endif + override_dh_auto_test: ifeq ($(filter nocheck,$(DEB_BUILD_PROFILES)),) dh_auto_test endif override_dh_auto_install: dh_auto_install rm -rf debian/python*-dbg/usr/lib/python*/dist-packages/cassandra/numpyFlags.h - -override_dh_installdocs: - dh_installdocs README.rst