[pdal] 02/02: Override dh_python2 to call dh_numpy too.

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Mon Mar 28 16:48:06 UTC 2016


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

sebastic pushed a commit to branch master
in repository pdal.

commit 09671a996cfcb29288f11f5f7bb1053270d10163
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Mon Mar 28 16:14:10 2016 +0200

    Override dh_python2 to call dh_numpy too.
---
 debian/changelog | 1 +
 debian/control   | 4 +++-
 debian/rules     | 6 +++++-
 3 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index c7b0c7c..5c4a011 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 pdal (1.1.0-5) UNRELEASED; urgency=medium
 
   * Fix libpdal-dev suggests.
+  * Override dh_python2 to call dh_numpy too.
 
  -- Bas Couwenberg <sebastic at debian.org>  Thu, 24 Mar 2016 21:17:07 +0100
 
diff --git a/debian/control b/debian/control
index 9837ee3..8a95530 100644
--- a/debian/control
+++ b/debian/control
@@ -4,6 +4,7 @@ Priority: optional
 Maintainer: Debian GIS Project <pkg-grass-devel at lists.alioth.debian.org>
 Uploaders: Bas Couwenberg <sebastic at debian.org>
 Build-Depends: debhelper (>= 9),
+               dh-python,
                autotools-dev,
                chrpath,
                cmake (>= 3.0),
@@ -320,7 +321,8 @@ Description: Point Data Abstraction Library - PostgreSQL PointCloud plugin
 Package: libpdal-plugin-python
 Architecture: any
 Section: libs
-Depends: ${shlibs:Depends},
+Depends: ${python:Depends},
+         ${shlibs:Depends},
          ${misc:Depends}
 Description: Point Data Abstraction Library - Python plugin
  PDAL is a BSD licensed library for translating and manipulating point
diff --git a/debian/rules b/debian/rules
index 9bbc74a..b67aaf1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -14,7 +14,7 @@ SPHINX_BUILD_DATE = $(shell dpkg-parsechangelog | sed -ne 's/^Date: //p' | LC_AL
 MANPAGES := $(wildcard debian/man/*.*.xml)
 
 %:
-	dh $@ --with pkgkde_symbolshelper,sphinxdoc --parallel
+	dh $@ --with python2,pkgkde_symbolshelper,sphinxdoc --parallel
 
 override_dh_clean:
 	if [ -e debian/gtest.config.guess ]; then \
@@ -76,6 +76,10 @@ override_dh_auto_install:
 override_dh_install:
 	dh_install --list-missing
 
+override_dh_python2:
+	dh_python2 -plibpdal-plugin-python
+	dh_numpy -plibpdal-plugin-python
+
 override_dh_makeshlibs:
 	dh_makeshlibs -- -v$(UPSTREAM_VERSION) -c0
 

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



More information about the Pkg-grass-devel mailing list