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 8137A1382C5 for ; Tue, 29 Dec 2020 13:05:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C86352BC032; Tue, 29 Dec 2020 13:05:41 +0000 (UTC) Received: from smtp.gentoo.org (mail.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 AC9272BC032 for ; Tue, 29 Dec 2020 13:05:41 +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 B04AB340EFC for ; Tue, 29 Dec 2020 13:05:40 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 348263A6 for ; Tue, 29 Dec 2020 13:05:39 +0000 (UTC) From: "David Seifert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Seifert" Message-ID: <1609247132.155cb064c89db765967169fa35bdab8a144bf83c.soap@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pydotplus/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pydotplus/pydotplus-2.0.2.ebuild X-VCS-Directories: dev-python/pydotplus/ X-VCS-Committer: soap X-VCS-Committer-Name: David Seifert X-VCS-Revision: 155cb064c89db765967169fa35bdab8a144bf83c X-VCS-Branch: master Date: Tue, 29 Dec 2020 13:05:39 +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: a5aedad3-1db8-4f54-bafd-09f203678584 X-Archives-Hash: a57e6212807afd1d7403eb8a0b3223bd commit: 155cb064c89db765967169fa35bdab8a144bf83c Author: David Seifert gentoo org> AuthorDate: Tue Dec 29 13:05:32 2020 +0000 Commit: David Seifert gentoo org> CommitDate: Tue Dec 29 13:05:32 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=155cb064 dev-python/pydotplus: Fix test phase and add py3.9 Closes: https://bugs.gentoo.org/719404 Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: David Seifert gentoo.org> dev-python/pydotplus/pydotplus-2.0.2.ebuild | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/dev-python/pydotplus/pydotplus-2.0.2.ebuild b/dev-python/pydotplus/pydotplus-2.0.2.ebuild index c8aa79de634..0c5a24a0433 100644 --- a/dev-python/pydotplus/pydotplus-2.0.2.ebuild +++ b/dev-python/pydotplus/pydotplus-2.0.2.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_{7,8} ) +PYTHON_COMPAT=( python3_{6..9} ) inherit distutils-r1 @@ -14,19 +14,16 @@ SRC_URI="mirror://pypi/p/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="test" -RESTRICT="!test? ( test )" RDEPEND=" dev-python/pyparsing[${PYTHON_USEDEP}] - media-gfx/graphviz -" -DEPEND="test? ( ${RDEPEND} )" + media-gfx/graphviz" -PATCHES=( "${FILESDIR}/${P}-tests.patch" ) +distutils_enable_tests unittest + +PATCHES=( "${FILESDIR}"/${P}-tests.patch ) python_test() { - pushd test > /dev/null || die - python pydot_unittest.py || die - popd > /dev/null || die + cd test || die + "${EPYTHON}" pydot_unittest.py || die }