[pygrib] 05/07: Fixes for chrpath

Alastair McKinstry mckinstry at moszumanska.debian.org
Thu Jun 25 15:51:44 UTC 2015


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

mckinstry pushed a commit to tag unstable/2.0.0-1
in repository pygrib.

commit c9cad8909f36f61ec8977cf9c26bd9d3444eb774
Author: Alastair McKinstry <mckinstry at debian.org>
Date:   Fri Jun 19 20:23:44 2015 +0100

    Fixes for chrpath
---
 debian/control | 3 ++-
 debian/rules   | 7 ++++++-
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/debian/control b/debian/control
index af7fa1d..d960bf4 100644
--- a/debian/control
+++ b/debian/control
@@ -2,7 +2,7 @@ Source: pygrib
 Section: python
 Priority: optional
 Maintainer: Alastair McKinstry <mckinstry at debian.org>
-Build-Depends: debhelper (>= 9), 
+Build-Depends: debhelper (>= 9), chrpath,
  python-all-dev (>=2.6.6-3~), 
  libgrib-api-dev, libgrib2c-dev, 
  python-numpy (>= 1:1.6.1) , 
@@ -11,6 +11,7 @@ Standards-Version: 3.9.6
 X-Python-Version: >= 2.6
 X-Python3-Version: >= 3.2
 Homepage: https://code.google.com/p/pygrib/
+Vcs-Git:  git://git.debian.org/git/debian-science/packages/pygrib.git
 
 Package: python-grib
 Architecture: any
diff --git a/debian/rules b/debian/rules
index 69c8931..5b58020 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,8 @@
 #!/usr/bin/make -f
 
-# export DH_VERBOSE=1
+export DH_VERBOSE=1
+
+export PYBUILD_NAME=grib
 
 # The magic debhelper  rule
 %:
@@ -17,8 +19,11 @@ install-python%:
 override_dh_auto_install: 
 	dh_auto_install
 	dh_installchangelogs debian/changelog.upstream
+	dh_python
+	dh_python3
 	dh_numpy
 	dh_numpy3
+	chrpath -d debian/python-grib/usr/lib/python2.7/dist-packages/*.so
 
 override_dh_auto_clean:
 	dh_auto_clean

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/pygrib.git



More information about the debian-science-commits mailing list