From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 702051382C5 for ; Tue, 26 May 2020 18:09:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 25B4EE096F; Tue, 26 May 2020 18:09:58 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0E402E096F for ; Tue, 26 May 2020 18:09:58 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 00F8034EE67 for ; Tue, 26 May 2020 18:09:57 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E0922275 for ; Tue, 26 May 2020 18:09:53 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1590516588.23aad1747dbf7f0da3e78e45684263ac536f9f88.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/dnspython/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/dnspython/dnspython-1.16.0-r1.ebuild X-VCS-Directories: dev-python/dnspython/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 23aad1747dbf7f0da3e78e45684263ac536f9f88 X-VCS-Branch: master Date: Tue, 26 May 2020 18:09:53 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 7a9d17ce-0028-425c-bb8c-697b86512e3b X-Archives-Hash: f59e64b29083e0018297e80d51423f43 commit: 23aad1747dbf7f0da3e78e45684263ac536f9f88 Author: Michał Górny gentoo org> AuthorDate: Tue May 26 17:31:32 2020 +0000 Commit: Michał Górny gentoo org> CommitDate: Tue May 26 18:09:48 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23aad174 dev-python/dnspython: Forcibly disable Internet-based tests Signed-off-by: Michał Górny gentoo.org> dev-python/dnspython/dnspython-1.16.0-r1.ebuild | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/dev-python/dnspython/dnspython-1.16.0-r1.ebuild b/dev-python/dnspython/dnspython-1.16.0-r1.ebuild index c1a63e4d0e3..f6749205a50 100644 --- a/dev-python/dnspython/dnspython-1.16.0-r1.ebuild +++ b/dev-python/dnspython/dnspython-1.16.0-r1.ebuild @@ -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}"