summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-09-02 10:09:23 +0200
committerMichał Górny <mgorny@gentoo.org>2020-09-02 10:09:36 +0200
commite0d7f4de398958a5a8d33f7a676ca26dfa755e33 (patch)
tree16e65342bde192cefed927401bdffb6b57a0cf99 /dev-python
parentdev-python/mox: Remove last-rited pkg (diff)
downloadgentoo-e0d7f4de398958a5a8d33f7a676ca26dfa755e33.tar.gz
gentoo-e0d7f4de398958a5a8d33f7a676ca26dfa755e33.tar.bz2
gentoo-e0d7f4de398958a5a8d33f7a676ca26dfa755e33.zip
dev-python/python-openid: Remove last-rited pkg
Closes: https://bugs.gentoo.org/735178 Closes: https://bugs.gentoo.org/710036 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/python-openid/Manifest1
-rw-r--r--dev-python/python-openid/files/python-openid-2.0.0-gentoo-test_fetchers.diff11
-rw-r--r--dev-python/python-openid/files/python-openid-2.2.5-tests.patch10
-rw-r--r--dev-python/python-openid/metadata.xml8
-rw-r--r--dev-python/python-openid/python-openid-2.2.5-r1.ebuild58
5 files changed, 0 insertions, 88 deletions
diff --git a/dev-python/python-openid/Manifest b/dev-python/python-openid/Manifest
deleted file mode 100644
index 3bfe44818995..000000000000
--- a/dev-python/python-openid/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST python-openid-2.2.5.tar.gz 300524 BLAKE2B 9431ba3947dd2d2f7717e3f64ae91e4c014b85d67e6ce9daff5541d107c35869863de79273e6f9ad433193324d44821ccf9aaf885a6541ff7a3636a31c6ee8f5 SHA512 46ffeb07dc0e94c6e1160c824dfafd4a125746a05af1541e112bc2691bf655f75d0431ea273877899abc2956bb1f82369dea75d9b54282f33875f333f5166e7a
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
deleted file mode 100644
index 67587a98533a..000000000000
--- a/dev-python/python-openid/files/python-openid-2.0.0-gentoo-test_fetchers.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- openid/test/test_fetchers.py.orig 2007-06-07 15:53:38.000000000 -0700
-+++ openid/test/test_fetchers.py 2007-06-07 15:53:55.000000000 -0700
-@@ -8,6 +8,8 @@
- # XXX: make these separate test cases
-
- def failUnlessResponseExpected(expected, actual):
-+ expected.final_url = expected.final_url.replace("localhost", "127.0.0.1")
-+ actual.final_url = actual.final_url.replace("localhost", "127.0.0.1")
- assert expected.final_url == actual.final_url, (
- "%r != %r" % (expected.final_url, actual.final_url))
- assert expected.status == actual.status
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
deleted file mode 100644
index e5d17463ac95..000000000000
--- a/dev-python/python-openid/files/python-openid-2.2.5-tests.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- 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/metadata.xml b/dev-python/python-openid/metadata.xml
deleted file mode 100644
index 9e5274c5b4ae..000000000000
--- a/dev-python/python-openid/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<maintainer type="project">
- <email>python@gentoo.org</email>
- <name>Python</name>
-</maintainer>
-</pkgmetadata>
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
deleted file mode 100644
index 5279018236b1..000000000000
--- a/dev-python/python-openid/python-openid-2.2.5-r1.ebuild
+++ /dev/null
@@ -1,58 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-PYTHON_REQ_USE='sqlite?'
-PYTHON_COMPAT=( python2_7 )
-
-inherit distutils-r1
-
-DESCRIPTION="OpenID support for servers and consumers"
-HOMEPAGE="http://www.openidenabled.com/openid/libraries/python/ https://pypi.org/project/python-openid/"
-# Downloaded from https://github.com/openid/python-openid/downloads
-SRC_URI="mirror://gentoo/${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~ppc ppc64 s390 sparc x86"
-IUSE="examples mysql postgres sqlite test"
-
-RDEPEND="mysql? ( >=dev-python/mysql-python-1.2.2[${PYTHON_USEDEP}] )
- postgres? ( dev-python/psycopg[${PYTHON_USEDEP}] )"
-DEPEND="${RDEPEND}"
-S="${WORKDIR}/openid-python-openid-b666238"
-
-# Tests depend on twill, a broken package. Bug #285169
-RESTRICT="test"
-
-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.
- # Remove test that requires running db server.
- sed -e "s/django_failures =.*/django_failures = 0/" \
- -e '/storetest/d' \
- -i admin/runtests || die "sed admin/runtests failed"
-
- rm -v openid/test/test_parsehtml.py || die
-
- distutils-r1_python_prepare_all
-}
-
-python_test() {
- "${PYTHON}" admin/runtests || die "Tests fail with ${EPYTHON}"
-}
-
-python_install_all() {
- distutils-r1_python_install_all
-
- if use examples; then
- dodoc -r examples
- docompress -x /usr/share/doc/${PF}/examples
- fi
-}