[Python-modules-commits] r13257 - in packages/pdfminer/trunk/debian (clean control rules)

jwilk at users.alioth.debian.org jwilk at users.alioth.debian.org
Sat Jun 5 23:12:58 UTC 2010


    Date: Saturday, June 5, 2010 @ 23:12:42
  Author: jwilk
Revision: 13257

Extract upstream changelog from docs/index.html.

Added:
  packages/pdfminer/trunk/debian/clean
Modified:
  packages/pdfminer/trunk/debian/control
  packages/pdfminer/trunk/debian/rules

Added: packages/pdfminer/trunk/debian/clean
===================================================================
--- packages/pdfminer/trunk/debian/clean	                        (rev 0)
+++ packages/pdfminer/trunk/debian/clean	2010-06-05 23:12:42 UTC (rev 13257)
@@ -0,0 +1 @@
+docs/changelog

Modified: packages/pdfminer/trunk/debian/control
===================================================================
--- packages/pdfminer/trunk/debian/control	2010-06-05 22:04:11 UTC (rev 13256)
+++ packages/pdfminer/trunk/debian/control	2010-06-05 23:12:42 UTC (rev 13257)
@@ -4,7 +4,8 @@
 Maintainer: Jakub Wilk <jwilk at debian.org>
 Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
 Build-Depends: debhelper (>= 7.0.50~),
-  python-all (>= 2.4), python-support (>= 0.90), python-nose
+  python-all (>= 2.4), python-support (>= 0.90), python-nose,
+  elinks | elinks-lite
 XS-Python-Version: >= 2.4
 Standards-Version: 3.8.4
 Homepage: http://www.unixuser.org/~euske/python/pdfminer/

Modified: packages/pdfminer/trunk/debian/rules
===================================================================
--- packages/pdfminer/trunk/debian/rules	2010-06-05 22:04:11 UTC (rev 13256)
+++ packages/pdfminer/trunk/debian/rules	2010-06-05 23:12:42 UTC (rev 13257)
@@ -25,6 +25,13 @@
 	done
 endif
 
+.PHONY: override_dh_installchangelogs
+override_dh_installchangelogs:
+	elinks -config-file /dev/null -dump -no-numbering -no-references docs/index.html \
+	| sed -n -e '/^Changes/,/^  ---/ { /^     / s/// p} ' \
+	> docs/changelog
+	dh_installchangelogs docs/changelog
+
 .PHONY: build build-arch build-indep binary binary-arch binary-indep clean
 build build-arch build-indep binary binary-indep clean:
 	dh $(@)




More information about the Python-modules-commits mailing list