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 24819138331 for ; Mon, 26 Feb 2018 21:56:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5632FE0A64; Mon, 26 Feb 2018 21:56:40 +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 33803E0A64 for ; Mon, 26 Feb 2018 21:56:39 +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 167F6335C4D for ; Mon, 26 Feb 2018 21:56:39 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 752A0233 for ; Mon, 26 Feb 2018 21:56:35 +0000 (UTC) From: "Patrice Clement" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Patrice Clement" Message-ID: <1519682010.e3eaeecdc730dfec9f3858ad682068a80eb73a07.monsieurp@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/ansicolor/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/ansicolor/ansicolor-9999.ebuild X-VCS-Directories: dev-python/ansicolor/ X-VCS-Committer: monsieurp X-VCS-Committer-Name: Patrice Clement X-VCS-Revision: e3eaeecdc730dfec9f3858ad682068a80eb73a07 X-VCS-Branch: master Date: Mon, 26 Feb 2018 21:56:35 +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-Archives-Salt: 4e4c5703-48a3-4d2c-a143-b4427d9d6614 X-Archives-Hash: 55510f3d0f3acad82923682fc0cd43bd commit: e3eaeecdc730dfec9f3858ad682068a80eb73a07 Author: Ilya Tumaykin gmail com> AuthorDate: Mon Feb 26 16:49:39 2018 +0000 Commit: Patrice Clement gentoo org> CommitDate: Mon Feb 26 21:53:30 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3eaeecd dev-python/ansicolor: add live ebuild. It has tests! Package-Manager: Portage-2.3.24, Repoman-2.3.6 Closes: https://github.com/gentoo/gentoo/pull/7285 dev-python/ansicolor/ansicolor-9999.ebuild | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/dev-python/ansicolor/ansicolor-9999.ebuild b/dev-python/ansicolor/ansicolor-9999.ebuild new file mode 100644 index 00000000000..bbb99ff83a3 --- /dev/null +++ b/dev-python/ansicolor/ansicolor-9999.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy ) + +inherit distutils-r1 git-r3 + +DESCRIPTION="Produce ansi color output and colored highlighting and diffing" +HOMEPAGE="https://github.com/numerodix/ansicolor" +EGIT_REPO_URI="https://github.com/numerodix/ansicolor.git" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="" +IUSE="test" + +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( dev-python/pytest[${PYTHON_USEDEP}] ) +" + +python_test() { + py.test -v || die "Test suite failed with ${EPYTHON}" +}