diff options
Diffstat (limited to 'dev-python/python-openid')
| -rw-r--r-- | dev-python/python-openid/files/python-openid-2.2.5-tests.patch | 10 | ||||
| -rw-r--r-- | dev-python/python-openid/python-openid-2.2.5-r1.ebuild | 3 |
2 files changed, 13 insertions, 0 deletions
diff --git a/dev-python/python-openid/files/python-openid-2.2.5-tests.patch b/dev-python/python-openid/files/python-openid-2.2.5-tests.patch new file mode 100644 index 000000000000..e5d17463ac95 --- /dev/null +++ b/dev-python/python-openid/files/python-openid-2.2.5-tests.patch @@ -0,0 +1,10 @@ +--- admin/runtests.orig 2016-01-01 03:32:55.835000000 +0000 ++++ admin/runtests 2016-01-01 03:32:59.163000000 +0000 +@@ -93,7 +93,6 @@ + 'test_htmldiscover', + 'test_nonce', + 'test_openidyadis', +- 'test_parsehtml', + 'test_urinorm', + 'test_yadis_discover', + 'trustroot', diff --git a/dev-python/python-openid/python-openid-2.2.5-r1.ebuild b/dev-python/python-openid/python-openid-2.2.5-r1.ebuild index 9c02942ad172..f2c426722181 100644 --- a/dev-python/python-openid/python-openid-2.2.5-r1.ebuild +++ b/dev-python/python-openid/python-openid-2.2.5-r1.ebuild @@ -30,6 +30,7 @@ python_prepare_all() { local PATCHES=( # Patch to fix confusion with localhost/127.0.0.1 "${FILESDIR}/${PN}-2.0.0-gentoo-test_fetchers.diff" + "${FILESDIR}"/"${P}-tests.patch" ) # Disable broken tests from from examples/djopenid. @@ -38,6 +39,8 @@ python_prepare_all() { -e '/storetest/d' \ -i admin/runtests || die "sed admin/runtests failed" + rm -v openid/test/test_parsehtml.py || die + distutils-r1_python_prepare_all } |
