summaryrefslogtreecommitdiff
path: root/dev-go
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2020-03-11 20:37:07 -0500
committerWilliam Hubbs <williamh@gentoo.org>2020-03-11 20:39:28 -0500
commit42957cfaaeefb05e3a68bf1e723df1fbe9dd8300 (patch)
tree677f022ace7748b95c65464c14c1ea9c02f4bab7 /dev-go
parentapp-admin/puppetdb: stablize 6.9.1 for amd64/x86 for CVE-2020-7943 (diff)
downloadgentoo-42957cfaaeefb05e3a68bf1e723df1fbe9dd8300.tar.gz
gentoo-42957cfaaeefb05e3a68bf1e723df1fbe9dd8300.tar.bz2
gentoo-42957cfaaeefb05e3a68bf1e723df1fbe9dd8300.zip
dev-go/go-md2man: 2.0.0 bump
Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'dev-go')
-rw-r--r--dev-go/go-md2man/Manifest1
-rw-r--r--dev-go/go-md2man/go-md2man-2.0.0.ebuild24
2 files changed, 25 insertions, 0 deletions
diff --git a/dev-go/go-md2man/Manifest b/dev-go/go-md2man/Manifest
index f12a1a05acea..0895ada5ad17 100644
--- a/dev-go/go-md2man/Manifest
+++ b/dev-go/go-md2man/Manifest
@@ -1,3 +1,4 @@
DIST go-md2man-1.0.3.tar.gz 3279 BLAKE2B 0b693569ad7ff609508dd28b11bacdc0eb08ee0fd2b2a23dad5e26a670e1fc0fcc2321ee099114dc144fb8671dfcd7ed072e7feb17bb96e17c2f9ff0e748ddac SHA512 855809f068daae2becb31d4b182b0953a9a11428cf89d488e2148256c6f4292bf24d42bd1c5bc96ba2c1c18a8201e859629f2515f750de390e4325cc320ac7b8
DIST go-md2man-1.0.6.tar.gz 40240 BLAKE2B 183a96b661419861fcca27e34fcd107070839087d61d3c36f3da3b3aa644678d4eeb6fa31ae3a07eb41dbd750ed43fa29b5518db9a56290530795f6b3cc16873 SHA512 73abf08470c7ba3c5e5f0212a19f37ae98a8582605d2493bb21b2e5c07fafa8fb711f05665e153863d195749a0870e674e203f377ec7bb8425b9d497fa9864d1
DIST go-md2man-1.0.8.tar.gz 79284 BLAKE2B c6bf5c1507f0e7e6393c08592bf56e6423157f265a2f26b10f262c00b15c855e99c022d9e4b465247997b0c9d667ed71c727d03735af6214ec20ca30583235aa SHA512 4c52e01c9b07582b5d55d1e94935378a676bd284a3e8230a8a191d4678b1b6ae92b704a249117c542832170069a70c649e58a1752fb2973709259b5bc108db91
+DIST go-md2man-2.0.0.tar.gz 52021 BLAKE2B d3df2300a28d972b6b7269172a734dda7a60df5c25d8b4a4d9a45a2c636f08286eea4873c32d22a9533ba4e333660e4ec2deabe8fbdb9af3db96c07884278d04 SHA512 22a6c950ca7e386246fadb15f05d0a60437a249df48a7c5f905bc4bd05034cede6318e1158bd2113e97b4fd2d1e838776680a00c6141ac2b3c8795aeee15a39d
diff --git a/dev-go/go-md2man/go-md2man-2.0.0.ebuild b/dev-go/go-md2man/go-md2man-2.0.0.ebuild
new file mode 100644
index 000000000000..09492c139365
--- /dev/null
+++ b/dev-go/go-md2man/go-md2man-2.0.0.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+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="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64"
+
+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
+}