diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-01-24 04:45:52 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-01-24 04:45:52 +0000 |
commit | 2fa0c8dbba3b2455531e5616eed64f2fe66cb58b (patch) | |
tree | e29569d7d1b5ed28ee38e5bd8c78df62da608d67 /app-containers/devcontainer/devcontainer-0.56.1.ebuild | |
parent | 87340091ed79698e591084bd7d9d76c58c94820b (diff) |
gentoo auto-resync : 24:01:2024 - 04:45:52
Diffstat (limited to 'app-containers/devcontainer/devcontainer-0.56.1.ebuild')
-rw-r--r-- | app-containers/devcontainer/devcontainer-0.56.1.ebuild | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/app-containers/devcontainer/devcontainer-0.56.1.ebuild b/app-containers/devcontainer/devcontainer-0.56.1.ebuild new file mode 100644 index 000000000000..991cd956e37b --- /dev/null +++ b/app-containers/devcontainer/devcontainer-0.56.1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2024 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 +} |