[grass] 05/06: Have dh_python & dh_numpy act on specific packages only.

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Sun Apr 10 00:42:52 UTC 2016


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

sebastic pushed a commit to branch master
in repository grass.

commit a4ee23d0ee89674891549316a782b10683770064
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Sat Apr 9 22:54:59 2016 +0200

    Have dh_python & dh_numpy act on specific packages only.
---
 debian/changelog | 1 +
 debian/rules     | 9 ++++++---
 2 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 2976e88..d68f133 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,7 @@ grass (7.0.3-4) UNRELEASED; urgency=medium
   * Add patch to fix various spelling errors.
   * Drop explicit python-numpy dependency, included in ${python:Depends}
     via dh_numpy.
+  * Have dh_python & dh_numpy act on specific packages only.
 
  -- Bas Couwenberg <sebastic at debian.org>  Sat, 09 Apr 2016 20:20:29 +0200
 
diff --git a/debian/rules b/debian/rules
index 3da81ef..dee5c23 100755
--- a/debian/rules
+++ b/debian/rules
@@ -265,9 +265,12 @@ override_dh_installman:
 	dh_installman -p$(PKG_NAME)-core debian/$(BASE_NAME).1
 
 override_dh_python2:
-	dh_python2
-	dh_python2 /usr/lib/$(BASE_NAME)/gui/ /usr/lib/$(BASE_NAME)/tools/
-	dh_numpy
+	dh_python2 -pgrass-core -pgrass-gui -pgrass-dev
+	dh_python2 -pgrass-core /usr/lib/$(BASE_NAME)/etc/
+	dh_python2 -pgrass-core /usr/lib/$(BASE_NAME)/scripts/
+	dh_python2 -pgrass-gui /usr/lib/$(BASE_NAME)/gui/
+	dh_python2 -pgrass-dev /usr/lib/$(BASE_NAME)/tools/
+	dh_numpy -pgrass-core -pgrass-gui
 
 override_dh_shlibdeps:
 	dh_shlibdeps -l$(CURDIR)/debian/tmp/usr/lib/$(BASE_NAME)/lib

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/grass.git



More information about the Pkg-grass-devel mailing list