[Python-modules-commits] r12741 - in packages/scipy/trunk/debian (5 files)
dktrkranz at users.alioth.debian.org
dktrkranz at users.alioth.debian.org
Sun Apr 25 12:55:29 UTC 2010
Date: Sunday, April 25, 2010 @ 12:55:19
Author: dktrkranz
Revision: 12741
Switch to debhelper 7
Modified:
packages/scipy/trunk/debian/changelog
packages/scipy/trunk/debian/compat
packages/scipy/trunk/debian/control
packages/scipy/trunk/debian/python-scipy.docs
packages/scipy/trunk/debian/rules
Modified: packages/scipy/trunk/debian/changelog
===================================================================
--- packages/scipy/trunk/debian/changelog 2010-04-25 12:53:53 UTC (rev 12740)
+++ packages/scipy/trunk/debian/changelog 2010-04-25 12:55:19 UTC (rev 12741)
@@ -1,9 +1,10 @@
python-scipy (0.7.1-2) UNRELEASED; urgency=low
+ * Switch to debhelper 7.
* debian/control:
- Add myself to Uploaders.
- -- Luca Falavigna <dktrkranz at debian.org> Sun, 25 Apr 2010 12:55:43 +0200
+ -- Luca Falavigna <dktrkranz at debian.org> Sun, 25 Apr 2010 13:13:23 +0200
python-scipy (0.7.1-1) unstable; urgency=low
Modified: packages/scipy/trunk/debian/compat
===================================================================
--- packages/scipy/trunk/debian/compat 2010-04-25 12:53:53 UTC (rev 12740)
+++ packages/scipy/trunk/debian/compat 2010-04-25 12:55:19 UTC (rev 12741)
@@ -1 +1 @@
-5
+7
Modified: packages/scipy/trunk/debian/control
===================================================================
--- packages/scipy/trunk/debian/control 2010-04-25 12:53:53 UTC (rev 12740)
+++ packages/scipy/trunk/debian/control 2010-04-25 12:55:19 UTC (rev 12741)
@@ -3,8 +3,8 @@
Priority: extra
Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
Uploaders: Alexandre Fayolle <afayolle at debian.org>, Ondrej Certik <ondrej at certik.cz>, David Cournapeau <cournape at gmail.com>, Luca Falavigna <dktrkranz at debian.org>
-Build-Depends: debhelper (>= 5.0.37.2), dpkg-dev (>= 1.13.19),
- python-all-dev (>= 2.5.4-1~), python-central (>= 0.5), python-numpy (>= 1:1.2.0), gfortran,
+Build-Depends: debhelper (>= 7.0.50~), python-all-dev (>= 2.5.4-1~),
+ python-central (>= 0.6.7), python-numpy (>= 1:1.2.0), gfortran,
sharutils, swig, libsuitesparse-dev (>= 3.1.0-3),
libblas-dev | libatlas-base-dev, liblapack-dev | libatlas-base-dev
XS-Python-Version: all
Modified: packages/scipy/trunk/debian/python-scipy.docs
===================================================================
--- packages/scipy/trunk/debian/python-scipy.docs 2010-04-25 12:53:53 UTC (rev 12740)
+++ packages/scipy/trunk/debian/python-scipy.docs 2010-04-25 12:55:19 UTC (rev 12741)
@@ -1,2 +1 @@
-THANKS.txt
-debian/README.Debian
+THANKS.txt
Modified: packages/scipy/trunk/debian/rules
===================================================================
--- packages/scipy/trunk/debian/rules 2010-04-25 12:53:53 UTC (rev 12740)
+++ packages/scipy/trunk/debian/rules 2010-04-25 12:55:19 UTC (rev 12741)
@@ -1,79 +1,33 @@
#!/usr/bin/make -f
-# Sample debian/rules that uses debhelper.
-# GNU copyright 1997 to 1999 by Joey Hess.
-# Changes for python-opengl by Enrique Zanardi
-# Changes for python-opengl2 by Thomas Wouters
-# Changes for python-scipy by José Fonseca
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
-include /usr/share/python/python.mk
-
unexport LDFLAGS
export FFLAGS="-fPIC"
export ATLAS=None
PYVERS:= $(shell pyversions -v -r debian/control)
BASE=$(shell pwd)/debian
-#debian_patches= umfpack signals viewer sandbox #fft python23 amd64
-build: build-stamp
-build-stamp:
- dh_testdir
-# We do the actual compilation in install to avoid cloberring
-# scipy.so
- touch build-stamp
+%:
+ dh --with python-central $@
-clean: clean-patched
-
-clean-patched:
- dh_testdir
- dh_testroot
- rm -f build-stamp
+override_dh_auto_clean:
rm -rf build
find . -name "*.pyc" -exec rm {} \;
- dh_clean
-install-ver:
-install: build
- dh_testdir
- dh_testroot
- dh_clean -k
- dh_installdirs -A
-
+override_dh_auto_install:
set -e; for v in $(PYVERS); do \
d=$(BASE)/python-scipy; \
mkdir -m 755 -p $$d/usr/share/doc/python-scipy; \
python$$v setup.py config_fc --noarch build; \
python$$v setup.py install --prefix $$d/usr \
- --no-compile $(py_setup_install_args); \
+ --no-compile --install-layout=deb; \
rm -f $$d/usr/lib/python$$v/*-packages/scipy/LICENSE.txt;\
python$$v setup.py clean --all; \
done
-
- #mv Lib/weave/examples/ $(BASE)/python-scipy/usr/share/doc/python-scipy/weave
- #rm $(BASE)/python-scipy/usr/share/doc/python-scipy/weave/examples/*.so
- #mv Lib/weave/doc $(BASE)/python-scipy/usr/share/doc/python-scipy/weave
-
rm -fr $(BASE)/python-scipy/usr/lib/python2.*/*-packages/scipy/weave/examples/
-# Build architecture-independent files here.
-binary-indep:
-
-# Build architecture-dependent files here.
-binary-arch: build install
- dh_testdir -a
- dh_testroot -a
- dh_installdocs -a -A
- dh_installchangelogs -a
- dh_installman -a
- dh_pycentral -a
- dh_link -a
- dh_strip -a
- dh_compress -a
- dh_fixperms -a
-
+override_dh_fixperms:
+ dh_fixperms
set -e; for i in `find debian -mindepth 2 -type f ! -perm 755`; do \
if head -1 $$i | grep -q '^#!' ; then \
chmod +x $$i; \
@@ -81,11 +35,3 @@
done
sed -i '1s|.|#!/usr/bin/python\n&|' $(BASE)/python-scipy/`pycentral pycentraldir python-scipy`/scipy/cluster/tests/vq_test.py
sed -i '1s|.|#!/usr/bin/python\n&|' $(BASE)/python-scipy/`pycentral pycentraldir python-scipy`/scipy/stats/tests/test_stats.py
- dh_installdeb -a
- dh_shlibdeps -a
- dh_gencontrol -a
- dh_md5sums -a
- dh_builddeb -a
-
-binary: binary-arch
-.PHONY: build clean binary-indep binary-arch binary install
More information about the Python-modules-commits
mailing list