summaryrefslogtreecommitdiff
path: root/dev-go
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-02-21 20:25:12 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-02-21 20:25:12 +0000
commitd37f8725bb68034ef10d8882fb4411a49f2f666e (patch)
tree2b530ee04815bacc1dc051db24c2727d3056b77b /dev-go
parent171d09fa1f429aa43835c618a2c21753ad5209a4 (diff)
gentoo auto-resync : 21:02:2023 - 20:25:12
Diffstat (limited to 'dev-go')
-rw-r--r--dev-go/Manifest.gzbin4710 -> 4715 bytes
-rw-r--r--dev-go/go-md2man/Manifest2
-rw-r--r--dev-go/go-md2man/go-md2man-2.0.2.ebuild32
3 files changed, 34 insertions, 0 deletions
diff --git a/dev-go/Manifest.gz b/dev-go/Manifest.gz
index 0195d4556602..f30b3de0b2a1 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 359451804561..16b037652550 100644
--- a/dev-go/go-md2man/Manifest
+++ b/dev-go/go-md2man/Manifest
@@ -1,3 +1,5 @@
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
EBUILD go-md2man-2.0.0.ebuild 762 BLAKE2B d6ee24b7b007d93e6c28feb661d92dd88370d6a8409f13266edce58b01846cbd046c64e0ba1769ff35b9ac369ae453f8f4985d1562488feb710f95e2871b4915 SHA512 ff5a1d8bccd89e94cefe35436a0d52e8fecddecd2c2f840b856fb40fee4214a3d2dd9fd5b486b142612536350e8cd734b7f12ea2981abddb046b6e5c11481e47
+EBUILD go-md2man-2.0.2.ebuild 765 BLAKE2B 8f466bc18399a8394b3a6bc2a03ca4ce8a8de4714ba446b8d2caaca5065f2e14383cacc05e80a7cac493034a0b9e6a2903bfa3ccc3217fa535d4f1c51d34924b SHA512 2ddb5bfdfda37d9c3f02f9dcc1d14309824f8998f4e46d49a1b08df078d74ecd8f61781d2dc7a2c647ea732f875e5aec10fa08c3323b2e8cb3be5e0bad214cef
MISC metadata.xml 332 BLAKE2B 42f4eb1e29091b8232cd71a38ba515180ac9287c06c357c042854e678973176760ecc6921cbd486bbd112ac056f18f900c6680ba6e2dc27990520459305f783a SHA512 09f145af286d702f22d73e47f8a25df4b3080c5a986a9a2a51bbe2df7a839082732d5bd5d552c22cda0a67a5c9177cada5c7b79714eabb5d3b28d53751e4a078
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
+}