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 CBF481382C5 for ; Mon, 25 May 2020 12:18:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 202C7E082F; Mon, 25 May 2020 12:18:15 +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 0BADAE0806 for ; Mon, 25 May 2020 12:18:15 +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 2EFA034F042 for ; Mon, 25 May 2020 12:18:13 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C5B2F21E for ; Mon, 25 May 2020 12:18:11 +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: <1590409084.7bc56caa3af3174653141fa83d56546e32a94b21.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/setuptools/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/setuptools/setuptools-46.4.0-r1.ebuild X-VCS-Directories: dev-python/setuptools/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 7bc56caa3af3174653141fa83d56546e32a94b21 X-VCS-Branch: master Date: Mon, 25 May 2020 12:18:11 +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: a24e715d-5bc6-4c5f-8103-39ec4989432d X-Archives-Hash: 843357e4cca1638259c4f0c5833e9ae9 commit: 7bc56caa3af3174653141fa83d56546e32a94b21 Author: Michał Górny gentoo org> AuthorDate: Mon May 25 11:15:07 2020 +0000 Commit: Michał Górny gentoo org> CommitDate: Mon May 25 12:18:04 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7bc56caa dev-python/setuptools: Port to py3.9 Signed-off-by: Michał Górny gentoo.org> dev-python/setuptools/setuptools-46.4.0-r1.ebuild | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/dev-python/setuptools/setuptools-46.4.0-r1.ebuild b/dev-python/setuptools/setuptools-46.4.0-r1.ebuild index fff9aec0392..3e7d069b4f8 100644 --- a/dev-python/setuptools/setuptools-46.4.0-r1.ebuild +++ b/dev-python/setuptools/setuptools-46.4.0-r1.ebuild @@ -3,7 +3,7 @@ EAPI=7 DISTUTILS_USE_SETUPTOOLS=no -PYTHON_COMPAT=( python2_7 python3_{6,7,8} pypy3 ) +PYTHON_COMPAT=( python2_7 python3_{6,7,8,9} pypy3 ) PYTHON_REQ_USE="xml(+)" inherit distutils-r1 @@ -21,12 +21,14 @@ RESTRICT="!test? ( test )" BDEPEND=" app-arch/unzip test? ( - dev-python/mock[${PYTHON_USEDEP}] - dev-python/pip[${PYTHON_USEDEP}] - >=dev-python/pytest-3.7.0[${PYTHON_USEDEP}] - dev-python/pytest-fixture-config[${PYTHON_USEDEP}] - dev-python/pytest-virtualenv[${PYTHON_USEDEP}] - dev-python/wheel[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pip[${PYTHON_USEDEP}] + >=dev-python/pytest-3.7.0[${PYTHON_USEDEP}] + dev-python/pytest-fixture-config[${PYTHON_USEDEP}] + dev-python/pytest-virtualenv[${PYTHON_USEDEP}] + dev-python/wheel[${PYTHON_USEDEP}] + ' python2_7 python3_{6,7,8} pypy3) $(python_gen_cond_dep ' dev-python/futures[${PYTHON_USEDEP}] ' -2) @@ -63,6 +65,11 @@ python_prepare_all() { } python_test() { + if [[ ${EPYTHON} == python3.9 ]]; then + einfo "Tests are skipped on py3.9 due to unported deps" + return + fi + distutils_install_for_testing # test_easy_install raises a SandboxViolation due to ${HOME}/.pydistutils.cfg # It tries to sandbox the test in a tempdir