guru/dev-python/wsgi_intercept/wsgi_intercept-1.10.0.ebuild
Alessandro Barbieri ee30fd8380
dev-python/wsgi_intercept: enable py3.11
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
2022-05-28 17:11:03 +02:00

37 lines
750 B
Bash

# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..11} 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/
https://github.com/cdent/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