diff options
Diffstat (limited to 'dev-lang/typescript')
-rw-r--r-- | dev-lang/typescript/Manifest | 2 | ||||
-rw-r--r-- | dev-lang/typescript/typescript-5.0.2.ebuild | 39 |
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-lang/typescript/Manifest b/dev-lang/typescript/Manifest index e016a5ba721a..650494f918f0 100644 --- a/dev-lang/typescript/Manifest +++ b/dev-lang/typescript/Manifest @@ -1,7 +1,9 @@ DIST typescript-4.9.3.tgz 11618300 BLAKE2B 8a11cae27e9873750ebc1c4d9f0116f0ac291b17138df277188d754d36a33668476acbef56b9903c082372e2780253728ef5a9cc2cf57d872014b6fad2842cd2 SHA512 0887c6cd37a56ca3449cba4b7461607722a11b6dc229d2a040f38173e39436b909dafafe292cec495e64ab989684441ba24faabb1806ceb02d1960b253bb479c DIST typescript-4.9.4.tgz 11619457 BLAKE2B 97f19fe325ba7f74d845779eb94919895c44a9603ecec9f1aec5d332a49976f1b1133686a2969205e01c49dfe460c8f8b3eac384134d592478e49af1748a08fb SHA512 533f9d4d7633c575dbb05a4cf3a5a1ddd282c6b42a51c54cc70539e28af09498cea4eddaa3c2fb8f9947f9d59f4f0802c08b8cf4643692f568b736093174c166 DIST typescript-4.9.5.tgz 11620433 BLAKE2B c253379a4aadd3fe16c93f27c5b450e5965c4c4de6841737c3489c74baa2cf8f8f5d9ca0414b5519e26eaac1db058e3826a3aa504bb450a89d36dce7e21b5f99 SHA512 d455e4f44d879be433650ef3f8c7098872f8356d45d84cccbbd36af62df301a1aa89b69fa98c02554e96c9602ec90451cce971a2ef31652c972c437ca0a8f6e2 +DIST typescript-5.0.2.tgz 7050986 BLAKE2B 6f9a187eb6f87971540469f6b212ce25e04b6ee22b8aab0d86857e99feed1ed10603b6367a9d4d0ac448669225b228d233995bae6391aeb1df75374c70b3f757 SHA512 c1539130118efc502cffef9b94635e01575b34ab48875adb04bd84c90d7e27d942949f772a288a7bc3e614855d5e11dccafe3848bf6882599f792b27768d2347 EBUILD typescript-4.9.3.ebuild 823 BLAKE2B a3777280718dabb4c3cb85f24dd59af91eb2278f8720c1e00335a4ea12a2f5f5da823424cd7b2737ef460a3ff8492fca5e48e052bfb74ac1b87e5c3656d2c9af SHA512 e0eb4afa9fb0f1517987c08815f94dfeaf3e51c55acb3e362a3674f710883d562765dc461442cdcfbb4d25735ec6d70a4b7ae7f01998c19acacac9e68ed291aa EBUILD typescript-4.9.4.ebuild 823 BLAKE2B a3777280718dabb4c3cb85f24dd59af91eb2278f8720c1e00335a4ea12a2f5f5da823424cd7b2737ef460a3ff8492fca5e48e052bfb74ac1b87e5c3656d2c9af SHA512 e0eb4afa9fb0f1517987c08815f94dfeaf3e51c55acb3e362a3674f710883d562765dc461442cdcfbb4d25735ec6d70a4b7ae7f01998c19acacac9e68ed291aa EBUILD typescript-4.9.5.ebuild 823 BLAKE2B a3777280718dabb4c3cb85f24dd59af91eb2278f8720c1e00335a4ea12a2f5f5da823424cd7b2737ef460a3ff8492fca5e48e052bfb74ac1b87e5c3656d2c9af SHA512 e0eb4afa9fb0f1517987c08815f94dfeaf3e51c55acb3e362a3674f710883d562765dc461442cdcfbb4d25735ec6d70a4b7ae7f01998c19acacac9e68ed291aa +EBUILD typescript-5.0.2.ebuild 824 BLAKE2B d82c95a8140e984bcaf32e8dafecff16f1a604fe7f56dbe1a5e91ec82f586060802ab6bffa8542ce4ac13b3fd35e79f46d24361985d570499ef43c0e19bc5855 SHA512 d35d657c16d34513f8f6622470514f0a7c9dbcca3e247496f7879de69d044825558eb8f034c2fe15dae6e39d5e297f9b0d6da4558cf12b3920286412bd9f353b MISC metadata.xml 733 BLAKE2B 903d85acefa054dd979ac181106cd604c351e4b81e18be7ad0f370501864f6789895244a797ec20041158d8c716907a06fa75c2ba4ea192e798719bbe73b1d45 SHA512 95806f8f442b0246867f0ba0ed70c093dfd772a558ae499be7e22bfe99cb3bc54debc7479ca9b4ac81a54156d3b8745cbb448e412f31ed2d5c43f76cbc642d72 diff --git a/dev-lang/typescript/typescript-5.0.2.ebuild b/dev-lang/typescript/typescript-5.0.2.ebuild new file mode 100644 index 000000000000..598301d43b33 --- /dev/null +++ b/dev-lang/typescript/typescript-5.0.2.ebuild @@ -0,0 +1,39 @@ +# Copyright 2021-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Superset of JavaScript with optional static typing, classes and interfaces" +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" + +RDEPEND="net-libs/nodejs" +BDEPEND=">=net-libs/nodejs-16[npm]" + +src_compile() { + # Skip, nothing to compile here. + : +} + +src_install() { + 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 +} |