[Python-modules-commits] r3347 - in /packages/html5lib/trunk/debian: control patches/00list patches/test-encoding-fix.dpatch rules
bzed-guest at users.alioth.debian.org
bzed-guest at users.alioth.debian.org
Mon Oct 1 08:21:54 UTC 2007
Author: bzed-guest
Date: Mon Oct 1 08:21:54 2007
New Revision: 3347
URL: http://svn.debian.org/wsvn/python-modules/?sc=1&rev=3347
Log:
several updates to the packaging stuff...
Added:
packages/html5lib/trunk/debian/patches/test-encoding-fix.dpatch (with props)
Modified:
packages/html5lib/trunk/debian/control
packages/html5lib/trunk/debian/patches/00list
packages/html5lib/trunk/debian/rules
Modified: packages/html5lib/trunk/debian/control
URL: http://svn.debian.org/wsvn/python-modules/packages/html5lib/trunk/debian/control?rev=3347&op=diff
==============================================================================
--- packages/html5lib/trunk/debian/control (original)
+++ packages/html5lib/trunk/debian/control Mon Oct 1 08:21:54 2007
@@ -3,8 +3,8 @@
Priority: optional
Maintainer: Bernd Zeimetz <bernd at bzed.de>
Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
-Build-Depends: debhelper (>= 5), python, python-support (>= 0.4), dpatch
-Build-Depends-Indep: python-xml, python-lxml, python-celementtree, python-elementtree, python-simplejson
+Build-Depends: debhelper (>= 5), python-all, dpatch
+Build-Depends-Indep: python-support (>= 0.4), python-xml, python-lxml, python-celementtree, python-elementtree, python-simplejson, python-chardet
XS-Vcs-Svn: svn://svn.debian.org/python-modules/packages/html5lib/trunk/
XS-Vcs-Browser: http://svn.debian.org/wsvn/python-modules/packages/html5lib/trunk/
Homepage: http://code.google.com/p/html5lib/
Modified: packages/html5lib/trunk/debian/patches/00list
URL: http://svn.debian.org/wsvn/python-modules/packages/html5lib/trunk/debian/patches/00list?rev=3347&op=diff
==============================================================================
--- packages/html5lib/trunk/debian/patches/00list (original)
+++ packages/html5lib/trunk/debian/patches/00list Mon Oct 1 08:21:54 2007
@@ -1,1 +1,2 @@
no-setuptools-please
+test-encoding-fix
Added: packages/html5lib/trunk/debian/patches/test-encoding-fix.dpatch
URL: http://svn.debian.org/wsvn/python-modules/packages/html5lib/trunk/debian/patches/test-encoding-fix.dpatch?rev=3347&op=file
==============================================================================
--- packages/html5lib/trunk/debian/patches/test-encoding-fix.dpatch (added)
+++ packages/html5lib/trunk/debian/patches/test-encoding-fix.dpatch Mon Oct 1 08:21:54 2007
@@ -1,0 +1,18 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## test-encoding-fix.dpatch by Bernd Zeimetz <bernd at bzed.de>
+##
+## DP: Did anybody ever run this test!?
+
+ at DPATCH@
+diff -urNad html5lib~/tests/test_encoding.py html5lib/tests/test_encoding.py
+--- html5lib~/tests/test_encoding.py 2007-09-30 11:52:08.000000000 +0200
++++ html5lib/tests/test_encoding.py 2007-10-01 09:51:56.000000000 +0200
+@@ -23,7 +23,7 @@
+ try:
+ import chardet
+ def test_chardet(self):
+- data = open(os.path.join(test_dir, "/chardet/test_big5.txt")).read()
++ data = open(os.path.join(test_dir, "encoding" , "chardet", "test_big5.txt")).read()
+ encoding = inputstream.HTMLInputStream(data).charEncoding
+ assert encoding.lower() == "big5"
+ setattr(Html5EncodingTestCase, 'test_chardet', test_chardet)
Propchange: packages/html5lib/trunk/debian/patches/test-encoding-fix.dpatch
------------------------------------------------------------------------------
svn:executable = *
Modified: packages/html5lib/trunk/debian/rules
URL: http://svn.debian.org/wsvn/python-modules/packages/html5lib/trunk/debian/rules?rev=3347&op=diff
==============================================================================
--- packages/html5lib/trunk/debian/rules (original)
+++ packages/html5lib/trunk/debian/rules Mon Oct 1 08:21:54 2007
@@ -19,12 +19,11 @@
done
ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
- for py in $(PYVERS); do \
- for test in $(wildcard test/test*); do \
- echo running test: $$test; \
- PYTHONPATH=build/lib $$py $$test; \
- done; \
- done
+ set -e ;\
+ cd tests ;\
+ for py in $(PYVERS); do \
+ PYTHONPATH=$(CURDIR)/build/lib $$py runtests.py; \
+ done
endif
touch $@
More information about the Python-modules-commits
mailing list