[Python-modules-commits] r8098 - in packages/xlwt/trunk/debian (changelog control rules)

jandd-guest at users.alioth.debian.org jandd-guest at users.alioth.debian.org
Sat Mar 28 17:32:59 UTC 2009


    Date: Saturday, March 28, 2009 @ 17:32:58
  Author: jandd-guest
Revision: 8098

build for default Python version only

Modified:
  packages/xlwt/trunk/debian/changelog
  packages/xlwt/trunk/debian/control
  packages/xlwt/trunk/debian/rules

Modified: packages/xlwt/trunk/debian/changelog
===================================================================
--- packages/xlwt/trunk/debian/changelog	2009-03-28 17:24:28 UTC (rev 8097)
+++ packages/xlwt/trunk/debian/changelog	2009-03-28 17:32:58 UTC (rev 8098)
@@ -1,3 +1,13 @@
+xlwt (0.7.1-2) UNRELEASED; urgency=low
+
+  * build for default Python version only
+  * debian/control:
+    - depend on python instead of python-all
+  * debian/rules:
+    - use default python instead of building for all available versions
+
+ -- Jan Dittberner <jan at dittberner.info>  Sat, 28 Mar 2009 18:28:29 +0100
+
 xlwt (0.7.1-1) unstable; urgency=low
 
   * new upstream version

Modified: packages/xlwt/trunk/debian/control
===================================================================
--- packages/xlwt/trunk/debian/control	2009-03-28 17:24:28 UTC (rev 8097)
+++ packages/xlwt/trunk/debian/control	2009-03-28 17:32:58 UTC (rev 8098)
@@ -4,7 +4,7 @@
 Maintainer: Jan Dittberner <jan at dittberner.info>
 Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
 Build-Depends: debhelper (>= 5.0.38)
-Build-Depends-Indep: python-all (>= 2.5.4-1~),
+Build-Depends-Indep: python (>= 2.5.4-1~),
  python-support (>= 0.6.4), python-setuptools (>= 0.6b3-1~)
 Standards-Version: 3.8.1
 Homepage: http://pypi.python.org/pypi/xlwt

Modified: packages/xlwt/trunk/debian/rules
===================================================================
--- packages/xlwt/trunk/debian/rules	2009-03-28 17:24:28 UTC (rev 8097)
+++ packages/xlwt/trunk/debian/rules	2009-03-28 17:32:58 UTC (rev 8098)
@@ -3,7 +3,7 @@
 #export DH_VERBOSE=1
 include /usr/share/python/python.mk
 
-PYVERS=$(shell pyversions -vr)
+PYVERS=$(shell pyversions -vd)
 
 
 clean:
@@ -11,16 +11,16 @@
 	dh_testroot
 	find . -name '*\.py[co]' -delete
 	-rm -r build
-	dh_clean $(PYVERS:%=install-python%)
+	dh_clean install-python
 
 build:
 
-install: $(PYVERS:%=install-python%)
-install-python%:
-	python$* setup.py install\
+install: install-python
+install-python:
+	python setup.py install\
 	  --no-compile --install-layout=deb\
 	  --root $(CURDIR)/debian/python-xlwt
-	rm -r $(CURDIR)/debian/python-xlwt$(call py_libdir,$*)/xlwt/examples
+	rm -r $(CURDIR)/debian/python-xlwt$(call py_libdir,$(PYVERS))/xlwt/examples
 	touch $@
 
 binary-indep: build install




More information about the Python-modules-commits mailing list