[Python-modules-commits] r7166 - in packages/python-dhm/trunk/debian (changelog control rules)

morph at users.alioth.debian.org morph at users.alioth.debian.org
Wed Dec 24 13:36:05 UTC 2008


    Date: Wednesday, December 24, 2008 @ 13:36:05
  Author: morph
Revision: 7166

  - build-depends only on python (it's an arch:all package)
* debian/rules
  - simplified since we need only to build with a python interpreter (not all
    those supported)

Modified:
  packages/python-dhm/trunk/debian/changelog
  packages/python-dhm/trunk/debian/control
  packages/python-dhm/trunk/debian/rules

Modified: packages/python-dhm/trunk/debian/changelog
===================================================================
--- packages/python-dhm/trunk/debian/changelog	2008-12-24 13:24:35 UTC (rev 7165)
+++ packages/python-dhm/trunk/debian/changelog	2008-12-24 13:36:05 UTC (rev 7166)
@@ -5,8 +5,12 @@
     - updated my email address
     - bump Standards-Version to 3.8.0 (no changes needed)
     - added ${misc:Depends} to binary package Depends
+    - build-depends only on python (it's an arch:all package)
+  * debian/rules
+    - simplified since we need only to build with a python interpreter (not all
+      those supported)
 
- -- Sandro Tosi <morph at debian.org>  Wed, 24 Dec 2008 14:15:44 +0100
+ -- Sandro Tosi <morph at debian.org>  Wed, 24 Dec 2008 14:27:59 +0100
 
 python-dhm (0.6-2) unstable; urgency=low
 

Modified: packages/python-dhm/trunk/debian/control
===================================================================
--- packages/python-dhm/trunk/debian/control	2008-12-24 13:24:35 UTC (rev 7165)
+++ packages/python-dhm/trunk/debian/control	2008-12-24 13:36:05 UTC (rev 7166)
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
 Uploaders: Sandro Tosi <morph at debian.org>
-Build-Depends: debhelper (>= 5.0.37.2), python-all (>= 2.3.5-11)
+Build-Depends: debhelper (>= 5.0.37.2), python
 Build-Depends-Indep: python-support (>= 0.3)
 Standards-Version: 3.8.0
 Homepage: http://www.wiggy.net/code/python-dhm/

Modified: packages/python-dhm/trunk/debian/rules
===================================================================
--- packages/python-dhm/trunk/debian/rules	2008-12-24 13:24:35 UTC (rev 7165)
+++ packages/python-dhm/trunk/debian/rules	2008-12-24 13:36:05 UTC (rev 7166)
@@ -3,30 +3,20 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
-PYVERS := $(shell pyversions -r)
-
 build: build-stamp
-build-stamp: $(PYVERS:%=build-ext-%)
-	touch $@
-
-build-ext-%:
+build-stamp:
 	dh_testdir
-	$* setup.py build
+	python setup.py build
 	touch $@
 
-clean: $(PYVERS:%=clean-ext-%)
+clean:
 	dh_testdir
-	rm -f build-stamp
-	dh_clean
+	python setup.py clean --all
+	dh_clean build-stamp
 
-clean-ext-%:
-	dh_testdir
-	$* setup.py clean --all
+install: build
+	python setup.py install --root $(CURDIR)/debian/python-dhm
 
-install: build $(PYVERS:%=install-ext-%)
-install-ext-%:
-	$* setup.py install --root $(CURDIR)/debian/python-dhm
-
 # Build architecture-independent files here.
 binary-arch: 
 # We have nothing to do by default.
@@ -48,4 +38,4 @@
 	dh_builddeb
 
 binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install configure
+.PHONY: build clean binary-indep binary-arch binary install




More information about the Python-modules-commits mailing list