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 72C86158094 for ; Thu, 22 Sep 2022 13:18:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A23FFE0C03; Thu, 22 Sep 2022 13:18:31 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 879A9E0C03 for ; Thu, 22 Sep 2022 13:18:31 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8DA32340C5B for ; Thu, 22 Sep 2022 13:18:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 232B75E0 for ; Thu, 22 Sep 2022 13:18:29 +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: <1663852707.d2db2a52517cd974644c04fea991131457661f1d.xgqt@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/typescript/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-lang/typescript/typescript-4.5.4-r1.ebuild dev-lang/typescript/typescript-4.5.4.ebuild dev-lang/typescript/typescript-4.8.3-r1.ebuild dev-lang/typescript/typescript-4.8.3.ebuild X-VCS-Directories: dev-lang/typescript/ X-VCS-Committer: xgqt X-VCS-Committer-Name: Maciej Barć X-VCS-Revision: d2db2a52517cd974644c04fea991131457661f1d X-VCS-Branch: master Date: Thu, 22 Sep 2022 13:18:29 +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: eaca37d1-1591-41c7-8604-5842829a92a9 X-Archives-Hash: 03e78770166f397e2da423fc64e1655d commit: d2db2a52517cd974644c04fea991131457661f1d Author: Maciej Barć gentoo org> AuthorDate: Thu Sep 22 13:17:28 2022 +0000 Commit: Maciej Barć gentoo org> CommitDate: Thu Sep 22 13:18:27 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2db2a52 dev-lang/typescript: update to EAPI 8; misc tweaks Signed-off-by: Maciej Barć gentoo.org> ...ipt-4.8.3.ebuild => typescript-4.5.4-r1.ebuild} | 38 ++++++++++----------- dev-lang/typescript/typescript-4.5.4.ebuild | 39 ---------------------- ...ipt-4.8.3.ebuild => typescript-4.8.3-r1.ebuild} | 38 ++++++++++----------- 3 files changed, 38 insertions(+), 77 deletions(-) diff --git a/dev-lang/typescript/typescript-4.8.3.ebuild b/dev-lang/typescript/typescript-4.5.4-r1.ebuild similarity index 50% copy from dev-lang/typescript/typescript-4.8.3.ebuild copy to dev-lang/typescript/typescript-4.5.4-r1.ebuild index 647f4a120aee..02196457057b 100644 --- a/dev-lang/typescript/typescript-4.8.3.ebuild +++ b/dev-lang/typescript/typescript-4.5.4-r1.ebuild @@ -1,39 +1,39 @@ # Copyright 2021-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 DESCRIPTION="Superset of JavaScript with optional static typing, classes and interfaces" -HOMEPAGE="https://www.typescriptlang.org" +HOMEPAGE="https://www.typescriptlang.org/ + https://github.com/microsoft/TypeScript/" SRC_URI="https://registry.npmjs.org/${PN}/-/${P}.tgz" +S="${WORKDIR}"/package LICENSE="Apache-2.0" SLOT="0" KEYWORDS="~amd64 ~arm64 ~ppc64" -DEPEND="" RDEPEND="net-libs/nodejs" BDEPEND=">=net-libs/nodejs-16[npm]" -S="${WORKDIR}/package" - src_compile() { - # nothing to compile here + # Skip, nothing to compile here. : } src_install() { - npm \ - --audit false \ - --color false \ - --foreground-scripts \ - --global \ - --offline \ - --omit dev \ - --prefix "${ED}"/usr \ - --progress false \ - --verbose \ - install "${DISTDIR}/${P}".tgz || die "npm install failed" - - einstalldocs + local myopts=( + --audit false + --color false + --foreground-scripts + --global + --offline + --omit dev + --prefix "${ED}"/usr + --progress false + --verbose + ) + npm ${myopts[@]} install "${DISTDIR}"/${P}.tgz || die "npm install failed" + + dodoc *.md *.txt } diff --git a/dev-lang/typescript/typescript-4.5.4.ebuild b/dev-lang/typescript/typescript-4.5.4.ebuild deleted file mode 100644 index dcbc71b38d89..000000000000 --- a/dev-lang/typescript/typescript-4.5.4.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DESCRIPTION="Superset of JavaScript with optional static typing, classes and interfaces" -HOMEPAGE="https://www.typescriptlang.org" -SRC_URI="https://registry.npmjs.org/${PN}/-/${P}.tgz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~ppc64" - -DEPEND="" -RDEPEND="net-libs/nodejs" -BDEPEND=">=net-libs/nodejs-16[npm]" - -S="${WORKDIR}/package" - -src_compile() { - # nothing to compile here - : -} - -src_install() { - npm \ - --audit false \ - --color false \ - --foreground-scripts \ - --global \ - --offline \ - --omit dev \ - --prefix "${ED}"/usr \ - --progress false \ - --verbose \ - install "${DISTDIR}/${P}".tgz || die "npm install failed" - - einstalldocs -} diff --git a/dev-lang/typescript/typescript-4.8.3.ebuild b/dev-lang/typescript/typescript-4.8.3-r1.ebuild similarity index 50% rename from dev-lang/typescript/typescript-4.8.3.ebuild rename to dev-lang/typescript/typescript-4.8.3-r1.ebuild index 647f4a120aee..02196457057b 100644 --- a/dev-lang/typescript/typescript-4.8.3.ebuild +++ b/dev-lang/typescript/typescript-4.8.3-r1.ebuild @@ -1,39 +1,39 @@ # Copyright 2021-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 DESCRIPTION="Superset of JavaScript with optional static typing, classes and interfaces" -HOMEPAGE="https://www.typescriptlang.org" +HOMEPAGE="https://www.typescriptlang.org/ + https://github.com/microsoft/TypeScript/" SRC_URI="https://registry.npmjs.org/${PN}/-/${P}.tgz" +S="${WORKDIR}"/package LICENSE="Apache-2.0" SLOT="0" KEYWORDS="~amd64 ~arm64 ~ppc64" -DEPEND="" RDEPEND="net-libs/nodejs" BDEPEND=">=net-libs/nodejs-16[npm]" -S="${WORKDIR}/package" - src_compile() { - # nothing to compile here + # Skip, nothing to compile here. : } src_install() { - npm \ - --audit false \ - --color false \ - --foreground-scripts \ - --global \ - --offline \ - --omit dev \ - --prefix "${ED}"/usr \ - --progress false \ - --verbose \ - install "${DISTDIR}/${P}".tgz || die "npm install failed" - - einstalldocs + local myopts=( + --audit false + --color false + --foreground-scripts + --global + --offline + --omit dev + --prefix "${ED}"/usr + --progress false + --verbose + ) + npm ${myopts[@]} install "${DISTDIR}"/${P}.tgz || die "npm install failed" + + dodoc *.md *.txt }