[Python-modules-commits] r18877 - in packages/tftpy/trunk/debian (changelog rules)

cgalisteo-guest at users.alioth.debian.org cgalisteo-guest at users.alioth.debian.org
Wed Oct 12 17:29:06 UTC 2011


    Date: Wednesday, October 12, 2011 @ 17:29:05
  Author: cgalisteo-guest
Revision: 18877

some fixes in debian/rules

Modified:
  packages/tftpy/trunk/debian/changelog
  packages/tftpy/trunk/debian/rules

Modified: packages/tftpy/trunk/debian/changelog
===================================================================
--- packages/tftpy/trunk/debian/changelog	2011-10-12 17:19:37 UTC (rev 18876)
+++ packages/tftpy/trunk/debian/changelog	2011-10-12 17:29:05 UTC (rev 18877)
@@ -1,3 +1,9 @@
+tftpy (0.6.0-3) UNRELEASED; urgency=low
+
+  * NOT RELEASED YET
+
+ -- Carlos Galisteo <cgalisteo at k-rolus.net>  Wed, 05 Oct 2011 10:20:42 +0200
+
 tftpy (0.6.0-2) unstable; urgency=low
 
   * migrated to dh_python2	

Modified: packages/tftpy/trunk/debian/rules
===================================================================
--- packages/tftpy/trunk/debian/rules	2011-10-12 17:19:37 UTC (rev 18876)
+++ packages/tftpy/trunk/debian/rules	2011-10-12 17:29:05 UTC (rev 18877)
@@ -1,7 +1,9 @@
 #!/usr/bin/make -f
 #export DH_VERBOSE=1
 
-PREFIX := debian/python-tftpy/usr
+PYVERS=$(shell pyversions -vr)
+pkgdir = $(CURDIR)/debian/python-tftpy
+-include /usr/share/python/python.mk
 
 clean:
 	dh_testdir
@@ -11,34 +13,33 @@
 	rm -rf build
 	dh_clean 
 
-build: build-arch build-indep
-build-arch: build-stamp
-build-indep: build-stamp
+build: 
+build-indep:
+build-arch: 
 build-stamp:
-	dh_testdir
 
-install: build
-	dh_testroot
-	dh_installdirs
-	python ./setup.py build_py --no-compile --build-lib \
-		$(PREFIX)/share/pyshared/python-tftpy
+install: $(PYVERS:%=install-python%)
+	dh_install
 
-binary-arch: build install
+install-python%:
+	python$* setup.py install $(py_setup_install_args) \
+                --root $(call pkgdir,$*)
 
 binary-indep: build install
-	dh_testdir
-	dh_testroot
+	dh_testdir -i
+	dh_testroot -i
 	dh_installchangelogs ChangeLog
-	dh_installdocs
-	dh_installexamples
-	dh_python2
-	dh_compress
-	dh_fixperms
-	dh_installdeb
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
+	dh_installdocs -i
+	dh_installexamples -i
+	dh_python2 -i
+	dh_compress -i
+	dh_fixperms -i
+	dh_installdeb -i 
+	dh_gencontrol -i
+	dh_md5sums -i
+	dh_builddeb -i
 
+binary-arch:
 binary: binary-indep binary-arch
 
-.PHONY: build clean binary-indep binary-arch binary install configure
+.PHONY: build-stamp build-arch build-indep binary binary-arch binary-indep install




More information about the Python-modules-commits mailing list