[netcdf4-python] 07/10: Set HDF5_{INC, LIB}DIR and enable parallel builds.

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Fri Mar 20 15:59:48 UTC 2015


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

sebastic pushed a commit to branch master
in repository netcdf4-python.

commit a07ea86c8baf5bf12801b621f574608b0ef147c0
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Fri Mar 20 16:06:20 2015 +0100

    Set HDF5_{INC,LIB}DIR and enable parallel builds.
---
 debian/rules | 23 ++++++++---------------
 1 file changed, 8 insertions(+), 15 deletions(-)

diff --git a/debian/rules b/debian/rules
index eb2d45f..2186466 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,22 +1,15 @@
 #!/usr/bin/make -f
 
-DH_VERBOSE := 1
+#DH_VERBOSE := 1
 
-# some helpful variables - uncomment them if needed
-# shamelessly stolen from http://jmtd.net/log/awk/
-#DEBVERS        := $(shell dpkg-parsechangelog | awk '/^Version:/ {print $$2}')
-#VERSION        := $(shell echo '$(DEBVERS)' | sed -e 's/^[0-9]*://' -e 's/-.*//')
-#DEBFLAVOR      := $(shell dpkg-parsechangelog | awk '/^Distribution:/ {print $$2}')
-#DEBPKGNAME     := $(shell dpkg-parsechangelog | awk '/^Source:/ {print $$2}')
-#DEBIAN_BRANCH  := $(shell awk 'BEGIN{FS="[= ]+"} /debian-branch/ {print $$2}' debian/gbp.conf)
-#GIT_TAG        := $(subst ~,_,$(VERSION))
+export HDF5_INCDIR=/usr/include/hdf5/serial
+export HDF5_LIBDIR=/usr/lib/$(DEB_HOST_MULTIARCH)/hdf5/serial
 
 export USE_NCCONFIG=1
 
-# alternatively to manually set those variables you can
-#  include /usr/share/cdbs/1/rules/buildvars.mk
-# and use what is set there.  Any hint whether dh might set variables in
-# a similar manner are welcome.
-
 %:
-	dh $@ --with python2 --buildsystem=pybuild
+	dh $@ \
+	  --with python2 \
+	  --buildsystem=pybuild \
+	  --parallel
+

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



More information about the Pkg-grass-devel mailing list