1 |
commit: 42b305bb0e295303b55bd7f0448a558708e4c260 |
2 |
Author: Maciej Barć <xgqt <AT> protonmail <DOT> com> |
3 |
AuthorDate: Fri Feb 5 23:59:40 2021 +0000 |
4 |
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net> |
5 |
CommitDate: Fri Feb 5 23:59:40 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=42b305bb |
7 |
|
8 |
www-apps/code-server-bin: drop old |
9 |
|
10 |
Package-Manager: Portage-3.0.13, Repoman-3.0.2 |
11 |
Signed-off-by: Maciej Barć <xgqt <AT> protonmail.com> |
12 |
|
13 |
www-apps/code-server-bin/Manifest | 2 - |
14 |
.../code-server-bin/code-server-bin-3.4.1.ebuild | 87 ---------------------- |
15 |
2 files changed, 89 deletions(-) |
16 |
|
17 |
diff --git a/www-apps/code-server-bin/Manifest b/www-apps/code-server-bin/Manifest |
18 |
index 9132fe33..f6ffbcfe 100644 |
19 |
--- a/www-apps/code-server-bin/Manifest |
20 |
+++ b/www-apps/code-server-bin/Manifest |
21 |
@@ -1,5 +1,3 @@ |
22 |
-DIST code-server-3.4.1-linux-amd64.tar.gz 74127655 BLAKE2B 95e916e64c886688b370407ba932624a70b024cae64a57e7eb77f31c6a352138313fbced149adf2ee698d925b9e2a818823b25931a42a01d5e2eaedb082bbf1d SHA512 efd55c84fda96f22bec79b54f60d02a8d098f41cef77549c805c125eb845efae43d3f4703908f0542a78146eda67ebd9787f89b1c14b1b8044fdfd534f2b9173 |
23 |
-DIST code-server-3.4.1-linux-arm64.tar.gz 73470946 BLAKE2B 278a1fef95b612242f4126eea53d7b8dc824fc5dda55ff6b2f1e7752d3ebecebcf30045c1c2bb2a18d1ad7999b20c29398a3c5715920d6e8d8c94eaa76e8a619 SHA512 24168006e737a6579869b8e4b157e21d9ef85282b811783163f0d2291e47bee7e0794c8327663182922b473ff57999432e6c53502849836a53d300728341d1bc |
24 |
DIST code-server-3.6.1-linux-amd64.tar.gz 76288261 BLAKE2B 443135065cdab9e0477d9665e9e56d924bd9199ce19cfbdea1e811c2517e7e71beaf18a347a287d0013d7df655900fc08a8f7fcbfe402b1e22487a80876d1eaa SHA512 0e875dc78a2776897a5a1556183808da70c8a0b2e4d96653a419bdab08df6f3d10643f90f568edeafcb38c36bfefa9fe0a674ad020b5e08c17b2e0eece940bc1 |
25 |
DIST code-server-3.6.1-linux-arm64.tar.gz 75331263 BLAKE2B c390e11b02472409ef0147f6dc5392f36eff93dd19a07e2eeed09a2626b541740c0191fdac0cca43e843b3195fc803921bf37b704b67a2e41fa0a531feca560c SHA512 badc150af52263232240edc16e960ac9e51b22e05bc96d81d11726e28d733b1d79139b0d85aa108011f2993c6a6e395134d2524e5fc13fe3b7dfeac24899eb75 |
26 |
DIST code-server-3.8.0-linux-amd64.tar.gz 78942963 BLAKE2B 4c78ed40aec86a72dede21a82ae111884be5cba1958fb22d6353d63af98f6d3bab50c7ae1fa0b81079be6d035e84d873f4ebf00da76edaa15b2356e89b3d1261 SHA512 76cdbbdb63b3061ce9d1cb016466356d5184b83e742fc084d9a0376aa12dc9d68314061ea5cde93f6590b07862169cbd291f77b71dfadc4bee4140e277813ae8 |
27 |
|
28 |
diff --git a/www-apps/code-server-bin/code-server-bin-3.4.1.ebuild b/www-apps/code-server-bin/code-server-bin-3.4.1.ebuild |
29 |
deleted file mode 100644 |
30 |
index 97405ffe..00000000 |
31 |
--- a/www-apps/code-server-bin/code-server-bin-3.4.1.ebuild |
32 |
+++ /dev/null |
33 |
@@ -1,87 +0,0 @@ |
34 |
-# Copyright 1999-2020 Gentoo Authors |
35 |
-# Distributed under the terms of the GNU General Public License v2 |
36 |
- |
37 |
-EAPI=7 |
38 |
- |
39 |
-MY_PN="${PN/-bin/}" |
40 |
-MY_P="${MY_PN}-${PV}" |
41 |
-BASE_URI="https://github.com/cdr/${MY_PN}/releases/download/v${PV}/${MY_P}-linux" |
42 |
- |
43 |
-inherit systemd |
44 |
- |
45 |
-DESCRIPTION="VS Code in the browser (binary version with unbundled node and ripgrep)" |
46 |
-HOMEPAGE="https://coder.com/" |
47 |
-SRC_URI=" |
48 |
- amd64? ( ${BASE_URI}-amd64.tar.gz ) |
49 |
- arm64? ( ${BASE_URI}-arm64.tar.gz ) |
50 |
-" |
51 |
- |
52 |
-RESTRICT="test" |
53 |
-LICENSE="MIT" |
54 |
-SLOT="0" |
55 |
-KEYWORDS="-* ~amd64 ~arm64" |
56 |
-IUSE="gnome-keyring" |
57 |
- |
58 |
-# In case we ever make a non-"-binary" pkg |
59 |
-DEPEND=" |
60 |
- !www-apps/code-server |
61 |
-" |
62 |
-RDEPEND=" |
63 |
- ${DEPEND} |
64 |
- >=net-libs/nodejs-12.16.1:0/12[ssl] |
65 |
- sys-apps/ripgrep |
66 |
- gnome-keyring? ( |
67 |
- app-crypt/libsecret |
68 |
- ) |
69 |
-" |
70 |
- |
71 |
-S="${WORKDIR}/${MY_P}-linux-${ARCH}" |
72 |
- |
73 |
-PATCHES=( |
74 |
- "${FILESDIR}/${PN}-node.patch" |
75 |
-) |
76 |
- |
77 |
-DOCS=( README.md ThirdPartyNotices.txt ) |
78 |
- |
79 |
-src_prepare() { |
80 |
- default |
81 |
- |
82 |
- # We remove as much precompiled code as we can, |
83 |
- # node modules not written in JS cannot be removed |
84 |
- # thus "-bin". |
85 |
- |
86 |
- # use system node |
87 |
- rm node || die |
88 |
- rm lib/node || die |
89 |
- |
90 |
- # remove bundled ripgrep binary |
91 |
- rm lib/vscode/node_modules/vscode-ripgrep/bin/rg || die |
92 |
- |
93 |
- # not needed |
94 |
- rm code-server || die |
95 |
- rm postinstall.sh || die |
96 |
- # already in /usr/portage/licenses/MIT |
97 |
- rm LICENSE.txt || die |
98 |
- |
99 |
- if ! use gnome-keyring; then |
100 |
- rm -r ./lib/vscode/node_modules/keytar || die |
101 |
- fi |
102 |
-} |
103 |
- |
104 |
-src_install() { |
105 |
- einstalldocs |
106 |
- |
107 |
- insinto "/usr/lib/${MY_PN}" |
108 |
- doins -r . |
109 |
- fperms +x "${EPREFIX}/usr/lib/${MY_PN}/bin/${MY_PN}" |
110 |
- dosym "${EPREFIX}/usr/lib/${MY_PN}/bin/${MY_PN}" "${EPREFIX}/usr/bin/${MY_PN}" |
111 |
- |
112 |
- dosym "${EPREFIX}/usr/bin/rg" "${EPREFIX}/usr/lib/${MY_PN}/lib/vscode/node_modules/vscode-ripgrep/bin/rg" |
113 |
- |
114 |
- systemd_dounit "${FILESDIR}/${MY_PN}.service" |
115 |
-} |
116 |
- |
117 |
-pkg_postinst() { |
118 |
- elog "When using code-server systemd service run it as a user" |
119 |
- elog "For example: 'systemctl --user enable --now code-server'" |
120 |
-} |