diff options
author | tea <gentoo@tastytea.de> | 2024-06-27 22:59:53 +0200 |
---|---|---|
committer | tea <gentoo@tastytea.de> | 2024-06-27 22:59:53 +0200 |
commit | 184f2063d74dced19f180d5b6b194f86d81bf230 (patch) | |
tree | 44478d0f6f74493acf8b26b3527e27117fe8c17c /dev-util | |
parent | dev-util/*: use latest release on catppuccin-whiskers and catppuccin-catwalk (diff) | |
download | guru-184f2063d74dced19f180d5b6b194f86d81bf230.tar.gz guru-184f2063d74dced19f180d5b6b194f86d81bf230.tar.bz2 guru-184f2063d74dced19f180d5b6b194f86d81bf230.zip |
dev-util/dockerfile-language-server: add 0.13.0
Signed-off-by: tea <gentoo@tastytea.de>
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/dockerfile-language-server/Manifest | 2 | ||||
-rw-r--r-- | dev-util/dockerfile-language-server/dockerfile-language-server-0.13.0.ebuild | 44 |
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-util/dockerfile-language-server/Manifest b/dev-util/dockerfile-language-server/Manifest index e0cd1f3b5..c33ebc70b 100644 --- a/dev-util/dockerfile-language-server/Manifest +++ b/dev-util/dockerfile-language-server/Manifest @@ -1,4 +1,6 @@ DIST dockerfile-language-server-0.11.0-deps.tar.xz 833760 BLAKE2B 58c676b7acc2d8ab25b33185e9a1dba288e756954026a4a5fb40ad6b8582f090afdf531c6872d5adf954db6a947be16fbeed76b9b6357e6ac14270389a15c9c3 SHA512 e98cb717aba190a95d8c424beb755b70b9cdb0adedac2db448e31c8369317be5be0e4ef90ded30e0aa175b92c64d67fb90b002d6f6c7e79c6676aaeaf55f972b DIST dockerfile-language-server-0.12.0-deps.tar.xz 877168 BLAKE2B ec82650b148915e55d78582d0c24a251dd68b6c97475a65d645b03c490dd56dceacf00696bca998aa97ee7a68d906e90194accf6a12db3401146d937085819db SHA512 4c15abdcb8142d27cb2d67e55c6f8745f492f98d24a2d505594a49a5685e57d7fbdd3ddc3b6969acb865440f16f32e6e4b68aa3a1ee89dc0cbc5a3d3f3336905 +DIST dockerfile-language-server-0.13.0-deps.tar.xz 1014748 BLAKE2B 3a9ca56012479ef0fb72e1622c4ede15e1941b3102897b7d6662875781b2bc6b0f6d84a41179e3b790ed0aca0ac241a4967dc28d44a8e932d9d4464e3fcbafef SHA512 ddc45b60c6339144eb6e7f56b011a83e81715f8f4cf8c6b95571e61d81d87b0946fb1db38cddc855a79dfbb2144bfda3618e5eecec16143d0d77750a7543d4cc DIST dockerfile-language-server-nodejs-0.11.0.tgz 20176 BLAKE2B aeb4e5ca4a51a6c26f4ef32f5f9e53ef4dc3ad563aae4a6ffa44be1aa574f959c94ab83afea4024fb26530db681ca633d5071b602f6852a6a19f41fdeab33604 SHA512 92ff7b11561c2978784a2b5e6955fc2c34b0a5c74038824cff75a6eab5b14c7e202dba33a1c0de9285396295f55f690a388e0be60bf3148873831a8f8459d1ce DIST dockerfile-language-server-nodejs-0.12.0.tgz 20308 BLAKE2B e23b6f0949662353962f78863bd9bcce82740d0c8b64a9a4fd71af4fd1ba1d5f901dc206a64bb8aceedc7ab7b084de9acb3cbb2e659963f1474e651d80bd8812 SHA512 1c241277607a12f1d5e9a839a297b422cf1fceafec646d40d03317335b38bab2892eabd9175f21465f8551b0cd742d40982a9b596ca92b4cd5df6d9f588c8a2c +DIST dockerfile-language-server-nodejs-0.13.0.tgz 47970 BLAKE2B c9ce3bf1fa8000fc6a7b3b3889201465976cb638dcca4e8e5c6fb90b9b311a5e5b30982ce51c69a670de160dc77345f0cc30eef6d0dc37bd6e46a4a4540d2ab3 SHA512 afc1b04065411ee463f379c562803bba519fa7ab60507f20c653d16a9d1ec2eae811bfd780fe0ab4bb0850837d0af9136607bf2245fb71b15354ed25abd819dc diff --git a/dev-util/dockerfile-language-server/dockerfile-language-server-0.13.0.ebuild b/dev-util/dockerfile-language-server/dockerfile-language-server-0.13.0.ebuild new file mode 100644 index 000000000..336038312 --- /dev/null +++ b/dev-util/dockerfile-language-server/dockerfile-language-server-0.13.0.ebuild @@ -0,0 +1,44 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MY_P="${PN}-nodejs-${PV}" + +DESCRIPTION="A language server for Dockerfiles" +HOMEPAGE="https://github.com/rcjsuen/dockerfile-language-server-nodejs" +SRC_URI=" + mirror://npm/${PN}-nodejs/-/${MY_P}.tgz + https://tastytea.de/files/gentoo/${P}-deps.tar.xz +" +S="${WORKDIR}" + +# NOTE: to generate the dependency tarball: +# npm --cache "$(realpath ./npm-cache)" install $(portageq envvar DISTDIR)/${MY_P}.tgz +# tar -caf ${P}-deps.tar.xz npm-cache + +LICENSE="MIT-with-advertising" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND="net-libs/nodejs" +BDEPEND="net-libs/nodejs[npm]" + +src_unpack() { + cd "${T}" || die "Could not cd to temporary directory" + unpack ${P}-deps.tar.xz +} + +src_install() { + npm \ + --offline \ + --verbose \ + --progress false \ + --foreground-scripts \ + --global \ + --prefix "${ED}"/usr \ + --cache "${T}"/npm-cache \ + install "${DISTDIR}"/${MY_P}.tgz || die "npm install failed" + + einstalldocs +} |