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 DF378158451 for ; Fri, 12 Jan 2024 18:45:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2E9E3E29DA; Fri, 12 Jan 2024 18:45:33 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1152DE29DA for ; Fri, 12 Jan 2024 18:45:33 +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 34ECD34314D for ; Fri, 12 Jan 2024 18:45:32 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8FCF312C8 for ; Fri, 12 Jan 2024 18:45:30 +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: <1705085125.9ccd620b9620d7b59effe6e3335d91caf4572949.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.3.ebuild X-VCS-Directories: dev-go/go-md2man/ X-VCS-Committer: williamh X-VCS-Committer-Name: William Hubbs X-VCS-Revision: 9ccd620b9620d7b59effe6e3335d91caf4572949 X-VCS-Branch: master Date: Fri, 12 Jan 2024 18:45: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: aa3933e2-224f-4297-a081-5e3fce3a1472 X-Archives-Hash: ca5c831eb3014f357a966d8cbfdf9119 commit: 9ccd620b9620d7b59effe6e3335d91caf4572949 Author: William Hubbs gentoo org> AuthorDate: Fri Jan 12 18:43:00 2024 +0000 Commit: William Hubbs gentoo org> CommitDate: Fri Jan 12 18:45:25 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ccd620b dev-go/go-md2man: add 2.0.3 Closes: https://bugs.gentoo.org/921726 Signed-off-by: William Hubbs gentoo.org> dev-go/go-md2man/Manifest | 1 + dev-go/go-md2man/go-md2man-2.0.3.ebuild | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 33 insertions(+) diff --git a/dev-go/go-md2man/Manifest b/dev-go/go-md2man/Manifest index ac3ef5d418e9..6a3a3a63a429 100644 --- a/dev-go/go-md2man/Manifest +++ b/dev-go/go-md2man/Manifest @@ -1 +1,2 @@ DIST go-md2man-2.0.2.tar.gz 64353 BLAKE2B cc9ce9d14b61e600cf5179b72e08bc7e6ae5fcf31d3e00d6e5f7e5e77a26dd2b2b8a938e168e0053b2a9f9aab734d9beb02f7d95549fbf073125ad42b03cf478 SHA512 c81edfdc0b6647ef699cc908a1a7038d98da34df6d48b223b83a0699de91a7e322e70d67645acf1fc848918f4c1ea310160c7ccb75e6f97b53af7103c7aa18b3 +DIST go-md2man-2.0.3.tar.gz 64961 BLAKE2B 790fe7c247e0f934a397d7389be589c6e4d75be3cd533da13ae4e46c927604c3249e3a2f0c975320bac0f21f3040059202434f6fd4b2ea6dd50d6b772fa01842 SHA512 237e8039beea11b4efb7d0c75fb5826c17dea50057b0149b9533e72e2a5198811f9a3a5b264ea3788922d2f03b07cb57914448b2d4325d54d0f946fb42c42f40 diff --git a/dev-go/go-md2man/go-md2man-2.0.3.ebuild b/dev-go/go-md2man/go-md2man-2.0.3.ebuild new file mode 100644 index 000000000000..84427b8c616f --- /dev/null +++ b/dev-go/go-md2man/go-md2man-2.0.3.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2024 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 +}