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 B919C138334 for ; Fri, 22 Nov 2019 19:38:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0022DE0826; Fri, 22 Nov 2019 19:38:48 +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 CC329E0826 for ; Fri, 22 Nov 2019 19:38:48 +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 BD5A634D226 for ; Fri, 22 Nov 2019 19:38:47 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AF8C98CC for ; Fri, 22 Nov 2019 19:38:45 +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: <1574451492.7d0469c9db8a77a09f8f6c75a63f65cb043751aa.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/requests/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/requests/requests-2.22.0.ebuild X-VCS-Directories: dev-python/requests/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 7d0469c9db8a77a09f8f6c75a63f65cb043751aa X-VCS-Branch: master Date: Fri, 22 Nov 2019 19:38:45 +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: 8c5e3702-d7a1-4d2b-a2b3-5a45f080d0b6 X-Archives-Hash: b599e61b9df27d880c5fc890b59015c9 commit: 7d0469c9db8a77a09f8f6c75a63f65cb043751aa Author: Michał Górny gentoo org> AuthorDate: Fri Nov 22 18:02:51 2019 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri Nov 22 19:38:12 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d0469c9 dev-python/requests: Enable py3.8 Signed-off-by: Michał Górny gentoo.org> dev-python/requests/requests-2.22.0.ebuild | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/dev-python/requests/requests-2.22.0.ebuild b/dev-python/requests/requests-2.22.0.ebuild index b6aeadd1096..c708393872e 100644 --- a/dev-python/requests/requests-2.22.0.ebuild +++ b/dev-python/requests/requests-2.22.0.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python2_7 python3_{5,6,7} pypy{,3} ) +PYTHON_COMPAT=( python2_7 python3_{5,6,7,8} pypy{,3} ) PYTHON_REQ_USE="threads(+)" inherit distutils-r1 @@ -36,10 +36,12 @@ BDEPEND=" dev-python/setuptools[${PYTHON_USEDEP}] test? ( ${RDEPEND} - dev-python/pytest[${PYTHON_USEDEP}] - dev-python/pytest-httpbin[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] - >=dev-python/PySocks-1.5.6[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/pytest-httpbin[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + >=dev-python/PySocks-1.5.6[${PYTHON_USEDEP}] + ' python{2_7,3_{5,6,7}}) ) " @@ -62,6 +64,8 @@ src_prepare() { python_test() { # tests hang with pypy & pypy3 [[ ${EPYTHON} == pypy* ]] && continue + # TODO: reenable when deps are ready + [[ ${EPYTHON} == python3_8 ]] && continue pytest -vv || die "Tests failed with ${EPYTHON}" }