public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andrew Ammerlaan" <andrewammerlaan@riseup.net>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-python/pyinquirer/
Date: Tue, 21 Jul 2020 13:53:56 +0000 (UTC)	[thread overview]
Message-ID: <1595327557.22bb3f3bb982229af2594eecfa93ced32a78d928.andrewammerlaan@gentoo> (raw)

commit:     22bb3f3bb982229af2594eecfa93ced32a78d928
Author:     Matthias Coppens <coppens.matthias.abc <AT> gmail <DOT> com>
AuthorDate: Tue Jul 21 10:05:22 2020 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> 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 <coppens.matthias.abc <AT> 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/prompt_toolkit-3.1.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


             reply	other threads:[~2020-07-21 13:54 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-21 13:53 Andrew Ammerlaan [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-01-05 15:37 [gentoo-commits] repo/proj/guru:master commit in: dev-python/pyinquirer/ Andrew Ammerlaan
2020-09-11 16:51 Andrew Ammerlaan
2020-07-22 14:01 Andrew Ammerlaan
2020-07-21 13:53 Andrew Ammerlaan
2020-07-21 13:53 Andrew Ammerlaan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1595327557.22bb3f3bb982229af2594eecfa93ced32a78d928.andrewammerlaan@gentoo \
    --to=andrewammerlaan@riseup.net \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox