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 49D0D139694 for ; Wed, 22 Feb 2017 22:18:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 79DF4E0C62; Wed, 22 Feb 2017 22:18:49 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 46E82E0C62 for ; Wed, 22 Feb 2017 22:18:49 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 46D4C340FE2 for ; Wed, 22 Feb 2017 22:18:47 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 14024511D for ; Wed, 22 Feb 2017 22:18:46 +0000 (UTC) From: "Sebastian Pipping" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sebastian Pipping" Message-ID: <1487801906.13c45eb0a45aac29ae72bb7f544a6e6b4e926cf4.sping@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/ansi2html/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/ansi2html/Manifest dev-python/ansi2html/ansi2html-1.2.0.ebuild X-VCS-Directories: dev-python/ansi2html/ X-VCS-Committer: sping X-VCS-Committer-Name: Sebastian Pipping X-VCS-Revision: 13c45eb0a45aac29ae72bb7f544a6e6b4e926cf4 X-VCS-Branch: master Date: Wed, 22 Feb 2017 22:18:46 +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: d17075c4-07ce-46b9-a798-83933423db2e X-Archives-Hash: 13bd6a981e05cecc67ff87d35205f1f1 commit: 13c45eb0a45aac29ae72bb7f544a6e6b4e926cf4 Author: Sebastian Pipping gentoo org> AuthorDate: Wed Feb 22 22:18:11 2017 +0000 Commit: Sebastian Pipping gentoo org> CommitDate: Wed Feb 22 22:18:26 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13c45eb0 dev-python/ansi2html: 1.2.0 Package-Manager: Portage-2.3.3, Repoman-2.3.1 dev-python/ansi2html/Manifest | 1 + dev-python/ansi2html/ansi2html-1.2.0.ebuild | 45 +++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+) diff --git a/dev-python/ansi2html/Manifest b/dev-python/ansi2html/Manifest index 278cf6e346..938ccf1480 100644 --- a/dev-python/ansi2html/Manifest +++ b/dev-python/ansi2html/Manifest @@ -1 +1,2 @@ DIST ansi2html-1.1.1.tar.gz 46591 SHA256 5c8a482e92fd49005c083d5ed5aa946d424a71eda60be27fda005bbb5ed8c53f SHA512 5f08e6e3e89797f23759da7aac8cbd17e86ffcac37af8db8c345423c69744d88a1517cb0f17dc9c366b509b972484d25877cce8c7466a7a463eea24af17133de WHIRLPOOL 3d2555784c7077b6541df30b485af5f7f4884c40018b11c8a78afaac8c942f7f0903bf2fe442cdc75ddbb09b7be77cf58cc6a1f980617ded3b6eb68324d441d1 +DIST ansi2html-1.2.0.tar.gz 46748 SHA256 3e5d5ada557e0bbe3e204a686f959de17f76c86c20615c034767e5ebdc0740f1 SHA512 3106488da19cd093d7ae2a7499a66baf77877f47da0e497791cea2a63079c184f1d36743e78116b3faf08ab145ca97b5774151114b9ca193020578c8a3bdc860 WHIRLPOOL d19a79d21c630ccbb5ad7a66fd076c47d93d06879f493cb1e6c2e2eed5b66f8a9208c38ada9ef37159d9d27bc2915abdbdec5869b53cb8678c8316c98eedf04d diff --git a/dev-python/ansi2html/ansi2html-1.2.0.ebuild b/dev-python/ansi2html/ansi2html-1.2.0.ebuild new file mode 100644 index 0000000000..f5e27583bd --- /dev/null +++ b/dev-python/ansi2html/ansi2html-1.2.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 python3_{4,5} pypy ) + +inherit distutils-r1 + +DESCRIPTION="Convert text with ANSI color codes to HTML" +HOMEPAGE="https://pypi.python.org/pypi/ansi2html https://github.com/ralphbean/ansi2html" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="test" + +# They miserably fail. +RESTRICT="test" + +RDEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + >=dev-python/six-1.7.3[${PYTHON_USEDEP}]" +DEPEND=" + test? ( + ${RDEPEND} + dev-python/nose[${PYTHON_USEDEP}] + $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' python2_7 pypy) + ) + dev-python/setuptools[${PYTHON_USEDEP}] + " + +python_test() { + chmod -x "${S}"/tests/* || die + esetup.py check + esetup.py test +} + +python_install_all() { + doman man/"${PN}.1" + DOCS=( README.rst man/"${PN}".1.txt ) + distutils-r1_python_install_all +}