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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 717D9158095 for ; Thu, 7 Jul 2022 19:12:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2CA20E0D19; Thu, 7 Jul 2022 19:12:00 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 745F0E0D12 for ; Thu, 7 Jul 2022 19:11:57 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B42D8340DEE for ; Thu, 7 Jul 2022 19:11:56 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 28145528 for ; Thu, 7 Jul 2022 19:11:55 +0000 (UTC) From: "Arthur Zamarin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Arthur Zamarin" Message-ID: <1657221105.d7090b5d5fd4e5ae6f7634f5c796cb6fab82e2e1.arthurzam@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.8.0.ebuild X-VCS-Directories: dev-python/ansi2html/ X-VCS-Committer: arthurzam X-VCS-Committer-Name: Arthur Zamarin X-VCS-Revision: d7090b5d5fd4e5ae6f7634f5c796cb6fab82e2e1 X-VCS-Branch: master Date: Thu, 7 Jul 2022 19:11:55 +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: 8d3b97e3-80ab-4166-8da9-da5c8e883623 X-Archives-Hash: cd1fde16b9916855ec98330ed4e65a9a commit: d7090b5d5fd4e5ae6f7634f5c796cb6fab82e2e1 Author: Arthur Zamarin gentoo org> AuthorDate: Thu Jul 7 18:52:29 2022 +0000 Commit: Arthur Zamarin gentoo org> CommitDate: Thu Jul 7 19:11:45 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7090b5d dev-python/ansi2html: add 1.8.0, EAPI=8, PEP517 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/ansi2html/Manifest | 1 + dev-python/ansi2html/ansi2html-1.8.0.ebuild | 41 +++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+) diff --git a/dev-python/ansi2html/Manifest b/dev-python/ansi2html/Manifest index ae7a56d67155..005196d5adea 100644 --- a/dev-python/ansi2html/Manifest +++ b/dev-python/ansi2html/Manifest @@ -1 +1,2 @@ DIST ansi2html-1.7.0.tar.gz 42189 BLAKE2B 91c7409b4f8b7503e719489b18e9d7267d80c5259b7481f127cb8d1e6429649249b0832746285efc3e8a4f90ca8f21b872b002634d47a4a54ddfdcc74df0f576 SHA512 bcae0de9874899bd8440853b8279f3b2c4ed46e24bf807221ddc9d1bfa39647e2efd178aefc2fd39bad27b53890270b6ff7c150a0b8e74581b8323ef7a16c977 +DIST ansi2html-1.8.0.tar.gz 44146 BLAKE2B 66672927a64ad38dce0b0819fabc3778f6aba82d176e992630a8db076988a21af8dd445306b8bb580f1539b35044b95de749d6bfb65c27f9b431e4cb6bd562c7 SHA512 cbdda41f206ced5b19761a1ff9747acc6cadca3a5a2f58c97c6073db7d517e59fea7601bba28a8e7e105f3c0c9c4d78ca4f242100cbded6c8a9ca2d598de0ab4 diff --git a/dev-python/ansi2html/ansi2html-1.8.0.ebuild b/dev-python/ansi2html/ansi2html-1.8.0.ebuild new file mode 100644 index 000000000000..9b52578c0779 --- /dev/null +++ b/dev-python/ansi2html/ansi2html-1.8.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..10} ) + +inherit distutils-r1 + +DESCRIPTION="Convert text with ANSI color codes to HTML" +HOMEPAGE="https://pypi.org/project/ansi2html/ + https://github.com/pycontribs/ansi2html" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="LGPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~arm ~riscv ~x86" +IUSE="doc" + +RDEPEND=">=dev-python/six-1.7.3[${PYTHON_USEDEP}]" +BDEPEND=" + dev-python/setuptools_scm[${PYTHON_USEDEP}] + dev-python/setuptools_scm_git_archive[${PYTHON_USEDEP}] + doc? ( + app-text/asciidoc + ) +" + +distutils_enable_tests pytest + +python_install_all() { + use doc && doman man/${PN}.1 + distutils-r1_python_install_all +} + +src_compile() { + # Upstream https://github.com/pycontribs/ansi2html/issues/124 + use doc && emake _MANUAL_VERSION="${PV}" man/ansi2html.1 + distutils-r1_src_compile +}