summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2021-07-14 13:50:52 -0500
committerWilliam Hubbs <williamh@gentoo.org>2021-07-14 13:52:30 -0500
commit0d972f0995b2f61fdbd82b2df2f0562df5fd50d3 (patch)
tree013f62e167707a29f860b06643541027edde54cb /dev-util
parentdev-perl/Gtk3-ImageView: add upstream meta (diff)
downloadgentoo-0d972f0995b2f61fdbd82b2df2f0562df5fd50d3.tar.gz
gentoo-0d972f0995b2f61fdbd82b2df2f0562df5fd50d3.tar.bz2
gentoo-0d972f0995b2f61fdbd82b2df2f0562df5fd50d3.zip
dev-util/mage: new package, make/rake like tool using go
Package-Manager: Portage-3.0.20, Repoman-3.0.2 Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/mage/Manifest1
-rw-r--r--dev-util/mage/mage-1.11.0.ebuild21
-rw-r--r--dev-util/mage/metadata.xml8
3 files changed, 30 insertions, 0 deletions
diff --git a/dev-util/mage/Manifest b/dev-util/mage/Manifest
new file mode 100644
index 000000000000..590850c53f2f
--- /dev/null
+++ b/dev-util/mage/Manifest
@@ -0,0 +1 @@
+DIST mage-1.11.0.tar.gz 8795144 BLAKE2B 20e0934cc8a4cdf91586d4883c69e2040a6b67e440429bbbb23e4d35ca5a6d33bf34d0e9419f35e5bf273074cf9577a2ba61251b91d3cea619fba6c4cbe13007 SHA512 dd4e0764f6567250a70461f7b040cc5725f59a4b375aa85f1b4f0a8a9c1738ec4fc5f1a078349f34e655229397b0431c88ecd54603c281440a23a81e949cf9a4
diff --git a/dev-util/mage/mage-1.11.0.ebuild b/dev-util/mage/mage-1.11.0.ebuild
new file mode 100644
index 000000000000..b589b5b0780b
--- /dev/null
+++ b/dev-util/mage/mage-1.11.0.ebuild
@@ -0,0 +1,21 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit go-module
+
+DESCRIPTION="make/rake like tool using go"
+HOMEPAGE="https://magefile.org"
+SRC_URI="https://github.com/magefile/mage/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+
+src_compile() {
+ GOBIN="${S}/bin" go run bootstrap.go || die "build failed"
+}
+
+src_install() {
+dobin bin/mage
+}
diff --git a/dev-util/mage/metadata.xml b/dev-util/mage/metadata.xml
new file mode 100644
index 000000000000..c36c37139fad
--- /dev/null
+++ b/dev-util/mage/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>williamh@gentoo.org</email>
+ <name>William Hubbs</name>
+ </maintainer>
+</pkgmetadata>