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 4089C15800F for ; Tue, 21 Feb 2023 17:18:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 70174E0DA3; Tue, 21 Feb 2023 17:18:56 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 5717EE0DA3 for ; Tue, 21 Feb 2023 17:18:56 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 747B6340C72 for ; Tue, 21 Feb 2023 17:18:55 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1193B88E for ; Tue, 21 Feb 2023 17:18:54 +0000 (UTC) From: "William Hubbs" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "William Hubbs" Message-ID: <1676999917.c34e1458c05a88079beec38575407054ef238cee.williamh@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-go/go-md2man/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-go/go-md2man/Manifest dev-go/go-md2man/go-md2man-2.0.2.ebuild X-VCS-Directories: dev-go/go-md2man/ X-VCS-Committer: williamh X-VCS-Committer-Name: William Hubbs X-VCS-Revision: c34e1458c05a88079beec38575407054ef238cee X-VCS-Branch: master Date: Tue, 21 Feb 2023 17:18:54 +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: bda90eff-7a02-42fa-b55e-541dc720fb0b X-Archives-Hash: c7ba40926be489ed315276c954511e0a commit: c34e1458c05a88079beec38575407054ef238cee Author: William Hubbs gentoo org> AuthorDate: Tue Feb 21 17:18:20 2023 +0000 Commit: William Hubbs gentoo org> CommitDate: Tue Feb 21 17:18:37 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c34e1458 dev-go/go-md2man: add 2.0.2 Closes: https://bugs.gentoo.org/895448 Signed-off-by: William Hubbs gentoo.org> dev-go/go-md2man/Manifest | 1 + dev-go/go-md2man/go-md2man-2.0.2.ebuild | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 33 insertions(+) diff --git a/dev-go/go-md2man/Manifest b/dev-go/go-md2man/Manifest index d5819c4093be..d147bd3f296c 100644 --- a/dev-go/go-md2man/Manifest +++ b/dev-go/go-md2man/Manifest @@ -1 +1,2 @@ DIST go-md2man-2.0.0.tar.gz 52021 BLAKE2B d3df2300a28d972b6b7269172a734dda7a60df5c25d8b4a4d9a45a2c636f08286eea4873c32d22a9533ba4e333660e4ec2deabe8fbdb9af3db96c07884278d04 SHA512 22a6c950ca7e386246fadb15f05d0a60437a249df48a7c5f905bc4bd05034cede6318e1158bd2113e97b4fd2d1e838776680a00c6141ac2b3c8795aeee15a39d +DIST go-md2man-2.0.2.tar.gz 64353 BLAKE2B cc9ce9d14b61e600cf5179b72e08bc7e6ae5fcf31d3e00d6e5f7e5e77a26dd2b2b8a938e168e0053b2a9f9aab734d9beb02f7d95549fbf073125ad42b03cf478 SHA512 c81edfdc0b6647ef699cc908a1a7038d98da34df6d48b223b83a0699de91a7e322e70d67645acf1fc848918f4c1ea310160c7ccb75e6f97b53af7103c7aa18b3 diff --git a/dev-go/go-md2man/go-md2man-2.0.2.ebuild b/dev-go/go-md2man/go-md2man-2.0.2.ebuild new file mode 100644 index 000000000000..a3c4c9e0ebeb --- /dev/null +++ b/dev-go/go-md2man/go-md2man-2.0.2.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit go-module + +DESCRIPTION="A utility to convert markdown to man pages" + SRC_URI="https://github.com/cpuguy83/go-md2man/archive/v${PV}.tar.gz -> ${P}.tar.gz" +HOMEPAGE="https://github.com/cpuguy83/go-md2man" + +LICENSE="BSD-2 MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" + +# restrict tests because they need network-sandbox disabled +# bug https://bugs.gentoo.org/715028 +RESTRICT+=" test" + +src_compile() { + emake BUILD_FLAGS="-mod=vendor" build +} + +src_install() { + "${S}"/bin/go-md2man -in go-md2man.1.md -out go-md2man.1 || + die "Unable to create man page" + dobin bin/go-md2man + doman go-md2man.1 +} + +src_test() { + emake test +}