aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-beautifulsoup4/unattended-tests.patch
diff options
context:
space:
mode:
authorOrson Teodoro <orsonteodoro@hotmail.com>2018-02-26 23:25:14 -0800
committerWilliam Pitcock <nenolod@dereferenced.org>2018-02-27 21:47:51 +0000
commitf68c680eecf5496b795007438fe641520120219c (patch)
treeb36bd8179e88910cd0b3aaa52ce334bae476385a /testing/py-beautifulsoup4/unattended-tests.patch
parent14d028ef5e2f505291dbd744eb71b81cfc11d736 (diff)
downloadaports-f68c680eecf5496b795007438fe641520120219c.tar.bz2
aports-f68c680eecf5496b795007438fe641520120219c.tar.xz
testing/py-beautifulsoup4: fixes
Fix python3 module generation Generate documentation Add check() and run testsuite Remove build() add py-sphinx to makedepends=
Diffstat (limited to 'testing/py-beautifulsoup4/unattended-tests.patch')
-rw-r--r--testing/py-beautifulsoup4/unattended-tests.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/testing/py-beautifulsoup4/unattended-tests.patch b/testing/py-beautifulsoup4/unattended-tests.patch
new file mode 100644
index 0000000000..623d070085
--- /dev/null
+++ b/testing/py-beautifulsoup4/unattended-tests.patch
@@ -0,0 +1,16 @@
+--- a/convert-py3k.orig
++++ b/convert-py3k
+@@ -7,10 +7,10 @@
+ echo "About to destroy and rebuild the py3k/bs4 directory."
+ echo "If you've got stuff in there, Ctrl-C out of this script or answer 'n'."
+ mkdir -p py3k
+-rm -rfI py3k/bs4
++rm -rf py3k/bs4
+ cp -r bs4/ py3k/
+ 2to3 -w py3k
+ echo ""
+ echo "OK, conversion is done."
+ echo "Now running the unit tests."
+-(cd py3k && python3 -m unittest discover -s bs4)
+\ No newline at end of file
++(cd py3k && python3 -m unittest discover -s bs4)