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 7C55F138334 for ; Sun, 7 Jul 2019 13:10:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 94953E0880; Sun, 7 Jul 2019 13:10:32 +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 554B4E087C for ; Sun, 7 Jul 2019 13:10:32 +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 5A6ED3472F8 for ; Sun, 7 Jul 2019 13:10:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6283B6E3 for ; Sun, 7 Jul 2019 13:10:27 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1562501834.e48a24ebbbec9b6bbecc00e76d10cacda7cc6e30.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/terminaltables/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/terminaltables/terminaltables-9999.ebuild X-VCS-Directories: dev-python/terminaltables/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: e48a24ebbbec9b6bbecc00e76d10cacda7cc6e30 X-VCS-Branch: master Date: Sun, 7 Jul 2019 13:10:27 +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: 11d46ee0-0e17-4eef-96aa-8424d7a024bd X-Archives-Hash: bda520913f94ca77852a6fff5192683e commit: e48a24ebbbec9b6bbecc00e76d10cacda7cc6e30 Author: Michał Górny gentoo org> AuthorDate: Sun Jul 7 12:17:14 2019 +0000 Commit: Michał Górny gentoo 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 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}" +}