[Pkg-scicomp-commits] openturns/trunk/debian
Christophe Prud'homme
prudhomm at debian.org
Tue Jul 21 11:49:01 UTC 2009
SVN commit 4529 by prudhomm:
1st try at improving python support
M +4 -4 openturns/trunk/debian/python-openturns.install
M +9 -1 openturns/trunk/debian/rules
--- openturns/trunk/debian/python-openturns.install #4528:4529
@@ -1,5 +1,5 @@
-debian/tmp/usr/lib/python2.5/site-packages/openturns.pth usr/lib/python2.5/site-packages/openturns
-debian/tmp/usr/lib/python2.5/site-packages/openturns/*.py usr/lib/python2.5/site-packages/openturns
-debian/tmp/usr/lib/python2.5/site-packages/openturns/_* usr/lib/python2.5/site-packages/openturns
-debian/tmp/usr/lib/python2.5/site-packages/openturns/openturns_preload* usr/lib/python2.5/site-packages/openturns
+debian/tmp/usr/lib/python*/site-packages/openturns.pth
+debian/tmp/usr/lib/python*/site-packages/openturns/*.py
+debian/tmp/usr/lib/python*/site-packages/openturns/_*
+debian/tmp/usr/lib/python*/site-packages/openturns/openturns_preload*
--- openturns/trunk/debian/rules #4528:4529
@@ -1,12 +1,16 @@
#!/usr/bin/make -f
+DEB_PYTHON_SYSTEM=pycentral
+
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/autotools.mk
+include /usr/share/cdbs/1/class/python-distutils.mk
DEB_AUTO_CLEANUP_RCS := yes
DEB_MAKE_CLEAN_TARGET := clean
DEB_COMPRESS_EXCLUDE := .pdf .svn
+
DEB_CONFIGURE_EXTRA_FLAGS := --enable-lib --enable-python --enable-doc --disable-debug \
--host=$(DEB_HOST_GNU_TYPE) \
--build=$(DEB_BUILD_GNU_TYPE) \
@@ -43,8 +47,12 @@
install/python-openturns::
mkdir -p $(debRlib)
- R CMD INSTALL -l $(debRlib) --clean $(extraInstallFlags) debian/rotRPackage
+ R CMD INSTALL -l $(debRlib) --clean $(extraInstallFlags) debian/rotRPackage
+binary-install/python-openturns::
+ dh_pycentral -ppython-openturns
+ dh_python -ppython-openturns
+
get-orig-source:
uscan --force-download --verbose
mv ../openturn*.tar.[gzbz2]* ../tarballs
More information about the Pkg-scicomp-commits
mailing list