[SCM] Packaging for pytables branch, master, updated. debian/2.3.1-2-10-gc564e02
Antonio Valentino
antonio.valentino at tiscali.it
Sat Feb 18 21:59:54 UTC 2012
The following commit has been merged in the master branch:
commit c564e02cced0b07d9356bdddd5840f058022b65b
Author: Antonio Valentino <antonio.valentino at tiscali.it>
Date: Thu Feb 16 00:09:10 2012 +0100
Honor nodoc and noopt DEB_BUILD_OPTIONS
diff --git a/debian/changelog b/debian/changelog
index fbed1fb..15c27df 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,12 +4,13 @@ pytables (2.3.1-3) unstable; urgency=low
* Set Vcs-* fields in the control file (Closes: 657766)
* Enabled bzip2 and lzo compressors (Closes: #657789)
* Provide -dbg package (Closes: #399332)
+ * Honor nodoc and noopt DEB_BUILD_OPTIONS (Closes: 660001)
[ Yaroslav Halchenko ]
* Patch up_skip_multiprocessing_test_on_gnu to disable test on Hurd and
kFreeBSD systems -- multiprocessing locking seems to be N/A
- -- Antonio Valentino <antonio.valentino at tiscali.it> Sat, 18 Feb 2012 20:06:04 +0100
+ -- Antonio Valentino <antonio.valentino at tiscali.it> Sat, 18 Feb 2012 22:31:41 +0100
pytables (2.3.1-2) unstable; urgency=low
diff --git a/debian/rules b/debian/rules
index a7f9fda..62894d7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,6 +5,9 @@
#export DH_VERBOSE=1
export LDFLAGS ?= -L/usr/lib/$(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+export CFLAGS ?= -O0
+endif
PYVERS=$(shell pyversions -vs)
%:
@@ -12,8 +15,15 @@ PYVERS=$(shell pyversions -vs)
override_dh_auto_build:
+ifeq (,$(findstring nodoc,$(DEB_BUILD_OPTIONS)))
$(MAKE)
mv doc/usersguide-?.?.?.pdf doc/usersguide.pdf
+else
+ $(MAKE) ANNOUNCE.txt
+ $(MAKE) -C src all
+ mkdir -p doc/html
+ touch doc/usersguide.pdf
+endif
dh_auto_build --buildsystem=python_distutils
@@ -26,7 +36,9 @@ override_dh_auto_clean:
override_dh_sphinxdoc:
+ifeq (,$(findstring nodoc,$(DEB_BUILD_OPTIONS)))
dh_sphinxdoc -ppython-tables-doc
+endif
override_dh_installchangelogs:
@@ -47,9 +59,6 @@ override_dh_install:
# Continue with regular dh_install
dh_install
dh_numpy
-
-
-override_dh_aoto_test:
ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
set -e -x; \
for py in $(PYVERS); do \
@@ -61,5 +70,4 @@ endif
.PHONY: override_dh_auto_build override_dh_auto_clean override_dh_sphinxdoc \
- override_dh_install override_dh_installchangelogs override_dh_compress \
- override_dh_auto_test
+ override_dh_install override_dh_installchangelogs override_dh_compress
--
Packaging for pytables
More information about the debian-science-commits
mailing list