[grass] 03/04: Have dh_python & dh_numpy act on specific packages only.

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


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

sebastic pushed a commit to branch master-svn
in repository grass.

commit d98e31ffd73b91eb26e2ee4a24ea3890e6d4186d
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 4bf2cde..819e1a2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -17,6 +17,7 @@ grass (7.1.svn20160409-1) UNRELEASED; urgency=medium
   * Enable PDAL support.
   * 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 12:50:12 +0200
 
diff --git a/debian/rules b/debian/rules
index c9bef36..fc89dfa 100755
--- a/debian/rules
+++ b/debian/rules
@@ -314,9 +314,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