Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@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/, profiles/
Date: Wed, 02 Sep 2020 08:10:37
Message-Id: 1599034176.e0d7f4de398958a5a8d33f7a676ca26dfa755e33.mgorny@gentoo
1 commit: e0d7f4de398958a5a8d33f7a676ca26dfa755e33
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed Sep 2 08:09:23 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed Sep 2 08:09:36 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0d7f4de
7
8 dev-python/python-openid: Remove last-rited pkg
9
10 Closes: https://bugs.gentoo.org/735178
11 Closes: https://bugs.gentoo.org/710036
12 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
13
14 dev-python/python-openid/Manifest | 1 -
15 .../python-openid-2.0.0-gentoo-test_fetchers.diff | 11 ----
16 .../files/python-openid-2.2.5-tests.patch | 10 ----
17 dev-python/python-openid/metadata.xml | 8 ---
18 .../python-openid/python-openid-2.2.5-r1.ebuild | 58 ----------------------
19 profiles/package.mask | 6 ---
20 6 files changed, 94 deletions(-)
21
22 diff --git a/dev-python/python-openid/Manifest b/dev-python/python-openid/Manifest
23 deleted file mode 100644
24 index 3bfe4481899..00000000000
25 --- a/dev-python/python-openid/Manifest
26 +++ /dev/null
27 @@ -1 +0,0 @@
28 -DIST python-openid-2.2.5.tar.gz 300524 BLAKE2B 9431ba3947dd2d2f7717e3f64ae91e4c014b85d67e6ce9daff5541d107c35869863de79273e6f9ad433193324d44821ccf9aaf885a6541ff7a3636a31c6ee8f5 SHA512 46ffeb07dc0e94c6e1160c824dfafd4a125746a05af1541e112bc2691bf655f75d0431ea273877899abc2956bb1f82369dea75d9b54282f33875f333f5166e7a
29
30 diff --git a/dev-python/python-openid/files/python-openid-2.0.0-gentoo-test_fetchers.diff b/dev-python/python-openid/files/python-openid-2.0.0-gentoo-test_fetchers.diff
31 deleted file mode 100644
32 index 67587a98533..00000000000
33 --- a/dev-python/python-openid/files/python-openid-2.0.0-gentoo-test_fetchers.diff
34 +++ /dev/null
35 @@ -1,11 +0,0 @@
36 ---- openid/test/test_fetchers.py.orig 2007-06-07 15:53:38.000000000 -0700
37 -+++ openid/test/test_fetchers.py 2007-06-07 15:53:55.000000000 -0700
38 -@@ -8,6 +8,8 @@
39 - # XXX: make these separate test cases
40 -
41 - def failUnlessResponseExpected(expected, actual):
42 -+ expected.final_url = expected.final_url.replace("localhost", "127.0.0.1")
43 -+ actual.final_url = actual.final_url.replace("localhost", "127.0.0.1")
44 - assert expected.final_url == actual.final_url, (
45 - "%r != %r" % (expected.final_url, actual.final_url))
46 - assert expected.status == actual.status
47
48 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
49 deleted file mode 100644
50 index e5d17463ac9..00000000000
51 --- a/dev-python/python-openid/files/python-openid-2.2.5-tests.patch
52 +++ /dev/null
53 @@ -1,10 +0,0 @@
54 ---- admin/runtests.orig 2016-01-01 03:32:55.835000000 +0000
55 -+++ admin/runtests 2016-01-01 03:32:59.163000000 +0000
56 -@@ -93,7 +93,6 @@
57 - 'test_htmldiscover',
58 - 'test_nonce',
59 - 'test_openidyadis',
60 -- 'test_parsehtml',
61 - 'test_urinorm',
62 - 'test_yadis_discover',
63 - 'trustroot',
64
65 diff --git a/dev-python/python-openid/metadata.xml b/dev-python/python-openid/metadata.xml
66 deleted file mode 100644
67 index 9e5274c5b4a..00000000000
68 --- a/dev-python/python-openid/metadata.xml
69 +++ /dev/null
70 @@ -1,8 +0,0 @@
71 -<?xml version="1.0" encoding="UTF-8"?>
72 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
73 -<pkgmetadata>
74 -<maintainer type="project">
75 - <email>python@g.o</email>
76 - <name>Python</name>
77 -</maintainer>
78 -</pkgmetadata>
79
80 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
81 deleted file mode 100644
82 index 5279018236b..00000000000
83 --- a/dev-python/python-openid/python-openid-2.2.5-r1.ebuild
84 +++ /dev/null
85 @@ -1,58 +0,0 @@
86 -# Copyright 1999-2020 Gentoo Authors
87 -# Distributed under the terms of the GNU General Public License v2
88 -
89 -EAPI=5
90 -
91 -PYTHON_REQ_USE='sqlite?'
92 -PYTHON_COMPAT=( python2_7 )
93 -
94 -inherit distutils-r1
95 -
96 -DESCRIPTION="OpenID support for servers and consumers"
97 -HOMEPAGE="http://www.openidenabled.com/openid/libraries/python/ https://pypi.org/project/python-openid/"
98 -# Downloaded from https://github.com/openid/python-openid/downloads
99 -SRC_URI="mirror://gentoo/${P}.tar.gz"
100 -
101 -LICENSE="Apache-2.0"
102 -SLOT="0"
103 -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~ppc ppc64 s390 sparc x86"
104 -IUSE="examples mysql postgres sqlite test"
105 -
106 -RDEPEND="mysql? ( >=dev-python/mysql-python-1.2.2[${PYTHON_USEDEP}] )
107 - postgres? ( dev-python/psycopg[${PYTHON_USEDEP}] )"
108 -DEPEND="${RDEPEND}"
109 -S="${WORKDIR}/openid-python-openid-b666238"
110 -
111 -# Tests depend on twill, a broken package. Bug #285169
112 -RESTRICT="test"
113 -
114 -python_prepare_all() {
115 - local PATCHES=(
116 - # Patch to fix confusion with localhost/127.0.0.1
117 - "${FILESDIR}/${PN}-2.0.0-gentoo-test_fetchers.diff"
118 - "${FILESDIR}"/"${P}-tests.patch"
119 - )
120 -
121 - # Disable broken tests from from examples/djopenid.
122 - # Remove test that requires running db server.
123 - sed -e "s/django_failures =.*/django_failures = 0/" \
124 - -e '/storetest/d' \
125 - -i admin/runtests || die "sed admin/runtests failed"
126 -
127 - rm -v openid/test/test_parsehtml.py || die
128 -
129 - distutils-r1_python_prepare_all
130 -}
131 -
132 -python_test() {
133 - "${PYTHON}" admin/runtests || die "Tests fail with ${EPYTHON}"
134 -}
135 -
136 -python_install_all() {
137 - distutils-r1_python_install_all
138 -
139 - if use examples; then
140 - dodoc -r examples
141 - docompress -x /usr/share/doc/${PF}/examples
142 - fi
143 -}
144
145 diff --git a/profiles/package.mask b/profiles/package.mask
146 index 766222f5756..09317798d99 100644
147 --- a/profiles/package.mask
148 +++ b/profiles/package.mask
149 @@ -688,12 +688,6 @@ app-backup/cachedir
150 # Removal in 30 days. Bug #734632.
151 x11-misc/pypanel
152
153 -# Michał Górny <mgorny@g.o> (2020-08-02)
154 -# Stuck on py2. Last release in 2010, last commit in 2014. No revdeps.
155 -# Blocks dev-python/mysql-python removal.
156 -# Removal in 30 days. Bug #735178.
157 -dev-python/python-openid
158 -
159 # Mikle Kolyada <zlogene@g.o> (2020-08-02)
160 # consolekit is abandoned upstream.
161 # People are encouraged to switch to any logind