Files
guru/dev-python/wsgi_intercept/wsgi_intercept-1.9.2.ebuild
Alessandro Barbieri 4cbbd3c3f7 dev-python/wsgi_intercept: test_network
Closes: https://bugs.gentoo.org/816636
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
2021-10-07 00:15:38 +02:00

34 lines
705 B
Bash

# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..10} pypy3 )
inherit distutils-r1
DESCRIPTION="wsgi_intercept installs a WSGI application in place of a real URI for testing"
HOMEPAGE="https://pypi.org/project/wsgi-intercept"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
SLOT="0"
LICENSE="MIT"
KEYWORDS="~amd64"
RDEPEND="
dev-python/six[${PYTHON_USEDEP}]
"
DEPEND="
${RDEPEND}
test? (
dev-python/httplib2[${PYTHON_USEDEP}]
>=dev-python/requests-2.0.1[${PYTHON_USEDEP}]
>=dev-python/urllib3-1.11.0[${PYTHON_USEDEP}]
)
"
RESTRICT="test"
PROPERTIES="test_network"
distutils_enable_tests pytest