[Python-modules-commits] r11426 - in packages/python-html2text/trunk/debian (rules watch)
stefanor-guest at users.alioth.debian.org
stefanor-guest at users.alioth.debian.org
Fri Jan 29 21:29:41 UTC 2010
Date: Friday, January 29, 2010 @ 21:29:41
Author: stefanor-guest
Revision: 11426
Explain upstream version number insanity
Modified:
packages/python-html2text/trunk/debian/rules
packages/python-html2text/trunk/debian/watch
Modified: packages/python-html2text/trunk/debian/rules
===================================================================
--- packages/python-html2text/trunk/debian/rules 2010-01-29 21:17:17 UTC (rev 11425)
+++ packages/python-html2text/trunk/debian/rules 2010-01-29 21:29:41 UTC (rev 11426)
@@ -3,6 +3,8 @@
%:
dh $@
+# Mangling version is necessary, as upstream pretends that 2.2 < 2.29 < 2.291 < 2.3
+# We put a dot between every digit of the minor number.
export VER=$(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^-]+).*,\1,p')
get-orig-source:
Modified: packages/python-html2text/trunk/debian/watch
===================================================================
--- packages/python-html2text/trunk/debian/watch 2010-01-29 21:17:17 UTC (rev 11425)
+++ packages/python-html2text/trunk/debian/watch 2010-01-29 21:29:41 UTC (rev 11426)
@@ -1,5 +1,6 @@
version=3
-# Upstream has insane version numbers
+# Mangling version is necessary, as upstream pretends that 2.2 < 2.29 < 2.291 < 2.3
+# We put a dot between every digit of the minor number.
opts="uversionmangle=s/^(\d+)\.(\d)(\d+)/$1.$2.$3/;s/^(\d+)\.(\d).(\d)(\d+)/$1.$2.$3.$4/" \
http://www.aaronsw.com/2002/html2text/html2text-(.*)\.py
More information about the Python-modules-commits
mailing list