[Python-modules-commits] [python-cachecontrol] 01/01: Do not install doesitcache

Barry Warsaw barry at moszumanska.debian.org
Mon Oct 31 21:05:20 UTC 2016


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

barry pushed a commit to branch master
in repository python-cachecontrol.

commit d14f7fbb89996119c14711e0fc4bdac77581ca2b
Author: Barry Warsaw <barry at python.org>
Date:   Mon Oct 31 17:05:15 2016 -0400

    Do not install doesitcache
---
 debian/changelog | 6 ++++--
 debian/rules     | 8 ++++++++
 2 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index f16e3ef..57a6442 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-python-cachecontrol (0.11.7-1) UNRELEASED; urgency=medium
+python-cachecontrol (0.11.7-1) unstable; urgency=medium
 
   [ Ondřej Nový ]
   * Fixed VCS URL (https)
@@ -6,8 +6,10 @@ python-cachecontrol (0.11.7-1) UNRELEASED; urgency=medium
   [ Barry Warsaw ]
   * New upstream release.
   * d/control: Bump Standards-Version with no other changes necessary.
+  * d/rules: Exclude usr/bin/doesitcache, an undocumented and
+    unnecessary command line script.
 
- -- Barry Warsaw <barry at debian.org>  Mon, 31 Oct 2016 16:28:39 -0400
+ -- Barry Warsaw <barry at debian.org>  Mon, 31 Oct 2016 16:37:49 -0400
 
 python-cachecontrol (0.11.5-1.1) unstable; urgency=medium
 
diff --git a/debian/rules b/debian/rules
index 8e82de6..da87e23 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,3 +7,11 @@ export PYBUILD_NAME=cachecontrol
 
 %:
 	dh $@ --with python2,python3 --buildsystem=pybuild
+
+
+# Don't install the undocumented and unnecessary command line script.
+override_dh_python3:
+	dh_python3 -X doesitcache
+
+override_dh_python2:
+	dh_python2 -X doesitcache

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



More information about the Python-modules-commits mailing list