[doris] 11/14: Install python modules

Antonio Valentino a_valentino-guest at moszumanska.debian.org
Mon Aug 7 17:57:36 UTC 2017


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

a_valentino-guest pushed a commit to branch master
in repository doris.

commit c6eba366288a09ca03e875a88c95362ef7347688
Author: Antonio Valentino <antonio.valentino at tiscali.it>
Date:   Mon Aug 7 08:07:08 2017 +0000

    Install python modules
---
 debian/changelog |  2 ++
 debian/control   | 17 ++++++++++++++++-
 debian/rules     |  4 ++--
 3 files changed, 20 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index cd5dcc0..c218453 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -15,6 +15,8 @@ doris (5.0.3~beta+dfsg-1) UNRELEASED; urgency=medium
     - add new files (GPL-3+)
   * debian/control
     - standard version bumped to v4.0.0 (no change)
+    - specify Python version
+    - update dependenvy list
   * debiam/patches
     - drop 0005-compatibility-with-gcc-4.8.x.patch (applied upstream)
     - refresh remaining patches
diff --git a/debian/control b/debian/control
index 92a1f9e..dd798ce 100644
--- a/debian/control
+++ b/debian/control
@@ -3,6 +3,7 @@ Maintainer: Debian GIS Project <pkg-grass-devel at lists.alioth.debian.org>
 Uploaders: Antonio Valentino <antonio.valentino at tiscali.it>
 Section: contrib/science
 Priority: optional
+X-Python-Version: >= 2.6
 Build-Depends: debhelper (>= 9.0.0),
                dh-python,
                csh | c-shell,
@@ -10,7 +11,14 @@ Build-Depends: debhelper (>= 9.0.0),
                liblapack-dev,
                libtriangle-dev,
                libepr-api2-dev,
-               python-all
+               python-all,
+               python-numpy,
+               python-scipy,
+               python-gdal,
+               python-fastkml,
+               python-fiona,
+               python-shapely,
+               python-requests
 Standards-Version: 4.0.0
 Vcs-Browser: https://anonscm.debian.org/cgit/pkg-grass/doris.git
 Vcs-Git: https://anonscm.debian.org/git/pkg-grass/doris.git
@@ -23,6 +31,13 @@ Depends: ${shlibs:Depends},
          ${python:Depends},
          python,
          python-lxml,
+         python-numpy,
+         python-scipy,
+         python-gdal,
+         python-fastkml,
+         python-fiona,
+         python-shapely,
+         python-requests,
          libxslt1.1,
          gdal-bin,
          gawk | mawk,
diff --git a/debian/rules b/debian/rules
index 49a3a35..9b64dfd 100755
--- a/debian/rules
+++ b/debian/rules
@@ -26,7 +26,7 @@ EXTRA_FLAGS = -Wno-deprecated -D__USE_FFTW_LIBRARY__ -D__USE_LAPACK_LIBRARY__ -D
 
 
 %:
-	dh $@
+	dh $@ --with python2
 
 override_dh_auto_configure:
 	if [ ! -f doris_core/Makefile.bak ]; then \
@@ -65,7 +65,7 @@ override_dh_auto_install:
 	install -D --mode=0644 bin/README_CSK.txt \
 		debian/doris/usr/share/doc/doris/README_CSK.txt
 
-	dh_auto_install -- INSTALLDIR=../debian/doris/usr/lib/doris
+	dh_auto_install
 
 	install -D --mode=0644 debian/overrides debian/doris/usr/share/lintian/overrides/doris
 

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



More information about the Pkg-grass-devel mailing list