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 325B01382C5 for ; Wed, 27 May 2020 09:18:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 10C83E08CD; Wed, 27 May 2020 09:18:20 +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 EB0F8E08CD for ; Wed, 27 May 2020 09:18:19 +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 71EFA34EE76 for ; Wed, 27 May 2020 09:18:18 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0ADBD26D for ; Wed, 27 May 2020 09:18:16 +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: <1590568927.07cb63a1c6ccd046d33c27d5b7e7d6d708878744.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pyhamcrest/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pyhamcrest/pyhamcrest-1.9.0-r1.ebuild X-VCS-Directories: dev-python/pyhamcrest/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 07cb63a1c6ccd046d33c27d5b7e7d6d708878744 X-VCS-Branch: master Date: Wed, 27 May 2020 09:18:16 +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: 7309fe7e-340d-4793-bbad-9685486bb840 X-Archives-Hash: d91955ed556fbb1a6cbd064ef1037992 commit: 07cb63a1c6ccd046d33c27d5b7e7d6d708878744 Author: Michał Górny gentoo org> AuthorDate: Wed May 27 08:42:07 2020 +0000 Commit: Michał Górny gentoo org> CommitDate: Wed May 27 08:42:07 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07cb63a1 dev-python/pyhamcrest: Port to py39 Signed-off-by: Michał Górny gentoo.org> dev-python/pyhamcrest/pyhamcrest-1.9.0-r1.ebuild | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dev-python/pyhamcrest/pyhamcrest-1.9.0-r1.ebuild b/dev-python/pyhamcrest/pyhamcrest-1.9.0-r1.ebuild index 46bbf1b22e5..6c7080cb324 100644 --- a/dev-python/pyhamcrest/pyhamcrest-1.9.0-r1.ebuild +++ b/dev-python/pyhamcrest/pyhamcrest-1.9.0-r1.ebuild @@ -3,7 +3,7 @@ EAPI=6 -PYTHON_COMPAT=( python2_7 python3_{6,7,8} ) +PYTHON_COMPAT=( python2_7 python3_{6..9} ) inherit distutils-r1 @@ -21,9 +21,9 @@ IUSE="examples test" RESTRICT="!test? ( test )" RDEPEND=">=dev-python/six-1.4[${PYTHON_USEDEP}]" -DEPEND="${RDEPEND} - dev-python/setuptools[${PYTHON_USEDEP}] +DEPEND=" test? ( + ${RDEPEND} >=dev-python/pytest-2.6[${PYTHON_USEDEP}] dev-python/mock[${PYTHON_USEDEP}] )" @@ -50,7 +50,7 @@ python_prepare_all() { } python_test() { - py.test -vv || die "Tests failed under ${EPYTHON}" + pytest -vv || die "Tests failed under ${EPYTHON}" "${EPYTHON}" tests/object_import.py || die "Tests failed under ${EPYTHON}" }