[med-svn] r6595 - trunk/packages/mgltools/bhtree/trunk/debian
Andreas Tille
tille at alioth.debian.org
Tue Apr 19 20:34:14 UTC 2011
Author: tille
Date: 2011-04-19 20:34:03 +0000 (Tue, 19 Apr 2011)
New Revision: 6595
Modified:
trunk/packages/mgltools/bhtree/trunk/debian/changelog
trunk/packages/mgltools/bhtree/trunk/debian/control
trunk/packages/mgltools/bhtree/trunk/debian/rules
Log:
Fix build problem and upload to unstable
Modified: trunk/packages/mgltools/bhtree/trunk/debian/changelog
===================================================================
--- trunk/packages/mgltools/bhtree/trunk/debian/changelog 2011-04-19 19:29:51 UTC (rev 6594)
+++ trunk/packages/mgltools/bhtree/trunk/debian/changelog 2011-04-19 20:34:03 UTC (rev 6595)
@@ -1,12 +1,13 @@
-mgltools-bhtree (1.5.4.cvs.20100912-2) UNRELEASED; urgency=low
+mgltools-bhtree (1.5.4.cvs.20100912-2) unstable; urgency=low
* Debhelper 8 (control+compat)
* debian/source/format: 3.0 (quilt)
- * debian/control: Build-Depends: python (>= 2.6) to enable
+ * debian/control: Build-Depends: python-all-dev (>= 2.6) to enable
python-support2
* debian/rules: switch to short dh syntax which makes
dh_python2 easy
Closes: #616887
+ * debian/rules: Iterate over Python versions
-- Andreas Tille <tille at debian.org> Thu, 07 Apr 2011 12:27:24 +0200
Modified: trunk/packages/mgltools/bhtree/trunk/debian/control
===================================================================
--- trunk/packages/mgltools/bhtree/trunk/debian/control 2011-04-19 19:29:51 UTC (rev 6594)
+++ trunk/packages/mgltools/bhtree/trunk/debian/control 2011-04-19 20:34:03 UTC (rev 6595)
@@ -6,7 +6,7 @@
XS-Autobuild: yes
Uploaders: Steffen Moeller <moeller at debian.org>, Sargis Dallakyan <sargis at scripps.edu>,
Andreas Tille <tille at debian.org>
-Build-Depends: debhelper (>= 8), python-dev (>= 2.6), python-numpy, swig (>= 1.3.20)
+Build-Depends: debhelper (>= 8), python-all-dev (>= 2.6), python-numpy, swig (>= 1.3.20)
Standards-Version: 3.9.1
XS-Python-Version: >= 2.5
Vcs-Browser: http://svn.debian.org/wsvn/debian-med/trunk/packages/mgltools/bhtree/trunk/?rev=0&sc=0
Modified: trunk/packages/mgltools/bhtree/trunk/debian/rules
===================================================================
--- trunk/packages/mgltools/bhtree/trunk/debian/rules 2011-04-19 19:29:51 UTC (rev 6594)
+++ trunk/packages/mgltools/bhtree/trunk/debian/rules 2011-04-19 20:34:03 UTC (rev 6595)
@@ -5,6 +5,8 @@
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
+PYVERS := $(shell pyversions -vs)
+
%:
dh $@ --with python2
@@ -12,3 +14,10 @@
dh_clean
find . -name CVS -a -type d| xargs -r rm -r
rm -rf build build-stamp debian/Pmv
+ rm -rf debian/tmpbuild
+ rm -rf bhtree/bhtreelib.py bhtree/bhtreelib_wrap.c
+
+override_dh_auto_build:
+ for i in $(PYVERS); do \
+ python$$i setup.py install --install-platlib=`pwd`/debian/tmpbuild; \
+ done
More information about the debian-med-commit
mailing list