[Python-modules-commits] [python-backports-shutil-get-terminal-size] 01/02: remove upstream backports/__init__.py, so that dh_python2 can handle the shared `backports` namespace; Closes: #825095

Sandro Tosi morph at moszumanska.debian.org
Mon Dec 25 17:30:16 UTC 2017


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

morph pushed a commit to branch master
in repository python-backports-shutil-get-terminal-size.

commit fc80479dcb98112532847046c492e64e0e7a3641
Author: Sandro Tosi <morph at debian.org>
Date:   Mon Dec 25 12:26:47 2017 -0500

    remove upstream backports/__init__.py, so that dh_python2 can handle the shared `backports` namespace; Closes: #825095
---
 debian/changelog | 9 +++++++++
 debian/rules     | 4 ++++
 2 files changed, 13 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 52e5d80..731e12d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+python-backports-shutil-get-terminal-size (1.0.0-5) UNRELEASED; urgency=medium
+
+  * Team upload.
+  * debian/rules
+    - remove upstream backports/__init__.py, so that dh_python2 can handle the
+      shared `backports` namespace; Closes: #825095
+
+ -- Sandro Tosi <morph at debian.org>  Mon, 25 Dec 2017 12:25:38 -0500
+
 python-backports-shutil-get-terminal-size (1.0.0-4) unstable; urgency=medium
 
   * Fix a typo in the substvar depends (Closes: #884687)
diff --git a/debian/rules b/debian/rules
index 8655057..1a9be09 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,5 +5,9 @@ export PYBUILD_NAME=backports-shutil-get-terminal-size
 %:
 	dh $@ --with python2 --buildsystem=pybuild
 
+override_dh_auto_install:
+	dh_auto_install
+	rm -rf $(CURDIR)/debian/*/usr/lib/python2.7/dist-packages/backports/__init__.py
+
 override_dh_python2:
 	dh_python2 --namespace backports

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-backports-shutil-get-terminal-size.git



More information about the Python-modules-commits mailing list