public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/terminaltables/
Date: Sun,  7 Jul 2019 13:10:27 +0000 (UTC)	[thread overview]
Message-ID: <1562501834.e48a24ebbbec9b6bbecc00e76d10cacda7cc6e30.mgorny@gentoo> (raw)

commit:     e48a24ebbbec9b6bbecc00e76d10cacda7cc6e30
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Jul  7 12:17:14 2019 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Jul  7 12:17:14 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e48a24eb

dev-python/terminaltables: Sync the live ebuild

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 .../terminaltables/terminaltables-9999.ebuild      | 23 ++++++++++++++++------
 1 file changed, 17 insertions(+), 6 deletions(-)

diff --git a/dev-python/terminaltables/terminaltables-9999.ebuild b/dev-python/terminaltables/terminaltables-9999.ebuild
index eab7f76a409..891efcd3a4e 100644
--- a/dev-python/terminaltables/terminaltables-9999.ebuild
+++ b/dev-python/terminaltables/terminaltables-9999.ebuild
@@ -1,19 +1,30 @@
 # Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
-PYTHON_COMPAT=( python{2_7,3_5,3_6} )
+PYTHON_COMPAT=( python{2_7,3_5,3_6,3_7} )
 EGIT_REPO_URI="https://github.com/Robpol86/${PN}.git"
 inherit distutils-r1 git-r3
 
 DESCRIPTION="Generate simple tables in terminals from a nested list of strings"
-
 HOMEPAGE="https://robpol86.github.io/terminaltables"
 SRC_URI=""
+
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS=""
-IUSE=""
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
-RDEPEND=""
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
+	test? (
+		dev-python/colorama[${PYTHON_USEDEP}]
+		dev-python/colorclass[${PYTHON_USEDEP}]
+		dev-python/pytest[${PYTHON_USEDEP}]
+		dev-python/termcolor[${PYTHON_USEDEP}]
+	)"
+
+python_test() {
+	pytest -vv || die "Tests fail with ${EPYTHON}"
+}


             reply	other threads:[~2019-07-07 13:10 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-07 13:10 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-05-19 11:47 [gentoo-commits] repo/gentoo:master commit in: dev-python/terminaltables/ Michał Górny
2023-11-30  2:08 Sam James
2023-10-27 18:28 Michał Górny
2023-10-27 18:27 Michał Górny
2023-10-27 18:27 Michał Górny
2022-11-20  6:45 Sam James
2022-02-27 18:52 Michał Górny
2022-01-27 10:02 Michał Górny
2022-01-08 18:23 Michał Górny
2022-01-08 18:03 Jakov Smolić
2021-12-07 22:23 Michał Górny
2021-05-23 13:41 Michał Górny
2020-12-11 15:16 Michał Górny
2020-12-03 11:26 Sam James
2020-12-03 11:20 Sam James
2020-12-03 11:19 Sam James
2020-02-04 15:48 Michał Górny
2019-08-11  8:32 Michał Górny
2019-07-07 13:10 Michał Górny
2019-07-07 13:10 Michał Górny
2019-07-07 13:10 Michał Górny
2017-10-04  8:57 Michał Górny
2017-07-05 15:04 Brian Evans

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=1562501834.e48a24ebbbec9b6bbecc00e76d10cacda7cc6e30.mgorny@gentoo \
    --to=mgorny@gentoo.org \
    --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