From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8ED5F158089 for ; Sat, 7 Oct 2023 14:57:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 630672BC024; Sat, 7 Oct 2023 14:57:49 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3D3712BC024 for ; Sat, 7 Oct 2023 14:57:49 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 15B83335CD2 for ; Sat, 7 Oct 2023 14:57:48 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3BC829D5 for ; Sat, 7 Oct 2023 14:57:46 +0000 (UTC) From: "Maciej Barć" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Maciej Barć" Message-ID: <1696690660.9a043f36c0d7b707e9ae20d46214fca4b853073c.xgqt@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-containers/devcontainer/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-containers/devcontainer/Manifest app-containers/devcontainer/devcontainer-0.52.0.ebuild app-containers/devcontainer/metadata.xml X-VCS-Directories: app-containers/devcontainer/ X-VCS-Committer: xgqt X-VCS-Committer-Name: Maciej Barć X-VCS-Revision: 9a043f36c0d7b707e9ae20d46214fca4b853073c X-VCS-Branch: master Date: Sat, 7 Oct 2023 14:57:46 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: caa5555a-bbce-495c-a627-737c31d22698 X-Archives-Hash: 41e859bf14d6b377cee6a6eebd375eb9 commit: 9a043f36c0d7b707e9ae20d46214fca4b853073c Author: Maciej Barć gentoo org> AuthorDate: Sat Oct 7 13:07:24 2023 +0000 Commit: Maciej Barć gentoo org> CommitDate: Sat Oct 7 14:57:40 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a043f36 app-containers/devcontainer: new package; add 0.52.0 Signed-off-by: Maciej Barć gentoo.org> app-containers/devcontainer/Manifest | 1 + .../devcontainer/devcontainer-0.52.0.ebuild | 46 ++++++++++++++++++++++ app-containers/devcontainer/metadata.xml | 21 ++++++++++ 3 files changed, 68 insertions(+) diff --git a/app-containers/devcontainer/Manifest b/app-containers/devcontainer/Manifest new file mode 100644 index 000000000000..1fbeab3ea9cc --- /dev/null +++ b/app-containers/devcontainer/Manifest @@ -0,0 +1 @@ +DIST devcontainer-0.52.0.tgz 614149 BLAKE2B 1e71d4772ec799cf8709d1d350cb8db0ea61dd2c7e96be4d35555675f9784bb1ff71ba95b6816fa9f8b6bd62c9a2b801871d51ab9fd8b564052c5939be603e2f SHA512 1790c6f2933c343b17a52d87a065e78c6e90b59249efb14c4601fc39de9a89aa6a93d100664ad3180a779c01fc181a31e59026af6bd646c214a616c61aed634c diff --git a/app-containers/devcontainer/devcontainer-0.52.0.ebuild b/app-containers/devcontainer/devcontainer-0.52.0.ebuild new file mode 100644 index 000000000000..399665b46cde --- /dev/null +++ b/app-containers/devcontainer/devcontainer-0.52.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2023 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 +} diff --git a/app-containers/devcontainer/metadata.xml b/app-containers/devcontainer/metadata.xml new file mode 100644 index 000000000000..07653ea3406a --- /dev/null +++ b/app-containers/devcontainer/metadata.xml @@ -0,0 +1,21 @@ + + + + + + xgqt@gentoo.org + Maciej Barć + + + A Development Container (or Dev Container for short) allows you to use a + container as a full-featured development environment. It can be used to run + an application, to separate tools, libraries, or runtimes needed for + working with a codebase, and to aid in continuous integration and testing. + Dev containers can be run locally or remotely, in a private or public + cloud, in a variety of supporting tools and editors. + + + https://github.com/devcontainers/cli/issues/ + devcontainers/cli + +