summaryrefslogtreecommitdiff
path: root/dev-go
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-01-13 01:09:33 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-01-13 01:09:33 +0000
commit58523314abd7b5740c06e3bbcd41ada404e7c612 (patch)
tree2ec4372c4b63bd8679af9b4c591c2743e421b1b9 /dev-go
parent4fc30e4e13ecfbe29fbef3b5caf96218eab30b68 (diff)
gentoo auto-resync : 13:01:2024 - 01:09:33
Diffstat (limited to 'dev-go')
-rw-r--r--dev-go/Manifest.gzbin5037 -> 5045 bytes
-rw-r--r--dev-go/go-md2man/Manifest2
-rw-r--r--dev-go/go-md2man/go-md2man-2.0.3.ebuild32
3 files changed, 34 insertions, 0 deletions
diff --git a/dev-go/Manifest.gz b/dev-go/Manifest.gz
index 247490736abd..ad6838a0e9c9 100644
--- a/dev-go/Manifest.gz
+++ b/dev-go/Manifest.gz
Binary files differ
diff --git a/dev-go/go-md2man/Manifest b/dev-go/go-md2man/Manifest
index 846df678756b..31c51c62a4fa 100644
--- a/dev-go/go-md2man/Manifest
+++ b/dev-go/go-md2man/Manifest
@@ -1,3 +1,5 @@
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
EBUILD go-md2man-2.0.2.ebuild 762 BLAKE2B 0776b7e48bdc0d9b5c826d43a32259632d9fd3db35d6c3356d4bc027b09312b96fc43e4310a2390ad5c84485036fdd22ee5230f484a927ee9c72e364a00ddce2 SHA512 d5aabaf6369ddaa2721a65b3d870639b0690399722642095befe85dc4ebef53a9b9648bb4eba7f559319b4e979fe0cd56fd5cff2584a05dfc44d47a16b579da7
+EBUILD go-md2man-2.0.3.ebuild 765 BLAKE2B 7b3fe93aa2152ad0a4cea0b3730214a47fd21501820a7f0282eab9eb3639cdbb104c9ef2449923c827f379c60fd600fff23a4dd1aa5fc9f67ff02aadd3aa8352 SHA512 17f721065313ecaf211b78e9eb4741752c6d6b808e2bf30cbedc960626a3c1a22a71e01734c89962df1090544ec606da29b70c2203de92891d475e8b30a46cd9
MISC metadata.xml 332 BLAKE2B 42f4eb1e29091b8232cd71a38ba515180ac9287c06c357c042854e678973176760ecc6921cbd486bbd112ac056f18f900c6680ba6e2dc27990520459305f783a SHA512 09f145af286d702f22d73e47f8a25df4b3080c5a986a9a2a51bbe2df7a839082732d5bd5d552c22cda0a67a5c9177cada5c7b79714eabb5d3b28d53751e4a078
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
+}