diff options
Diffstat (limited to 'dev-python/wsgiintercept')
-rw-r--r-- | dev-python/wsgiintercept/Manifest | 3 | ||||
-rw-r--r-- | dev-python/wsgiintercept/metadata.xml | 20 | ||||
-rw-r--r-- | dev-python/wsgiintercept/wsgiintercept-1.3.1.ebuild | 61 |
3 files changed, 0 insertions, 84 deletions
diff --git a/dev-python/wsgiintercept/Manifest b/dev-python/wsgiintercept/Manifest deleted file mode 100644 index 44d47a7dea77..000000000000 --- a/dev-python/wsgiintercept/Manifest +++ /dev/null @@ -1,3 +0,0 @@ -DIST wsgi_intercept-1.3.1.tar.gz 24596 BLAKE2B fd585991c5fc928c6e499e6ed35be2b1ea21e71b4dd18500e4d77bea40cc974950571431da30b2c5c0673c1f8d21957f9938e67a61a132731bfc0d8aec147935 SHA512 6b435246b20694437ec0c79b9675af3a24c43b77e3b1ca6b8ede473c2077259197ada5c4dcb9f197331975ed97e7d475792f9ab4a7da2aa9c657203c55662479 -EBUILD wsgiintercept-1.3.1.ebuild 1604 BLAKE2B 40ed5b755bf92dacf38f25c64691b2e4316e867fbcd27318e7c94df700cf5f4e4c52f01967f2a4cbc92ece1f41fe72a0c7c96547d8076d8d31a5f8bbb3f3df01 SHA512 ce0d32ae75b4220d230432faa4820038617f7183e4526e82e7c8f5874e5f5258838d0f34c7a042b01265f3ece54bad545835409513faacb4c462e38a76b0b44d -MISC metadata.xml 892 BLAKE2B 9172a2b13d71f443f574bd59462ec8a866bd079c8a5c06aab365bc7f726dc228f3c0a264bd063b02db0d0d3e67ae1a05e4018f3a8f82c66a7ad2c17157488c0b SHA512 776ed8e2f5df00109aae96f10c1ad5f678ac92c348b15d3597b8c48fd3961da19d0d397a7322c7f2c2b02fc7befa9db5cee8d4eb33b43c280c0076bcc1fa9ad9 diff --git a/dev-python/wsgiintercept/metadata.xml b/dev-python/wsgiintercept/metadata.xml deleted file mode 100644 index 74ef24e0a42c..000000000000 --- a/dev-python/wsgiintercept/metadata.xml +++ /dev/null @@ -1,20 +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> - <longdescription> -Testing a WSGI application normally involves starting a server at a local host -and port, then pointing your test code to that address. Instead, this library -lets you intercept calls to any specific host/port combination and redirect -them into a WSGI application importable by your test program. Thus, you can -avoid spawning multiple processes or threads to test your Web app. -</longdescription> - <upstream> - <remote-id type="pypi">wsgi_intercept</remote-id> - <bugs-to>https://code.google.com/p/wsgi-intercept/issues/list</bugs-to> - <remote-id type="github">cdent/python3-wsgi-intercept</remote-id> - </upstream> -</pkgmetadata> diff --git a/dev-python/wsgiintercept/wsgiintercept-1.3.1.ebuild b/dev-python/wsgiintercept/wsgiintercept-1.3.1.ebuild deleted file mode 100644 index 33a90635a9d1..000000000000 --- a/dev-python/wsgiintercept/wsgiintercept-1.3.1.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python3_6 ) - -inherit distutils-r1 - -MY_PN="wsgi_intercept" -MY_P="${MY_PN}-${PV}" - -DESCRIPTION="WSGI application in place of a real URI for testing" -HOMEPAGE="https://github.com/cdent/python3-wsgi-intercept" -SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" - -SLOT="0" -LICENSE="MIT" -KEYWORDS="amd64 ~arm64 x86 ~amd64-linux ~x86-linux" -IUSE="doc test" -RESTRICT="!test? ( test )" -RDEPEND="" -DEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}] - test? ( - dev-python/httplib2[${PYTHON_USEDEP}] - >=dev-python/pytest-2.4[${PYTHON_USEDEP}] - >=dev-python/requests-2.0.1[${PYTHON_USEDEP}] - >=dev-python/urllib3-1.11.0[${PYTHON_USEDEP}] - $(python_gen_cond_dep 'dev-python/mechanize[${PYTHON_USEDEP}]' python2_7 pypy) - )" -S="${WORKDIR}/${MY_P}" - -python_prepare_all() { - # .pyc files cause failure of tests - rm -rf test/__pycache__/ || die - - # Req'd to avoid file collisions - sed -e s":find_packages():find_packages(exclude=['test']):" \ - -i setup.py || die - - # Disable tests connecting to the network; Bug #550710 - sed -e 's:test_http_not_intercepted:_&:' \ - -e 's:test_https_not_intercepted:_&:' \ - -i test/{test_urllib.py,test_http_client.py,test_requests.py} || die - distutils-r1_python_prepare_all -} - -python_compile_all() { - use doc && emake -C docs html -} - -python_test() { - py.test || die "Tests failed under ${EPYTHON}" -} - -python_install_all() { - use doc && local HTML_DOCS=( docs/_build/html//. ) - distutils-r1_python_install_all -} |