Package: feedparser Version: 5.0.1-1 Severity: normal Tags: patch User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu precise ubuntu-patch
Dear Maintainer, In Ubuntu, the attached patch was applied to run the test suite during build. Thanks for considering the patch. -- System Information: Debian Release: wheezy/sid APT prefers precise-updates APT policy: (500, 'precise-updates'), (500, 'precise-security'), (500, 'precise') Architecture: i386 (i686) Kernel: Linux 3.1.0-2-generic-pae (SMP w/4 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash
diff -Nru feedparser-5.0.1/debian/changelog feedparser-5.0.1/debian/changelog diff -Nru feedparser-5.0.1/debian/rules feedparser-5.0.1/debian/rules --- feedparser-5.0.1/debian/rules 2011-10-21 11:52:34.000000000 -0400 +++ feedparser-5.0.1/debian/rules 2011-11-18 08:51:23.000000000 -0500 @@ -8,10 +8,18 @@ dh_testdir dh_testroot python ./setup.py clean - rm -rf build + rm -rf build build-stamp dh_clean feedparser/*.pyc -build: +build: build-stamp +build-stamp: +ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) + #FIXME: run tests for python3 too when we support it + cd feedparser && python ./feedparsertest.py +else + @echo "nocheck set, not running tests" +endif + @touch build-stamp install: build dh_testdir