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

jandd at users.alioth.debian.org jandd at users.alioth.debian.org
Wed Oct 21 14:10:19 UTC 2009


    Date: Wednesday, October 21, 2009 @ 14:10:11
  Author: jandd
Revision: 10166

switch to dh7

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

Modified: packages/xlwt/trunk/debian/changelog
===================================================================
--- packages/xlwt/trunk/debian/changelog	2009-10-21 13:26:09 UTC (rev 10165)
+++ packages/xlwt/trunk/debian/changelog	2009-10-21 14:10:11 UTC (rev 10166)
@@ -1,3 +1,18 @@
+xlwt (0.7.2-2) UNRELEASED; urgency=low
+
+  * NOT RELEASED YET
+  * switch to dh7
+  * debian/control:
+    - Build-Depends: require debhelper (>= 7.0.50)
+    - python-xlwt Depends: add ${misc:Depends}
+    - update Standards-Version to 3.8.3 (no changes needed)
+  * debian/rules:
+    - simplify rules using dh7 features
+  * debian/compat:
+    - 5 -> 7
+
+ -- Jan Dittberner <jandd at debian.org>  Fri, 24 Jul 2009 23:17:07 +0200
+
 xlwt (0.7.2-1) unstable; urgency=low
 
   * new upstream version

Modified: packages/xlwt/trunk/debian/compat
===================================================================
--- packages/xlwt/trunk/debian/compat	2009-10-21 13:26:09 UTC (rev 10165)
+++ packages/xlwt/trunk/debian/compat	2009-10-21 14:10:11 UTC (rev 10166)
@@ -1 +1 @@
-5
+7

Modified: packages/xlwt/trunk/debian/control
===================================================================
--- packages/xlwt/trunk/debian/control	2009-10-21 13:26:09 UTC (rev 10165)
+++ packages/xlwt/trunk/debian/control	2009-10-21 14:10:11 UTC (rev 10166)
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Jan Dittberner <jandd at debian.org>
 Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
-Build-Depends: debhelper (>= 5.0.38)
+Build-Depends: debhelper (>= 7.0.50)
 Build-Depends-Indep: python (>= 2.5.4-1~),
  python-support (>= 0.6.4), python-setuptools (>= 0.6b3-1~)
 Standards-Version: 3.8.2
@@ -14,7 +14,7 @@
 
 Package: python-xlwt
 Architecture: all
-Depends: ${python:Depends}, python-antlr
+Depends: ${python:Depends}, ${misc:Depends}, python-antlr
 Description: module for reading/writing Microsoft Excel spreadsheet files
  Xlwt is a Python module for generating .xls spreadsheet files compatible with
  Excel 97/2000/XP/2003, OpenOffice.org Calc, and Gnumeric. Excel spreadsheets

Modified: packages/xlwt/trunk/debian/rules
===================================================================
--- packages/xlwt/trunk/debian/rules	2009-10-21 13:26:09 UTC (rev 10165)
+++ packages/xlwt/trunk/debian/rules	2009-10-21 14:10:11 UTC (rev 10166)
@@ -2,45 +2,26 @@
 
 #export DH_VERBOSE=1
 include /usr/share/python/python.mk
-
 PYVERS=$(shell pyversions -vd)
 
 
-clean:
-	dh_testdir
-	dh_testroot
+%:
+	dh $@
+
+override_dh_auto_clean:
 	find . -name '*\.py[co]' -delete
-	-rm -r build
-	dh_clean install-python
+	rm -rf build
 
-build:
-
-install: install-python
-install-python:
-	python setup.py install\
-	  --no-compile --install-layout=deb\
-	  --root $(CURDIR)/debian/python-xlwt
+override_dh_install:
 	rm -r $(CURDIR)/debian/python-xlwt$(call py_libdir,$(PYVERS))/xlwt/examples
-	touch $@
+	dh_install
 
-binary-indep: build install
-	dh_testdir -i
-	dh_testroot -i
+override_dh_installchangelogs:
 	dh_installchangelogs -i HISTORY.html
-	dh_installdocs -i
-	dh_installexamples -i
-	dh_pysupport -i
+
+override_dh_compress:
 	dh_compress -i -X.py
-	dh_fixperms -i
-	dh_installdeb -i
-	dh_gencontrol -i
-	dh_md5sums -i
-	dh_builddeb -i -- -Z bzip2
 
-binary-arch:
-
-binary: binary-indep binary-arch
-
 get-orig-source:
 	REV=$(shell dpkg-parsechangelog | sed -rne 's,^Version: .*svn([^-]+).*,\1,p'); \
 	VER=$(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^-]+).*,\1,p'); \
@@ -57,4 +38,4 @@
 	  rm -rf xlwt-r$$REV; \
 	fi
 
-.PHONY: build clean binary-indep binary-arch binary install get-orig-source
+.PHONY: get-orig-source




More information about the Python-modules-commits mailing list