[SCM] Pivy - a Coin binding for Python packaging branch, master, updated. debian/0.5.0_v609hg-2-6-g5d2a510

Anton Gladky gladky.anton at gmail.com
Sat Jul 6 22:08:03 UTC 2013


The following commit has been merged in the master branch:
commit 6a8ffdace3f832f35906e8347d0f837c0392c8a6
Author: Anton Gladky <gladky.anton at gmail.com>
Date:   Sat Jul 6 23:05:44 2013 +0200

    Use dh 9. Clean debian/rules.

diff --git a/debian/compat b/debian/compat
index 7f8f011..ec63514 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-7
+9
diff --git a/debian/control b/debian/control
index d1dfdce..f10e15c 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: python
 Priority: extra
 Maintainer: Debian Science Maintainers <debian-science-maintainers at lists.alioth.debian.org>
 Uploaders: Teemu Ikonen <tpikonen at gmail.com>
-Build-Depends: debhelper (>= 7), python-support, python-all-dev,
+Build-Depends: debhelper (>= 9), python-support, python-all-dev,
  libsoqt4-dev (>= 1.5.0-2.1), libcoin80-dev, libsimage-dev, swig
 Standards-Version: 3.9.4
 Vcs-Git: git://anonscm.debian.org/debian-science/packages/pivy.git
diff --git a/debian/rules b/debian/rules
index 67d5736..4647c9c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,43 +1,4 @@
 #!/usr/bin/make -f
 
-CFLAGS = -Wall -g
-SRCURL = http://hg.sim.no/Pivy/default/archive/8eab90908f2a.tar.bz2
-VERSION= $(shell dpkg-parsechangelog | sed -rne 's,^Version: *(.*),\1,p')
-UPVER  = $(shell echo ${VERSION} | sed -rne 's,(.*hg)-[0-9]*,\1,p')
-
-get-orig-source:
-	dh_testdir
-	wget -O pivy_${UPVER}.orig.tar.bz2 ${SRCURL}
-
-build: build-arch build-indep
-build-arch: build-stamp
-build-indep: build-stamp
-build-stamp:
-	dh_testdir
-	dh_prep
-	python setup.py build
-	touch $@
-
-clean:
-	dh_testdir
-	dh_testroot
-	rm -f build-stamp install-stamp
-	dh clean
-
-install: build install-stamp
-install-stamp:
-	dh_testdir
-	dh_testroot
-	dh_installdirs
-	python setup.py install --no-compile --root debian/python-pivy
-	dh install --after dh_installdirs
-	touch install-stamp
-
-binary-indep: build install
-	dh binary-indep
-
-binary-arch: build install
-	dh binary-arch
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install
+%:
+	dh $@ --with python2

-- 
Pivy - a Coin binding for Python packaging



More information about the debian-science-commits mailing list