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) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8DA5B15808E for ; Sat, 30 Apr 2022 17:43:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D247EE095E; Sat, 30 Apr 2022 17:43:48 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id AC738E095E for ; Sat, 30 Apr 2022 17:43:48 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 8CD6F341610 for ; Sat, 30 Apr 2022 17:43:47 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DCA50344 for ; Sat, 30 Apr 2022 17:43:45 +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: <1651340526.fe7d7d4531666fff3c9052748a983966352adfa2.sping@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.7.0.ebuild X-VCS-Directories: dev-python/ansi2html/ X-VCS-Committer: sping X-VCS-Committer-Name: Sebastian Pipping X-VCS-Revision: fe7d7d4531666fff3c9052748a983966352adfa2 X-VCS-Branch: master Date: Sat, 30 Apr 2022 17:43:45 +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: 5c032006-e5fc-4f64-a20a-5fc7f063bf8e X-Archives-Hash: c03acae08e1d38ff376b998d451587f5 commit: fe7d7d4531666fff3c9052748a983966352adfa2 Author: Sebastian Pipping gentoo org> AuthorDate: Sat Apr 30 17:41:40 2022 +0000 Commit: Sebastian Pipping gentoo org> CommitDate: Sat Apr 30 17:42:06 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe7d7d45 dev-python/ansi2html: Fix USE=doc compilation Closes: https://bugs.gentoo.org/840155 Signed-off-by: Sebastian Pipping gentoo.org> Package-Manager: Portage-3.0.30, Repoman-3.0.3 dev-python/ansi2html/ansi2html-1.7.0.ebuild | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/dev-python/ansi2html/ansi2html-1.7.0.ebuild b/dev-python/ansi2html/ansi2html-1.7.0.ebuild index ca696089677e..64ae09c0f98d 100644 --- a/dev-python/ansi2html/ansi2html-1.7.0.ebuild +++ b/dev-python/ansi2html/ansi2html-1.7.0.ebuild @@ -32,6 +32,13 @@ BDEPEND=" distutils_enable_tests --install pytest +src_prepare() { + # Workaround man page compilation issue with removed setup.py file + # https://bugs.gentoo.org/841134 + echo '.PHONY: setup.py' >> Makefile + eapply_user +} + python_install_all() { use doc && doman man/${PN}.1 distutils-r1_python_install_all @@ -39,6 +46,6 @@ python_install_all() { src_compile() { # Upstream https://github.com/pycontribs/ansi2html/issues/124 - use doc && emake man/ansi2html.1 + use doc && emake _MANUAL_VERSION="${PV}" man/ansi2html.1 distutils-r1_src_compile }