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 19CC8138359 for ; Sun, 2 Aug 2020 06:46:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CF180E0C07; Sun, 2 Aug 2020 06:46:07 +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 B8D1AE0C02 for ; Sun, 2 Aug 2020 06:46:07 +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 4378734F328 for ; Sun, 2 Aug 2020 06:46:06 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 23B4C2F1 for ; Sun, 2 Aug 2020 06:46:03 +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: <1596350742.ce03de844b82acd847aa463a018520d6fdfb51a2.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/mpmath/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/mpmath/mpmath-1.1.0.ebuild X-VCS-Directories: dev-python/mpmath/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: ce03de844b82acd847aa463a018520d6fdfb51a2 X-VCS-Branch: master Date: Sun, 2 Aug 2020 06:46:03 +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: 32eff8b2-37de-4645-a912-eebc55b9cca1 X-Archives-Hash: 7b2e7c0a4918f1867a248e6f696df640 commit: ce03de844b82acd847aa463a018520d6fdfb51a2 Author: Sam James gentoo org> AuthorDate: Sat Aug 1 02:20:24 2020 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun Aug 2 06:45:42 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce03de84 dev-python/mpmath: add Python 3.9 Package-Manager: Portage-3.0.1, Repoman-2.3.23 Signed-off-by: Sam James gentoo.org> Signed-off-by: Michał Górny gentoo.org> dev-python/mpmath/mpmath-1.1.0.ebuild | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/dev-python/mpmath/mpmath-1.1.0.ebuild b/dev-python/mpmath/mpmath-1.1.0.ebuild index 83effa8f603..4d5812aabbd 100644 --- a/dev-python/mpmath/mpmath-1.1.0.ebuild +++ b/dev-python/mpmath/mpmath-1.1.0.ebuild @@ -3,9 +3,9 @@ EAPI=6 -PYTHON_COMPAT=( python{3_6,3_7,3_8} ) +PYTHON_COMPAT=( python{3_6,3_7,3_8,3_9} ) -inherit distutils-r1 eutils +inherit distutils-r1 eutils virtualx DESCRIPTION="Python library for arbitrary-precision floating-point arithmetic" HOMEPAGE="http://mpmath.org/" @@ -27,16 +27,17 @@ DEPEND="${RDEPEND} python_prepare_all() { local PATCHES=( "${FILESDIR}/${PN}-1.0.0.patch" - ) - - # this test requires X - rm ${PN}/tests/test_visualization.py || die + ) distutils-r1_python_prepare_all } +src_test() { + virtx distutils-r1_src_test +} + python_test() { pushd ${PN}/tests >/dev/null - ${EPYTHON} runtests.py -local + ${EPYTHON} runtests.py -local || die "Tests failed with ${EPYTHON}" popd >/dev/null }