Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/python-openid/files/, dev-python/python-openid/
Date: Fri, 01 Jan 2016 03:37:15
Message-Id: 1451619369.9060e1e4f14b288626067b87fe5abe9e5156310f.monsieurp@gentoo
1 commit: 9060e1e4f14b288626067b87fe5abe9e5156310f
2 Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jan 1 03:35:35 2016 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Fri Jan 1 03:36:09 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9060e1e4
7
8 dev-python/python-openid: Remove a failing test. Fixes bug 416517.
9
10 Package-Manager: portage-2.2.20.1
11 Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>
12
13 dev-python/python-openid/files/python-openid-2.2.5-tests.patch | 10 ++++++++++
14 dev-python/python-openid/python-openid-2.2.5-r1.ebuild | 3 +++
15 2 files changed, 13 insertions(+)
16
17 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
18 new file mode 100644
19 index 0000000..e5d1746
20 --- /dev/null
21 +++ b/dev-python/python-openid/files/python-openid-2.2.5-tests.patch
22 @@ -0,0 +1,10 @@
23 +--- admin/runtests.orig 2016-01-01 03:32:55.835000000 +0000
24 ++++ admin/runtests 2016-01-01 03:32:59.163000000 +0000
25 +@@ -93,7 +93,6 @@
26 + 'test_htmldiscover',
27 + 'test_nonce',
28 + 'test_openidyadis',
29 +- 'test_parsehtml',
30 + 'test_urinorm',
31 + 'test_yadis_discover',
32 + 'trustroot',
33
34 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
35 index 9c02942..f2c4267 100644
36 --- a/dev-python/python-openid/python-openid-2.2.5-r1.ebuild
37 +++ b/dev-python/python-openid/python-openid-2.2.5-r1.ebuild
38 @@ -30,6 +30,7 @@ python_prepare_all() {
39 local PATCHES=(
40 # Patch to fix confusion with localhost/127.0.0.1
41 "${FILESDIR}/${PN}-2.0.0-gentoo-test_fetchers.diff"
42 + "${FILESDIR}"/"${P}-tests.patch"
43 )
44
45 # Disable broken tests from from examples/djopenid.
46 @@ -38,6 +39,8 @@ python_prepare_all() {
47 -e '/storetest/d' \
48 -i admin/runtests || die "sed admin/runtests failed"
49
50 + rm -v openid/test/test_parsehtml.py || die
51 +
52 distutils-r1_python_prepare_all
53 }