[SCM] pyliblo packaging branch, master, updated. debian/0.8.1-1-8-gc952526

quadrispro-guest at users.alioth.debian.org quadrispro-guest at users.alioth.debian.org
Fri Apr 30 00:02:29 UTC 2010


The following commit has been merged in the master branch:
commit c952526a3c1e01d8c290f63ee48650d1e5f8343c
Author: Alessio Treglia <quadrispro at ubuntu.com>
Date:   Fri Apr 30 02:02:23 2010 +0200

    Tiny debian/rules file.

diff --git a/debian/rules b/debian/rules
index ad4dc24..abde6ef 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,59 +1,5 @@
 #!/usr/bin/make -f
 
-PYDEF=$(shell pyversions -d)
-PYVERS=$(shell pyversions -r)
-
-.PHONY: build binary install binary-indep binary-arch clean
-
-build:
-	dh_testdir
-	set -e; \
-	for python in $(PYVERS); do \
-		$$python setup.py build; \
-	done
-
-binary: binary-arch binary-indep
-
-install: build
-	dh_testdir
-	dh_testroot
-	dh_prep
-	dh_installdirs
-	set -e; \
-	for python in $(PYVERS); do \
-		if [ $$python = $(PYDEF) ]; then \
-			$$python setup.py install --root=debian/tmp; \
-		else \
-			$$python setup.py install_lib --install-dir=debian/tmp/usr/lib/$${python}/site-packages; \
-			$$python setup.py install_egg_info --install-dir=debian/tmp/usr/lib/$${python}/site-packages; \
-		fi \
-	done
-
-binary-indep: build install
-
-binary-arch: build install
-	dh_testdir
-	dh_testroot
-	dh_install --sourcedir=debian/tmp
-	dh_shlibdeps -ppython-liblo
-	dh_pysupport
-	dh_installdocs
-	dh_installman
-	dh_installchangelogs NEWS
-	dh_strip
-	dh_compress
-	dh_installdeb
-	dh_gencontrol
-	dh_fixperms
-	dh_md5sums
-	dh_builddeb
-
-clean:
-	dh_testdir
-	dh_testroot
-	for python in $(PYVERS); do \
-		$$python setup.py clean; \
-	done
-	rm -rf build
-	dh_clean
+%:
+	dh $@
 

-- 
pyliblo packaging



More information about the pkg-multimedia-commits mailing list