commit: dcbbbac5e11762725ac84f22579d0eba73d49d80 Author: Maciej Barć <xgqt <AT> gentoo <DOT> org> AuthorDate: Tue Feb 25 22:23:01 2025 +0000 Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org> CommitDate: Tue Feb 25 23:12:43 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dcbbbac5
app-containers/devcontainer: bump to 0.74.0 Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org> app-containers/devcontainer/Manifest | 1 + .../devcontainer/devcontainer-0.74.0.ebuild | 46 ++++++++++++++++++++++ 2 files changed, 47 insertions(+) diff --git a/app-containers/devcontainer/Manifest b/app-containers/devcontainer/Manifest index 4b6c21a21306..42d5f408306a 100644 --- a/app-containers/devcontainer/Manifest +++ b/app-containers/devcontainer/Manifest @@ -1,2 +1,3 @@ DIST devcontainer-0.72.0.tgz 621831 BLAKE2B f762bfafab73dd03da65e5b0932cb5f067dc613c4e3889bc19b8be8da877a55f17577054617d7322478666b5fc25dc167ba84bd0efa9a1562eb27bdc6a893ce5 SHA512 bc3bf7dff2393cec35c0326670c6ce09359ddf14e4e1b6d5aee27d420af97a22d29753ac7ee7cde567de4d9aa02b51deaab36ab47ff13f208a0762d70cd22fdf DIST devcontainer-0.73.0.tgz 622077 BLAKE2B 2ce60e2a483f1578be8c49264440e45c83523431341837a0c75fcc113cd21835bad8abc5e21889aade816d71cb014ca5bc39fedc4e32f95ca0505ebcd3e85be5 SHA512 63278f676b2d694e6a811682500fe91d2e547a7ffeabc9886f08677c58069a622d6bd9124073d32c45a664fac6f545ebbeb278ba858f7dd126c234f16da4c463 +DIST devcontainer-0.74.0.tgz 622169 BLAKE2B c697582fed39acd174bfca20579642ff1f10648e99c58c6ea2d7f23b3d207d57260941722983459d83578b931b6fcd6b913742cc180c823a715adad5a6423b47 SHA512 3bf7226c48f636346fc6bed5b8390adc511a68bb302f5c97eafa6576372937c9a26fe6272f17eced651dacd7e64a3932b830a465f801c8a3b577d73953a595cb diff --git a/app-containers/devcontainer/devcontainer-0.74.0.ebuild b/app-containers/devcontainer/devcontainer-0.74.0.ebuild new file mode 100644 index 000000000000..7c2b19d5ebf0 --- /dev/null +++ b/app-containers/devcontainer/devcontainer-0.74.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Reference implementation of the Development Containers specification" +HOMEPAGE="https://containers.dev/ + https://github.com/devcontainers/cli/" +SRC_URI="https://registry.npmjs.org/@devcontainers/cli/-/cli-${PV}.tgz + -> ${P}.tgz" +S="${WORKDIR}/package" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + net-libs/nodejs +" +BDEPEND=" + >=net-libs/nodejs-16[npm] +" + +DOCS=( CHANGELOG.md README.md ) + +src_compile() { + # Skip, nothing to compile here. + : +} + +src_install() { + local -a my_npm_opts=( + --audit false + --color false + --foreground-scripts + --global + --offline + --omit dev + --prefix "${ED}/usr" + --progress false + --verbose + ) + npm "${my_npm_opts[@]}" install "${DISTDIR}/${P}.tgz" || die "npm install failed" + + einstalldocs +}