mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-25 21:08:35 -07:00
dev-python/dnspython: Forcibly disable Internet-based tests
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -23,6 +23,12 @@ RDEPEND="dev-python/pycryptodome[${PYTHON_USEDEP}]
|
||||
!dev-python/dnspython:py2
|
||||
!dev-python/dnspython:py3"
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e '/network_avail/s:True:False:' \
|
||||
tests/test_resolver.py || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
pushd tests >/dev/null || die
|
||||
"${EPYTHON}" utest.py || die "tests failed under ${EPYTHON}"
|
||||
|
||||
Reference in New Issue
Block a user