1 |
commit: 45aea3241c6182dd7104b156332ff49f5c62c6a5 |
2 |
Author: Leonardo Hernandez Hernandez <leohdz172 <AT> outlook <DOT> com> |
3 |
AuthorDate: Sat Sep 25 04:46:48 2021 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Sep 25 04:54:47 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=45aea324 |
7 |
|
8 |
www-apps/code-server-bin: drop old versions |
9 |
|
10 |
Signed-off-by: Leonardo Hernandez Hernandez <leohdz172 <AT> outlook.com> |
11 |
|
12 |
www-apps/code-server-bin/Manifest | 4 - |
13 |
.../code-server-bin/code-server-bin-3.9.2.ebuild | 91 ---------------------- |
14 |
.../code-server-bin/code-server-bin-3.9.3.ebuild | 91 ---------------------- |
15 |
3 files changed, 186 deletions(-) |
16 |
|
17 |
diff --git a/www-apps/code-server-bin/Manifest b/www-apps/code-server-bin/Manifest |
18 |
index 40d3f5215..41ec266f2 100644 |
19 |
--- a/www-apps/code-server-bin/Manifest |
20 |
+++ b/www-apps/code-server-bin/Manifest |
21 |
@@ -1,6 +1,2 @@ |
22 |
DIST code-server-3.10.0-linux-amd64.tar.gz 79827037 BLAKE2B 238980bd822322dab956ce1dca8b8d7fa91eca6db8eb9808a68db28b9e9a8caa5432582cfa765ff0ac1ce948866a7f91a45df42045a83b75c13ac793ed1a78ee SHA512 bd0410e0310a027ff1ed3f7c8b0d07a4a28baf8df924192d8a240f8011765b6a1daaae94bc7f37d1904dc9c2813d951eeb0c289aadd0192a15daa9cb6461c25d |
23 |
DIST code-server-3.10.0-linux-arm64.tar.gz 77802222 BLAKE2B f13ff2e1d83d7c7d3be0033196911aef81324aa0f450c8973919a128fafbbf9d255aba59b2bfc6432c2fa0dadb4cf179d57772f86ad2c87213d43eb60244d024 SHA512 bc149c0716dc4df560a87d149bfceb712b864bdfbfc99e43ee476a574d76d52acd02c3c87a9b09a47c73c0789c85f3794c350be4b222a930d8dc3d7eec49017e |
24 |
-DIST code-server-3.9.2-linux-amd64.tar.gz 72578049 BLAKE2B 3cfbba389c17c7e1a7978c5ae359532dd09a5b415cc302b3ff95739a31d3749e7a9c9627ceee11427db807cb3918c3016970d42084721d2867c3e5eb418ebdf8 SHA512 b6f493af264a772dd56393447b158e50578316ceb62593cb4e9838783bb0472a7933fc7c036b03c0daac1ebf1d160cf6262c41b83751fb39cf4748159c2b7c03 |
25 |
-DIST code-server-3.9.2-linux-arm64.tar.gz 71753560 BLAKE2B df5cc9bb91ea6529a64fb8ee572ae451a83f9b0b2b2ef1a27755c67b56fbb73f5cfc43ed3e3a15ad62d1d81f7c780912661b9cad4aa631eed4bb0bce46174ee5 SHA512 bf9863d3877ce692f2a9f1e129f25edb05e7323a49db6dfc0fbd3b5df153f6a0edecc7395c75acda81eb4fdae0ed2cfdffccc8c155785e2bd994ebb58b39462f |
26 |
-DIST code-server-3.9.3-linux-amd64.tar.gz 73054713 BLAKE2B fc9424ab592e7f7aed6f4dfcb9d881585f3eaf8477100935a940c409044400f137a8bea5489dac6a35c232ea9c35c8210a2695fbec2c33eec0ec60dcaef5ab6f SHA512 f4c489bac2c73a075183f378a3fa65787f10bb9829502956fb8ded6869cf770fdcbf4f5df151d1f5aaf20e79db2188cb95b12b1ea875cc0863a12a295fd8b5a0 |
27 |
-DIST code-server-3.9.3-linux-arm64.tar.gz 71436268 BLAKE2B eb1ce6ec5da7d9c448c3c8105bd483c2fec92a46ca35975deefa9850c0bfd4d800cdcd686836ed75d05cda2af16023ca7ad2f3028fcdf3440d0be1a30a85fe0b SHA512 e1c0ec1fdebfa67fa372b54de97b8d1b71d912cf496cad5d41376a9770d977948672a048c26baaca81867d6050b04a4a0501ffd822121955b6e8fe279a704533 |
28 |
|
29 |
diff --git a/www-apps/code-server-bin/code-server-bin-3.9.2.ebuild b/www-apps/code-server-bin/code-server-bin-3.9.2.ebuild |
30 |
deleted file mode 100644 |
31 |
index 553092c68..000000000 |
32 |
--- a/www-apps/code-server-bin/code-server-bin-3.9.2.ebuild |
33 |
+++ /dev/null |
34 |
@@ -1,91 +0,0 @@ |
35 |
-# Copyright 1999-2021 Gentoo Authors |
36 |
-# Distributed under the terms of the GNU General Public License v2 |
37 |
- |
38 |
-EAPI=7 |
39 |
- |
40 |
-MY_PN="${PN/-bin/}" |
41 |
-MY_P="${MY_PN}-${PV}" |
42 |
-BASE_URI="https://github.com/cdr/${MY_PN}/releases/download/v${PV}/${MY_P}-linux" |
43 |
- |
44 |
-inherit systemd |
45 |
- |
46 |
-DESCRIPTION="VS Code in the browser (binary version with unbundled node and ripgrep)" |
47 |
-HOMEPAGE="https://coder.com/" |
48 |
-SRC_URI=" |
49 |
- amd64? ( ${BASE_URI}-amd64.tar.gz ) |
50 |
- arm64? ( ${BASE_URI}-arm64.tar.gz ) |
51 |
-" |
52 |
- |
53 |
-RESTRICT="test" |
54 |
-LICENSE="MIT" |
55 |
-SLOT="0" |
56 |
-KEYWORDS="-* ~amd64 ~arm64" |
57 |
-IUSE="gnome-keyring" |
58 |
- |
59 |
-# In case we ever make a non-"-binary" pkg |
60 |
-DEPEND=" |
61 |
- !www-apps/code-server |
62 |
-" |
63 |
-RDEPEND=" |
64 |
- ${DEPEND} |
65 |
- >=net-libs/nodejs-12.16.1:0/12[ssl] |
66 |
- sys-apps/ripgrep |
67 |
- gnome-keyring? ( |
68 |
- app-crypt/libsecret |
69 |
- ) |
70 |
-" |
71 |
- |
72 |
-S="${WORKDIR}/${MY_P}-linux-${ARCH}" |
73 |
- |
74 |
-PATCHES=( "${FILESDIR}/${PN}-node.patch" ) |
75 |
- |
76 |
-DOCS=( "README.md" "ThirdPartyNotices.txt" ) |
77 |
- |
78 |
-QA_PREBUILT=" |
79 |
- /usr/lib/code-server/lib/coder-cloud-agent |
80 |
- /usr/lib/code-server/lib/vscode/node_modules/* |
81 |
-" |
82 |
-QA_PRESTRIPPED=" |
83 |
- /usr/lib/code-server/lib/coder-cloud-agent |
84 |
-" |
85 |
- |
86 |
-src_prepare() { |
87 |
- default |
88 |
- |
89 |
- # We remove as much precompiled code as we can, |
90 |
- # node modules not written in JS cannot be removed |
91 |
- # thus "-bin". |
92 |
- |
93 |
- # use system node |
94 |
- rm ./node ./lib/node \ |
95 |
- || die "failed to remove bundled nodejs" |
96 |
- |
97 |
- # remove bundled ripgrep binary |
98 |
- rm ./lib/vscode/node_modules/vscode-ripgrep/bin/rg \ |
99 |
- || die "failed to remove bundled ripgrep" |
100 |
- |
101 |
- # not needed |
102 |
- rm ./code-server || die |
103 |
- rm ./postinstall.sh || die |
104 |
- |
105 |
- # already in /usr/portage/licenses/MIT |
106 |
- rm ./LICENSE.txt || die |
107 |
-} |
108 |
- |
109 |
-src_install() { |
110 |
- einstalldocs |
111 |
- |
112 |
- insinto "/usr/lib/${MY_PN}" |
113 |
- doins -r . |
114 |
- fperms +x "/usr/lib/${MY_PN}/bin/${MY_PN}" |
115 |
- dosym "../../usr/lib/${MY_PN}/bin/${MY_PN}" "${EPREFIX}/usr/bin/${MY_PN}" |
116 |
- |
117 |
- dosym "../../../../../../../../usr/bin/rg" "${EPREFIX}/usr/lib/${MY_PN}/lib/vscode/node_modules/vscode-ripgrep/bin/rg" |
118 |
- |
119 |
- systemd_dounit "${FILESDIR}/${MY_PN}.service" |
120 |
-} |
121 |
- |
122 |
-pkg_postinst() { |
123 |
- elog "When using code-server systemd service run it as a user" |
124 |
- elog "For example: 'systemctl --user enable --now code-server'" |
125 |
-} |
126 |
|
127 |
diff --git a/www-apps/code-server-bin/code-server-bin-3.9.3.ebuild b/www-apps/code-server-bin/code-server-bin-3.9.3.ebuild |
128 |
deleted file mode 100644 |
129 |
index 553092c68..000000000 |
130 |
--- a/www-apps/code-server-bin/code-server-bin-3.9.3.ebuild |
131 |
+++ /dev/null |
132 |
@@ -1,91 +0,0 @@ |
133 |
-# Copyright 1999-2021 Gentoo Authors |
134 |
-# Distributed under the terms of the GNU General Public License v2 |
135 |
- |
136 |
-EAPI=7 |
137 |
- |
138 |
-MY_PN="${PN/-bin/}" |
139 |
-MY_P="${MY_PN}-${PV}" |
140 |
-BASE_URI="https://github.com/cdr/${MY_PN}/releases/download/v${PV}/${MY_P}-linux" |
141 |
- |
142 |
-inherit systemd |
143 |
- |
144 |
-DESCRIPTION="VS Code in the browser (binary version with unbundled node and ripgrep)" |
145 |
-HOMEPAGE="https://coder.com/" |
146 |
-SRC_URI=" |
147 |
- amd64? ( ${BASE_URI}-amd64.tar.gz ) |
148 |
- arm64? ( ${BASE_URI}-arm64.tar.gz ) |
149 |
-" |
150 |
- |
151 |
-RESTRICT="test" |
152 |
-LICENSE="MIT" |
153 |
-SLOT="0" |
154 |
-KEYWORDS="-* ~amd64 ~arm64" |
155 |
-IUSE="gnome-keyring" |
156 |
- |
157 |
-# In case we ever make a non-"-binary" pkg |
158 |
-DEPEND=" |
159 |
- !www-apps/code-server |
160 |
-" |
161 |
-RDEPEND=" |
162 |
- ${DEPEND} |
163 |
- >=net-libs/nodejs-12.16.1:0/12[ssl] |
164 |
- sys-apps/ripgrep |
165 |
- gnome-keyring? ( |
166 |
- app-crypt/libsecret |
167 |
- ) |
168 |
-" |
169 |
- |
170 |
-S="${WORKDIR}/${MY_P}-linux-${ARCH}" |
171 |
- |
172 |
-PATCHES=( "${FILESDIR}/${PN}-node.patch" ) |
173 |
- |
174 |
-DOCS=( "README.md" "ThirdPartyNotices.txt" ) |
175 |
- |
176 |
-QA_PREBUILT=" |
177 |
- /usr/lib/code-server/lib/coder-cloud-agent |
178 |
- /usr/lib/code-server/lib/vscode/node_modules/* |
179 |
-" |
180 |
-QA_PRESTRIPPED=" |
181 |
- /usr/lib/code-server/lib/coder-cloud-agent |
182 |
-" |
183 |
- |
184 |
-src_prepare() { |
185 |
- default |
186 |
- |
187 |
- # We remove as much precompiled code as we can, |
188 |
- # node modules not written in JS cannot be removed |
189 |
- # thus "-bin". |
190 |
- |
191 |
- # use system node |
192 |
- rm ./node ./lib/node \ |
193 |
- || die "failed to remove bundled nodejs" |
194 |
- |
195 |
- # remove bundled ripgrep binary |
196 |
- rm ./lib/vscode/node_modules/vscode-ripgrep/bin/rg \ |
197 |
- || die "failed to remove bundled ripgrep" |
198 |
- |
199 |
- # not needed |
200 |
- rm ./code-server || die |
201 |
- rm ./postinstall.sh || die |
202 |
- |
203 |
- # already in /usr/portage/licenses/MIT |
204 |
- rm ./LICENSE.txt || die |
205 |
-} |
206 |
- |
207 |
-src_install() { |
208 |
- einstalldocs |
209 |
- |
210 |
- insinto "/usr/lib/${MY_PN}" |
211 |
- doins -r . |
212 |
- fperms +x "/usr/lib/${MY_PN}/bin/${MY_PN}" |
213 |
- dosym "../../usr/lib/${MY_PN}/bin/${MY_PN}" "${EPREFIX}/usr/bin/${MY_PN}" |
214 |
- |
215 |
- dosym "../../../../../../../../usr/bin/rg" "${EPREFIX}/usr/lib/${MY_PN}/lib/vscode/node_modules/vscode-ripgrep/bin/rg" |
216 |
- |
217 |
- systemd_dounit "${FILESDIR}/${MY_PN}.service" |
218 |
-} |
219 |
- |
220 |
-pkg_postinst() { |
221 |
- elog "When using code-server systemd service run it as a user" |
222 |
- elog "For example: 'systemctl --user enable --now code-server'" |
223 |
-} |