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 C28EA138359 for ; Tue, 21 Jul 2020 13:54:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F314AE09BD; Tue, 21 Jul 2020 13:54:00 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 D80C7E09BD for ; Tue, 21 Jul 2020 13:54:00 +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 9517234EF79 for ; Tue, 21 Jul 2020 13:53:59 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B9CEC2EC for ; Tue, 21 Jul 2020 13:53:56 +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: <1595327557.22bb3f3bb982229af2594eecfa93ced32a78d928.andrewammerlaan@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-python/pyinquirer/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-python/pyinquirer/pyinquirer-9999.ebuild X-VCS-Directories: dev-python/pyinquirer/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: 22bb3f3bb982229af2594eecfa93ced32a78d928 X-VCS-Branch: master Date: Tue, 21 Jul 2020 13:53:56 +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: 7c98225c-9b1a-435c-b0e0-3e4157e8356b X-Archives-Hash: 2875b2d4489c1dc77a8aed2f9f952d01 commit: 22bb3f3bb982229af2594eecfa93ced32a78d928 Author: Matthias Coppens gmail com> AuthorDate: Tue Jul 21 10:05:22 2020 +0000 Commit: Andrew Ammerlaan riseup net> CommitDate: Tue Jul 21 10:32:37 2020 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=22bb3f3b dev-python/pyinquirer: Added pytest Added pytest, but also restricted it, because it has an outdated dep Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Matthias Coppens gmail.com> dev-python/pyinquirer/pyinquirer-9999.ebuild | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/dev-python/pyinquirer/pyinquirer-9999.ebuild b/dev-python/pyinquirer/pyinquirer-9999.ebuild index 59db9d2..7e133e6 100644 --- a/dev-python/pyinquirer/pyinquirer-9999.ebuild +++ b/dev-python/pyinquirer/pyinquirer-9999.ebuild @@ -20,6 +20,7 @@ esac PYTHON_COMPAT=( python3_{6,7,8} ) inherit distutils-r1 distutils_enable_sphinx docs +distutils_enable_tests pytest DESCRIPTION="A Python module for common interactive command line UIs" HOMEPAGE="${EGIT_REPO_URI}" @@ -27,11 +28,22 @@ LICENSE="MIT" SLOT="0" +# Tests are outdated, they fail for >dev-python/ptyprocess-0.5.1 +RESTRICT="test" + RDEPEND=" >=dev-python/prompt_toolkit-3.0.0[${PYTHON_USEDEP}] =dev-python/pygments-2.2.0[${PYTHON_USEDEP}]" -DEPEND="${RDEPEND}" +DEPEND=" + ${RDEPEND} + test? ( + dev-python/testfixtures[${PYTHON_USEDEP}] + >=dev-python/pytest-html-1.10.1[${PYTHON_USEDEP}] + >=dev-python/pytest-xdist-1.15.0[${PYTHON_USEDEP}] + >=dev-python/pylint-1.6.5[${PYTHON_USEDEP}] + >=dev-python/ptyprocess-0.5.1[${PYTHON_USEDEP}] + >=dev-python/regex-2016.11.21[${PYTHON_USEDEP}] )" src_prepare() { default