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 44E8513835A for ; Sat, 25 Jul 2020 08:31:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 63971E0876; Sat, 25 Jul 2020 08:31:51 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 4C9AEE0876 for ; Sat, 25 Jul 2020 08:31:51 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 29C0734EC9F for ; Sat, 25 Jul 2020 08:31:50 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5EF942ED for ; Sat, 25 Jul 2020 08:31:46 +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: <1595665885.da2edca7bbb4afd4da0c2a253751804e76b9f656.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/virtualenv/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/virtualenv/virtualenv-16.7.10.ebuild X-VCS-Directories: dev-python/virtualenv/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: da2edca7bbb4afd4da0c2a253751804e76b9f656 X-VCS-Branch: master Date: Sat, 25 Jul 2020 08:31:46 +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: d3b50aee-e052-4ee2-a26d-c64d01ba3f47 X-Archives-Hash: 169c7a69ffb3c739038cd70856f3bdfc commit: da2edca7bbb4afd4da0c2a253751804e76b9f656 Author: Michał Górny gentoo org> AuthorDate: Sat Jul 25 08:05:17 2020 +0000 Commit: Michał Górny gentoo org> CommitDate: Sat Jul 25 08:31:25 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da2edca7 dev-python/virtualenv: Skip tests on py2 in 16* Signed-off-by: Michał Górny gentoo.org> dev-python/virtualenv/virtualenv-16.7.10.ebuild | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/dev-python/virtualenv/virtualenv-16.7.10.ebuild b/dev-python/virtualenv/virtualenv-16.7.10.ebuild index 8bc31ec8ddd..b8f4327d4e7 100644 --- a/dev-python/virtualenv/virtualenv-16.7.10.ebuild +++ b/dev-python/virtualenv/virtualenv-16.7.10.ebuild @@ -26,14 +26,16 @@ RESTRICT="!test? ( test )" RDEPEND=">=dev-python/setuptools-19.6.2[${PYTHON_USEDEP}]" BDEPEND="${RDEPEND} test? ( - >=dev-python/pip-19.3.1-r1[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] - dev-python/pypiserver[${PYTHON_USEDEP}] - dev-python/pytest-localserver[${PYTHON_USEDEP}] - dev-python/pytest-timeout[${PYTHON_USEDEP}] - dev-python/pytest[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}] - dev-python/wheel[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/pip-19.3.1-r1[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pypiserver[${PYTHON_USEDEP}] + dev-python/pytest-localserver[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] + dev-python/wheel[${PYTHON_USEDEP}] + ' -3) )" DOCS=( docs/index.rst docs/changes.rst ) @@ -53,6 +55,11 @@ distutils_enable_sphinx docs \ dev-python/towncrier python_test() { + if ! python_is_python3; then + ewarn "Tests are skipped on py2, please test externally" + return + fi + cp "${S}"/LICENSE.txt "${BUILD_DIR}"/lib || \ die "Could not copy LICENSE.txt with ${EPYTHON}"