[Python-modules-commits] [python-cassandra-driver] 01/03: remove build and egg-info dirs in clean target, to build the package twice in a row; Closes: #825924

Sandro Tosi morph at moszumanska.debian.org
Sun Jan 8 16:31:46 UTC 2017


This is an automated email from the git hooks/post-receive script.

morph pushed a commit to branch master
in repository python-cassandra-driver.

commit 59b7455360ebdad3c1578cc3428875cdadf29334
Author: Sandro Tosi <morph at debian.org>
Date:   Sun Jan 8 11:28:00 2017 -0500

    remove build and egg-info dirs in clean target, to build the package twice in a row; Closes: #825924
---
 debian/changelog | 8 ++++++++
 debian/rules     | 4 ++++
 2 files changed, 12 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 989acee..4be5de5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+python-cassandra-driver (3.7.1-2) UNRELEASED; urgency=medium
+
+  * debian/rules
+    - remove build and egg-info dirs in clean target, to build the package twice
+      in a row; Closes: #825924
+
+ -- Sandro Tosi <morph at debian.org>  Sun, 08 Jan 2017 11:27:41 -0500
+
 python-cassandra-driver (3.7.1-1) unstable; urgency=medium
 
   * New upstream release
diff --git a/debian/rules b/debian/rules
index a8058e8..874354e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,6 +5,10 @@ export CASS_DRIVER_NO_CYTHON=1
 %:
 	dh $@ --with python2,python3
 
+override_dh_auto_clean:
+	dh_auto_clean
+	rm -rf build/ cassandra_driver.egg-info/
+
 override_dh_auto_install:
 	python      setup.py install --install-layout=deb --root $(CURDIR)/debian/python-cassandra
 	python-dbg  setup.py install --install-layout=deb --root $(CURDIR)/debian/python-cassandra-dbg

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-cassandra-driver.git



More information about the Python-modules-commits mailing list