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 7DEBE138359 for ; Wed, 16 Sep 2020 22:31:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C204EE0884; Wed, 16 Sep 2020 22:31:32 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 AC09DE0884 for ; Wed, 16 Sep 2020 22:31:32 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 C7468335DA4 for ; Wed, 16 Sep 2020 22:31:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7572C33A for ; Wed, 16 Sep 2020 22:31:30 +0000 (UTC) From: "Louis Sautier" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Louis Sautier" Message-ID: <1600295471.77207d3d80b075208e9dd6b001d63d39a4ede9db.sbraz@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/ansi2html/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/ansi2html/ansi2html-1.5.2-r2.ebuild X-VCS-Directories: dev-python/ansi2html/ X-VCS-Committer: sbraz X-VCS-Committer-Name: Louis Sautier X-VCS-Revision: 77207d3d80b075208e9dd6b001d63d39a4ede9db X-VCS-Branch: master Date: Wed, 16 Sep 2020 22:31:30 +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: dd207ec7-97d2-4edb-b476-e98c292d9e14 X-Archives-Hash: 7d840df11283f6b28f0e0ae9d39bc587 commit: 77207d3d80b075208e9dd6b001d63d39a4ede9db Author: Louis Sautier gentoo org> AuthorDate: Fri Sep 11 23:40:00 2020 +0000 Commit: Louis Sautier gentoo org> CommitDate: Wed Sep 16 22:31:11 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77207d3d dev-python/ansi2html: add Python 3.9 support, misc. fixes * Remove redundant src_compile. * Rely on distutils_enable_tests (chmod -x and setup.py check are not necessary). * Don't include manpage in DOCS. * Move test dependencies to BDEPEND. Package-Manager: Portage-3.0.6, Repoman-3.0.1 Signed-off-by: Louis Sautier gentoo.org> dev-python/ansi2html/ansi2html-1.5.2-r2.ebuild | 32 ++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/dev-python/ansi2html/ansi2html-1.5.2-r2.ebuild b/dev-python/ansi2html/ansi2html-1.5.2-r2.ebuild new file mode 100644 index 00000000000..6bcbcf7230e --- /dev/null +++ b/dev-python/ansi2html/ansi2html-1.5.2-r2.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8,9} ) +DISTUTILS_USE_SETUPTOOLS=rdepend + +inherit distutils-r1 + +DESCRIPTION="Convert text with ANSI color codes to HTML" +HOMEPAGE="https://pypi.org/project/ansi2html/ https://github.com/ralphbean/ansi2html" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="LGPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" + +RDEPEND=">=dev-python/six-1.7.3[${PYTHON_USEDEP}]" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/nose[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests setup.py + +python_install_all() { + doman man/${PN}.1 + distutils-r1_python_install_all +}