1 |
commit: 2ed2865794e0a21572eca83543082fcacd3117ba |
2 |
Author: Karol Wrótniak <karol.wrotniak <AT> droidsonroids <DOT> pl> |
3 |
AuthorDate: Sun Jul 15 15:30:30 2018 +0000 |
4 |
Commit: Tony Vroon <chainsaw <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jul 17 16:24:45 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ed28657 |
7 |
|
8 |
dev-util/envman: new ebuild, version 1.2.0 |
9 |
|
10 |
Closes: https://github.com/gentoo/gentoo/pull/9236 |
11 |
Closes: https://bugs.gentoo.org/661248 |
12 |
Closes: https://bugs.gentoo.org/657710 |
13 |
|
14 |
dev-util/envman/Manifest | 1 + |
15 |
dev-util/envman/envman-1.2.0.ebuild | 38 +++++++++++++++++++++++++++++++++++++ |
16 |
dev-util/envman/metadata.xml | 19 +++++++++++++++++++ |
17 |
3 files changed, 58 insertions(+) |
18 |
|
19 |
diff --git a/dev-util/envman/Manifest b/dev-util/envman/Manifest |
20 |
new file mode 100644 |
21 |
index 00000000000..e4ecaa9b6e7 |
22 |
--- /dev/null |
23 |
+++ b/dev-util/envman/Manifest |
24 |
@@ -0,0 +1 @@ |
25 |
+DIST envman-1.2.0.tar.gz 2997860 BLAKE2B e49d3b421fb1ab226de4430e90d8c684bc3a2554205c6383a140c0832134eaba338797dca44668fc2473d248940b5499395ab3a6d3359382305fd8a719772257 SHA512 5245aea8c280a6d6022e8132216891f09abee707c0ed736bfe6b4882aa23880a771dce5371b8ba5fcdd41fa951606727e7582442d897058b25985cf9dd5a9d18 |
26 |
|
27 |
diff --git a/dev-util/envman/envman-1.2.0.ebuild b/dev-util/envman/envman-1.2.0.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..6713bc5a103 |
30 |
--- /dev/null |
31 |
+++ b/dev-util/envman/envman-1.2.0.ebuild |
32 |
@@ -0,0 +1,38 @@ |
33 |
+# Copyright 1999-2018 Gentoo Foundation |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=6 |
37 |
+ |
38 |
+inherit golang-build |
39 |
+ |
40 |
+EGO_ON="github.com/bitrise-io" |
41 |
+EGO_PN="${EGO_ON}/${PN}" |
42 |
+ |
43 |
+DESCRIPTION="Environment variable manager for Bitrise CLI." |
44 |
+HOMEPAGE="https://www.bitrise.io/cli" |
45 |
+SRC_URI="https://${EGO_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
46 |
+ |
47 |
+LICENSE="MIT" |
48 |
+SLOT="0" |
49 |
+KEYWORDS="~amd64" |
50 |
+ |
51 |
+S="${WORKDIR}/src/${EGO_ON}/${PN}" |
52 |
+ |
53 |
+src_unpack() { |
54 |
+ unpack ${A} |
55 |
+ mkdir -p "${WORKDIR}/src/${EGO_ON}" || die "Couldn't create project dir in GOPATH" |
56 |
+ mv "${WORKDIR}/${P}" "${WORKDIR}/src/${EGO_ON}/envman" || die "Couldn't move sources to GOPATH" |
57 |
+} |
58 |
+ |
59 |
+src_compile() { |
60 |
+ GOPATH="${WORKDIR}" go build -v -o bin/envman || die "Couldn't compile envman" |
61 |
+} |
62 |
+ |
63 |
+src_test() { |
64 |
+ GOPATH="${WORKDIR}" go test ./... || die "Tests failed" |
65 |
+} |
66 |
+ |
67 |
+src_install() { |
68 |
+ dobin bin/envman |
69 |
+ dodoc README.md |
70 |
+} |
71 |
|
72 |
diff --git a/dev-util/envman/metadata.xml b/dev-util/envman/metadata.xml |
73 |
new file mode 100644 |
74 |
index 00000000000..c93a133753b |
75 |
--- /dev/null |
76 |
+++ b/dev-util/envman/metadata.xml |
77 |
@@ -0,0 +1,19 @@ |
78 |
+<?xml version="1.0" encoding="UTF-8"?> |
79 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
80 |
+<pkgmetadata> |
81 |
+ <maintainer type="person"> |
82 |
+ <email>karol.wrotniak@×××××××××××××.pl</email> |
83 |
+ <name>Karol Wrótniak</name> |
84 |
+ </maintainer> |
85 |
+ <maintainer type="project"> |
86 |
+ <email>proxy-maint@g.o</email> |
87 |
+ <name>Proxy Maintainers</name> |
88 |
+ </maintainer> |
89 |
+ <longdescription>Environment variable manager for Bitrise CLI. Part of the Bitrise Continuous Integration, Delivery and Automations Stack, with stepman and bitrise. For a nice & quick intro you should check: https://www.bitrise.io/cli</longdescription> |
90 |
+ <upstream> |
91 |
+ <bugs-to>https://github.com/bitrise-io/envman/issues</bugs-to> |
92 |
+ <changelog>https://github.com/bitrise-io/envman/blob/master/CHANGELOG.md</changelog> |
93 |
+ <doc>https://github.com/bitrise-io/envman/blob/master/README.md</doc> |
94 |
+ <remote-id type="github">bitriseio/envman</remote-id> |
95 |
+ </upstream> |
96 |
+</pkgmetadata> |