1 |
commit: 978c8fd588fa887d0ce86d5403c0b52dcbeab0bb |
2 |
Author: Thomas Scholz <thomas.scholz <AT> protonmail <DOT> com> |
3 |
AuthorDate: Fri Mar 3 17:47:44 2023 +0000 |
4 |
Commit: Thomas Scholz <thomas.scholz <AT> protonmail <DOT> com> |
5 |
CommitDate: Fri Mar 3 17:50:03 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=978c8fd5 |
7 |
|
8 |
app-admin/oet: Reimplemented overlay mounting |
9 |
|
10 |
Signed-off-by: Thomas Scholz <thomas.scholz <AT> protonmail.com> |
11 |
|
12 |
app-admin/oet/Manifest | 5 ++-- |
13 |
app-admin/oet/oet-0.0.0.4.ebuild | 35 ---------------------- |
14 |
.../oet/{oet-0.0.0.2.ebuild => oet-0.0.0.5.ebuild} | 20 ++++++------- |
15 |
.../oet/{oet-0.0.0.3.ebuild => oet-0.0.0.7.ebuild} | 22 +++++++------- |
16 |
app-admin/oet/oet-9999.ebuild | 22 +++++++------- |
17 |
5 files changed, 33 insertions(+), 71 deletions(-) |
18 |
|
19 |
diff --git a/app-admin/oet/Manifest b/app-admin/oet/Manifest |
20 |
index baece64c0..2241675cb 100644 |
21 |
--- a/app-admin/oet/Manifest |
22 |
+++ b/app-admin/oet/Manifest |
23 |
@@ -1,3 +1,2 @@ |
24 |
-DIST oet-0.0.0.2.tar.gz 18284 BLAKE2B 94db54554b62a2cf598d7c970de9fe4540635f9a877025dea89c2b4580ae9a2dbe784fb27e8cf57a9a5998acad0229356c30167777a6ac56b8b8b41ccc5bc3e2 SHA512 82e4a0b26d988b7c3286495d8d5747225aaecc7516979fb70723d3351858750eb32c09663f0238efa638732ce5c21be92b503a15f85b6d6ad6771dab4bdf0836 |
25 |
-DIST oet-0.0.0.3.tar.gz 18750 BLAKE2B 42931382d172b0fdbc3754898971975dc9a62f36e35a1d1f36d99c906d242072014280ef5c51381b8bb15dfe17ad2f882e213c9061f1fe6e82acaf93753e3316 SHA512 cb986b736cc2514808c9242f359c507360c647d64e3450d8c0f992b17d3648ee5385ae93960c21124c0cc77f4c02a0c6d2ad14f4b2f4422d677f41ff8f7292dd |
26 |
-DIST oet-0.0.0.4.tar.gz 19243 BLAKE2B 78d262b519c4a434b9290b80f8b22f5b41d124d4c0203eddfcaa6a019a97a158749246cd0d8bd7a9b41944a9d80a5c2921378c57c90897a985323e355a92bac7 SHA512 3ed2136b95f91f7ae0fd58a342e8e7d1eba31e785f9cffc66c2f141b7bf67803d6b52dc2b7cbe0216244d9192e1ce0c9ee020f83607d5fc4904e9a3a720c8146 |
27 |
+DIST oet-0.0.0.5.tar.gz 10266 BLAKE2B bf85f6e64b9bf17de51ab94629e786a521d2ae6d66ae51b1fd0c1e467f75b402670b912daf5ee4fb2bdb31f0af401ede09d742c9e391d31a007b021d89e40caf SHA512 de9ad98e6def8e2086c87e8d76433ee69cffe25b060775e5bf8764414d67eebd09fa65e76af88b566043b2422375763488023d1581595a6f0f96ecb6fbf58ba5 |
28 |
+DIST oet-0.0.0.7.tar.gz 10932 BLAKE2B 41630a075d0b3e292b27abe4b40bf326d2730400e8632fe27ff917765781f731bb0094c60c6f05f92238354ea3cccb5eef4a4838e0e7fdcb77ff24be170486fa SHA512 b041944bc5cf8231892b12bd4b40dce5f053996b5b4d712ff77c3ea4792fa374476053ab1ce1cf790f2537a4d1038b2aa445b329142fa2e3b955611d767b452a |
29 |
|
30 |
diff --git a/app-admin/oet/oet-0.0.0.4.ebuild b/app-admin/oet/oet-0.0.0.4.ebuild |
31 |
deleted file mode 100644 |
32 |
index 2543a11a9..000000000 |
33 |
--- a/app-admin/oet/oet-0.0.0.4.ebuild |
34 |
+++ /dev/null |
35 |
@@ -1,35 +0,0 @@ |
36 |
-# Copyright 2021-2022 Gentoo Authors |
37 |
-# Distributed under the terms of the GNU General Public License v2 |
38 |
- |
39 |
-EAPI=8 |
40 |
- |
41 |
-DESCRIPTION="Update your system into binpkgs in an overlay sandbox" |
42 |
-HOMEPAGE="https://codeberg.org/bcsthsc/overlay-emerge-tool" |
43 |
-if [[ "${PV}" == "9999" ]]; then |
44 |
- inherit git-r3 |
45 |
- EGIT_REPO_URI="https://codeberg.org/bcsthsc/overlay-emerge-tool.git" |
46 |
- EGIT_BRANCH="main" |
47 |
- [[ "${EGIT_BRANCH}" == "" ]] && die "Please set a git branch" |
48 |
-else |
49 |
- SRC_URI="https://codeberg.org/bcsthsc/overlay-emerge-tool/archive/oet-${PV}.tar.gz" |
50 |
- S="${WORKDIR}/overlay-emerge-tool" |
51 |
- KEYWORDS="~amd64 ~x86" |
52 |
-fi |
53 |
- |
54 |
-LICENSE="LGPL-2" |
55 |
-SLOT="0" |
56 |
- |
57 |
-src_install() { |
58 |
- dosbin src/oet |
59 |
- insinto /usr/share/oet |
60 |
- dodir /usr/share/oet |
61 |
- doins src/oet_auto_emerge_update.source |
62 |
- doins src/oet_interactive.source |
63 |
- doman resources/oet.1 |
64 |
- insinto /etc/${PN} |
65 |
- newins resources/default_config config |
66 |
-} |
67 |
- |
68 |
-src_compile() { |
69 |
- true |
70 |
-} |
71 |
|
72 |
diff --git a/app-admin/oet/oet-0.0.0.2.ebuild b/app-admin/oet/oet-0.0.0.5.ebuild |
73 |
similarity index 75% |
74 |
rename from app-admin/oet/oet-0.0.0.2.ebuild |
75 |
rename to app-admin/oet/oet-0.0.0.5.ebuild |
76 |
index 4484c4c1f..d41b194c7 100644 |
77 |
--- a/app-admin/oet/oet-0.0.0.2.ebuild |
78 |
+++ b/app-admin/oet/oet-0.0.0.5.ebuild |
79 |
@@ -3,6 +3,8 @@ |
80 |
|
81 |
EAPI=8 |
82 |
|
83 |
+inherit autotools |
84 |
+ |
85 |
DESCRIPTION="Update your system into binpkgs in an overlay sandbox" |
86 |
HOMEPAGE="https://codeberg.org/bcsthsc/overlay-emerge-tool" |
87 |
if [[ "${PV}" == "9999" ]]; then |
88 |
@@ -19,15 +21,13 @@ fi |
89 |
LICENSE="LGPL-2" |
90 |
SLOT="0" |
91 |
|
92 |
-src_install() { |
93 |
- dosbin src/oet |
94 |
- insinto /usr/share/oet |
95 |
- dodir /usr/share/oet |
96 |
- doins src/oet_auto_emerge_update.source |
97 |
- doins src/oet_interactive.source |
98 |
- doman resources/oet.1 |
99 |
+src_prepare() { |
100 |
+ if [[ "${PV}" == "9999" ]]; then |
101 |
+ git describe --tags --abbrev=0 | sed -e "s/oet-//" >.version |
102 |
+ else |
103 |
+ echo ${PV} >.version |
104 |
+ fi |
105 |
+ default |
106 |
+ eautoreconf -fi |
107 |
} |
108 |
|
109 |
-src_compile() { |
110 |
- true |
111 |
-} |
112 |
|
113 |
diff --git a/app-admin/oet/oet-0.0.0.3.ebuild b/app-admin/oet/oet-0.0.0.7.ebuild |
114 |
similarity index 73% |
115 |
rename from app-admin/oet/oet-0.0.0.3.ebuild |
116 |
rename to app-admin/oet/oet-0.0.0.7.ebuild |
117 |
index 98ab66f44..d41b194c7 100644 |
118 |
--- a/app-admin/oet/oet-0.0.0.3.ebuild |
119 |
+++ b/app-admin/oet/oet-0.0.0.7.ebuild |
120 |
@@ -3,6 +3,8 @@ |
121 |
|
122 |
EAPI=8 |
123 |
|
124 |
+inherit autotools |
125 |
+ |
126 |
DESCRIPTION="Update your system into binpkgs in an overlay sandbox" |
127 |
HOMEPAGE="https://codeberg.org/bcsthsc/overlay-emerge-tool" |
128 |
if [[ "${PV}" == "9999" ]]; then |
129 |
@@ -16,18 +18,16 @@ else |
130 |
KEYWORDS="~amd64 ~x86" |
131 |
fi |
132 |
|
133 |
-LICENSE="LGPL-3" |
134 |
+LICENSE="LGPL-2" |
135 |
SLOT="0" |
136 |
|
137 |
-src_install() { |
138 |
- dosbin src/oet |
139 |
- insinto /usr/share/oet |
140 |
- dodir /usr/share/oet |
141 |
- doins src/oet_auto_emerge_update.source |
142 |
- doins src/oet_interactive.source |
143 |
- doman resources/oet.1 |
144 |
+src_prepare() { |
145 |
+ if [[ "${PV}" == "9999" ]]; then |
146 |
+ git describe --tags --abbrev=0 | sed -e "s/oet-//" >.version |
147 |
+ else |
148 |
+ echo ${PV} >.version |
149 |
+ fi |
150 |
+ default |
151 |
+ eautoreconf -fi |
152 |
} |
153 |
|
154 |
-src_compile() { |
155 |
- true |
156 |
-} |
157 |
|
158 |
diff --git a/app-admin/oet/oet-9999.ebuild b/app-admin/oet/oet-9999.ebuild |
159 |
index 2543a11a9..d41b194c7 100644 |
160 |
--- a/app-admin/oet/oet-9999.ebuild |
161 |
+++ b/app-admin/oet/oet-9999.ebuild |
162 |
@@ -3,6 +3,8 @@ |
163 |
|
164 |
EAPI=8 |
165 |
|
166 |
+inherit autotools |
167 |
+ |
168 |
DESCRIPTION="Update your system into binpkgs in an overlay sandbox" |
169 |
HOMEPAGE="https://codeberg.org/bcsthsc/overlay-emerge-tool" |
170 |
if [[ "${PV}" == "9999" ]]; then |
171 |
@@ -19,17 +21,13 @@ fi |
172 |
LICENSE="LGPL-2" |
173 |
SLOT="0" |
174 |
|
175 |
-src_install() { |
176 |
- dosbin src/oet |
177 |
- insinto /usr/share/oet |
178 |
- dodir /usr/share/oet |
179 |
- doins src/oet_auto_emerge_update.source |
180 |
- doins src/oet_interactive.source |
181 |
- doman resources/oet.1 |
182 |
- insinto /etc/${PN} |
183 |
- newins resources/default_config config |
184 |
+src_prepare() { |
185 |
+ if [[ "${PV}" == "9999" ]]; then |
186 |
+ git describe --tags --abbrev=0 | sed -e "s/oet-//" >.version |
187 |
+ else |
188 |
+ echo ${PV} >.version |
189 |
+ fi |
190 |
+ default |
191 |
+ eautoreconf -fi |
192 |
} |
193 |
|
194 |
-src_compile() { |
195 |
- true |
196 |
-} |