1 |
commit: 1da2d7e78331fd6b399f2a8a676856ec5ac68261 |
2 |
Author: Aaron Bauman <bman <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Sep 28 00:54:44 2020 +0000 |
4 |
Commit: Aaron Bauman <bman <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Sep 28 00:54:44 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1da2d7e7 |
7 |
|
8 |
dev-db/go-etcd: drop old EAPI=5 |
9 |
|
10 |
Signed-off-by: Aaron Bauman <bman <AT> gentoo.org> |
11 |
|
12 |
dev-db/go-etcd/Manifest | 1 - |
13 |
dev-db/go-etcd/go-etcd-0_p20141013-r1.ebuild | 48 ---------------------------- |
14 |
dev-db/go-etcd/go-etcd-2.0.0.ebuild | 48 ---------------------------- |
15 |
3 files changed, 97 deletions(-) |
16 |
|
17 |
diff --git a/dev-db/go-etcd/Manifest b/dev-db/go-etcd/Manifest |
18 |
index e35e4cbdc68..60c0e298be6 100644 |
19 |
--- a/dev-db/go-etcd/Manifest |
20 |
+++ b/dev-db/go-etcd/Manifest |
21 |
@@ -1,2 +1 @@ |
22 |
-DIST go-etcd-0_p20141013.tar.gz 18214 BLAKE2B ceb14c88dc65c81d0b8f620986ad30d9b0b21f92169979c69d0f7fd97abd81ef0c210dd3cb4bc23f361fc13aa97ba2cf5fcf59524608a14637780a381f3bf21d SHA512 af07b2434bbad219962e989ca1d6ccb86bb40f698aa3f2b681ac04094dc7e878593af6a54e9c1e976d1aeb451661d8100295b0637291b46bafa45452537f1575 |
23 |
DIST go-etcd-2.0.0.tar.gz 18214 BLAKE2B ceb14c88dc65c81d0b8f620986ad30d9b0b21f92169979c69d0f7fd97abd81ef0c210dd3cb4bc23f361fc13aa97ba2cf5fcf59524608a14637780a381f3bf21d SHA512 af07b2434bbad219962e989ca1d6ccb86bb40f698aa3f2b681ac04094dc7e878593af6a54e9c1e976d1aeb451661d8100295b0637291b46bafa45452537f1575 |
24 |
|
25 |
diff --git a/dev-db/go-etcd/go-etcd-0_p20141013-r1.ebuild b/dev-db/go-etcd/go-etcd-0_p20141013-r1.ebuild |
26 |
deleted file mode 100644 |
27 |
index e7ea9c19b91..00000000000 |
28 |
--- a/dev-db/go-etcd/go-etcd-0_p20141013-r1.ebuild |
29 |
+++ /dev/null |
30 |
@@ -1,48 +0,0 @@ |
31 |
-# Copyright 1999-2020 Gentoo Authors |
32 |
-# Distributed under the terms of the GNU General Public License v2 |
33 |
- |
34 |
-EAPI=5 |
35 |
- |
36 |
-inherit eutils vcs-clean |
37 |
- |
38 |
-GO_PN=github.com/coreos/${PN} |
39 |
-DESCRIPTION="Go client library for etcd" |
40 |
- |
41 |
-HOMEPAGE="https://github.com/coreos/go-etcd" |
42 |
-EGIT_COMMIT="25e2c63be8e8ab405014a78879e0992ae5ff55e8" |
43 |
-SRC_URI="https://${GO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" |
44 |
- |
45 |
-SLOT="0" |
46 |
-LICENSE="Apache-2.0" |
47 |
-KEYWORDS="~amd64" |
48 |
-IUSE="" |
49 |
- |
50 |
-DEPEND=">=dev-lang/go-1.4" |
51 |
-RDEPEND="" |
52 |
- |
53 |
-S=${WORKDIR} |
54 |
- |
55 |
-src_unpack() { |
56 |
- default_src_unpack |
57 |
- mkdir -p src/${GO_PN%/*} || die |
58 |
- mv ${PN}-${EGIT_COMMIT} src/${GO_PN} || die |
59 |
-} |
60 |
- |
61 |
-src_compile() { |
62 |
- # Create a filtered GOROOT tree out of symlinks, |
63 |
- # excluding go-etcd, for bug #503324. |
64 |
- cp -sR /usr/lib/go goroot || die |
65 |
- rm -rf goroot/src/${GO_PN} || die |
66 |
- rm -rf goroot/pkg/linux_${ARCH}/${GO_PN} || die |
67 |
- GOROOT=${WORKDIR}/goroot GOPATH=${WORKDIR} \ |
68 |
- go install -x ${GO_PN}/etcd || die |
69 |
-} |
70 |
- |
71 |
-src_install() { |
72 |
- insopts -m0644 -p # preserve timestamps for bug 551486 |
73 |
- insinto /usr/lib/go |
74 |
- doins -r pkg |
75 |
- insinto /usr/lib/go/src |
76 |
- egit_clean |
77 |
- doins -r src/* |
78 |
-} |
79 |
|
80 |
diff --git a/dev-db/go-etcd/go-etcd-2.0.0.ebuild b/dev-db/go-etcd/go-etcd-2.0.0.ebuild |
81 |
deleted file mode 100644 |
82 |
index b47229902f4..00000000000 |
83 |
--- a/dev-db/go-etcd/go-etcd-2.0.0.ebuild |
84 |
+++ /dev/null |
85 |
@@ -1,48 +0,0 @@ |
86 |
-# Copyright 1999-2020 Gentoo Authors |
87 |
-# Distributed under the terms of the GNU General Public License v2 |
88 |
- |
89 |
-EAPI=5 |
90 |
- |
91 |
-inherit eutils vcs-clean |
92 |
- |
93 |
-GO_PN=github.com/coreos/${PN} |
94 |
-EGIT_COMMIT="25e2c63be8e8ab405014a78879e0992ae5ff55e8" |
95 |
- |
96 |
-DESCRIPTION="Go client library for etcd" |
97 |
-HOMEPAGE="https://github.com/coreos/go-etcd" |
98 |
-SRC_URI="https://${GO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" |
99 |
- |
100 |
-SLOT="0" |
101 |
-LICENSE="Apache-2.0" |
102 |
-KEYWORDS="~amd64" |
103 |
-IUSE="" |
104 |
- |
105 |
-DEPEND=">=dev-lang/go-1.4" |
106 |
-RDEPEND="" |
107 |
- |
108 |
-S=${WORKDIR} |
109 |
- |
110 |
-src_unpack() { |
111 |
- default_src_unpack |
112 |
- mkdir -p src/${GO_PN%/*} || die |
113 |
- mv ${PN}-${EGIT_COMMIT} src/${GO_PN} || die |
114 |
-} |
115 |
- |
116 |
-src_compile() { |
117 |
- # Create a filtered GOROOT tree out of symlinks, |
118 |
- # excluding go-etcd, for bug #503324. |
119 |
- cp -sR /usr/lib/go goroot || die |
120 |
- rm -rf goroot/src/${GO_PN} || die |
121 |
- rm -rf goroot/pkg/linux_${ARCH}/${GO_PN} || die |
122 |
- GOROOT=${WORKDIR}/goroot GOPATH=${WORKDIR} \ |
123 |
- go install -x ${GO_PN}/etcd || die |
124 |
-} |
125 |
- |
126 |
-src_install() { |
127 |
- insopts -m0644 -p # preserve timestamps for bug 551486 |
128 |
- insinto /usr/lib/go |
129 |
- doins -r pkg |
130 |
- insinto /usr/lib/go/src |
131 |
- egit_clean |
132 |
- doins -r src/* |
133 |
-} |