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 256251382C5 for ; Tue, 23 Feb 2021 14:30:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 549B4E0821; Tue, 23 Feb 2021 14:30:45 +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 38EF2E0821 for ; Tue, 23 Feb 2021 14:30:45 +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 A937F340EC7 for ; Tue, 23 Feb 2021 14:30:43 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1747D4A5 for ; Tue, 23 Feb 2021 14:30:42 +0000 (UTC) From: "Andrew Ammerlaan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Ammerlaan" Message-ID: <1614090630.c08e31285766d3ebef86473c7fc3090afe2761e5.andrewammerlaan@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: app-office/visidata/ X-VCS-Repository: proj/sci X-VCS-Files: app-office/visidata/visidata-2.1.1.ebuild X-VCS-Directories: app-office/visidata/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: c08e31285766d3ebef86473c7fc3090afe2761e5 X-VCS-Branch: master Date: Tue, 23 Feb 2021 14:30:42 +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: 97a5575e-2396-42c2-a094-89af0dd6e18a X-Archives-Hash: 974d0b1146fa9a52e495eb351ec9eb5a commit: c08e31285766d3ebef86473c7fc3090afe2761e5 Author: Wolfgang E. Sanyer gmail com> AuthorDate: Tue Feb 23 14:17:20 2021 +0000 Commit: Andrew Ammerlaan riseup net> CommitDate: Tue Feb 23 14:30:30 2021 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=c08e3128 app-offic/visidata: use distutils_enable_tests Signed-off-by: Wolfgang E. Sanyer gmail.com> Closes: https://github.com/gentoo/sci/pull/1057 Signed-off-by: Andrew Ammerlaan riseup.net> app-office/visidata/visidata-2.1.1.ebuild | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app-office/visidata/visidata-2.1.1.ebuild b/app-office/visidata/visidata-2.1.1.ebuild index 8a63fed59..a214036d8 100644 --- a/app-office/visidata/visidata-2.1.1.ebuild +++ b/app-office/visidata/visidata-2.1.1.ebuild @@ -15,8 +15,6 @@ SRC_URI="https://github.com/saulpw/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="GPL-3" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="test" -RESTRICT="!test? ( test )" RDEPEND="dev-python/python-dateutil[${PYTHON_USEDEP}]" BDEPEND=" @@ -36,6 +34,8 @@ BDEPEND=" # dev-python/sphinx-argparse # dev-python/sphinx-markdown-tables +distutils_enable_tests pytest + python_prepare_all() { rm tests/load-http.vd || die "Could not remove network-dependent test." rm tests/graph-cursor-nosave.vd || die "Could not remove network-dependent test." @@ -53,6 +53,7 @@ python_prepare_all() { python_test() { git init || die "Git init failed." git add tests/golden/ || die "Git add failed." + # this test script eventually calls pytest under the hood dev/test.sh || die "Tests failed." rm .git -rf || die "Could not clean up git test directory." }