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 08185159C9B for ; Thu, 8 Aug 2024 12:06:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5351FE2AA6; Thu, 8 Aug 2024 12:06:15 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 3D662E2ACE for ; Thu, 8 Aug 2024 12:06:15 +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 60E8B342FA3 for ; Thu, 8 Aug 2024 12:06:14 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7EA211EBD for ; Thu, 8 Aug 2024 12:06:12 +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: <1723118739.531fb253702555f0bbdea73ccd0dbc36b5821a38.xgqt@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/kotlin-bin/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-lang/kotlin-bin/Manifest dev-lang/kotlin-bin/kotlin-bin-2.0.10.ebuild X-VCS-Directories: dev-lang/kotlin-bin/ X-VCS-Committer: xgqt X-VCS-Committer-Name: Maciej Barć X-VCS-Revision: 531fb253702555f0bbdea73ccd0dbc36b5821a38 X-VCS-Branch: master Date: Thu, 8 Aug 2024 12:06:12 +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: 5333e125-efb0-4922-b614-7aa36281e099 X-Archives-Hash: 98db1c4ebaa13bcce7b133a63873777e commit: 531fb253702555f0bbdea73ccd0dbc36b5821a38 Author: Maciej Barć gentoo org> AuthorDate: Thu Aug 8 11:43:31 2024 +0000 Commit: Maciej Barć gentoo org> CommitDate: Thu Aug 8 12:05:39 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=531fb253 dev-lang/kotlin-bin: bump to 2.0.10 Signed-off-by: Maciej Barć gentoo.org> dev-lang/kotlin-bin/Manifest | 1 + dev-lang/kotlin-bin/kotlin-bin-2.0.10.ebuild | 59 ++++++++++++++++++++++++++++ 2 files changed, 60 insertions(+) diff --git a/dev-lang/kotlin-bin/Manifest b/dev-lang/kotlin-bin/Manifest index 20a2ca137866..bebce94257e0 100644 --- a/dev-lang/kotlin-bin/Manifest +++ b/dev-lang/kotlin-bin/Manifest @@ -1,2 +1,3 @@ DIST kotlin-compiler-1.9.24.zip 91056044 BLAKE2B b872635e83b334cf4b8ee6f2aad5f4d1cf44594848c02a027fd3f7adcffb6d05232e66658ed8e6e234c2ea0996728338f6fdd46628ccfeddeeb5f3b330307340 SHA512 cc6f3cd141faed849f0c8b11b4473f30211d242001292eecc1a0927151034afd892840289457cef6fc8a201dacf157fdb5782cf0a96d27bfa2b3693fac118a84 DIST kotlin-compiler-2.0.0.zip 83767523 BLAKE2B 4627ec2ccf0751baee141a980f14bace98a96b4f826b72f001dc2e27afe1fa60b3967e533e775f7dd81a5e682670cd38c02378884a2d543caca050aee519e765 SHA512 ca723146188a60a995089d4b06bb23c83bfb2dbaabbbad632921601babbccddf4e3f0519692018480b7a0a7a1d0ce3002dcb6f4a445dc2dfa2a2b8f4e39364c7 +DIST kotlin-compiler-2.0.10.zip 83745882 BLAKE2B acd359e348fdb8fbb339a2fcd5fedb165990cc366f0c717644360267aa161e96b8813e0569a0ebc8f2d5de65f25c780c733b6b50c14e8b943344c31a492f0534 SHA512 ba0eac447eb62726604fe9f0d563b1fa8d23001f3ed6053954269e3f342886533a1fa2a8fc4d8f1e7aaae7b94db96a72f195f2b886eb7a50d1e6c25ac80ba106 diff --git a/dev-lang/kotlin-bin/kotlin-bin-2.0.10.ebuild b/dev-lang/kotlin-bin/kotlin-bin-2.0.10.ebuild new file mode 100644 index 000000000000..7e3629cfadfc --- /dev/null +++ b/dev-lang/kotlin-bin/kotlin-bin-2.0.10.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit java-pkg-2 wrapper + +DESCRIPTION="Statically typed language that targets the JVM and JavaScript" +HOMEPAGE="https://kotlinlang.org/ + https://github.com/JetBrains/kotlin/" +SRC_URI="https://github.com/JetBrains/kotlin/releases/download/v${PV}/kotlin-compiler-${PV}.zip" +S="${WORKDIR}/kotlinc" + +LICENSE="Apache-2.0 BSD MIT NPL-1.1" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + >=virtual/jre-1.8:* +" +DEPEND=" + >=virtual/jdk-1.8:* +" +BDEPEND=" + app-arch/unzip +" + +src_prepare() { + default + + rm bin/*.bat || die +} + +src_compile() { + : +} + +src_install() { + java-pkg_dojar lib/* + + # Follow the Java eclass JAR installation path. + local app_home="/usr/share/${PN}" + + exeinto "${app_home}/bin" + doexe bin/* + + local -a exes=( + kapt + kotlin + kotlinc + kotlinc-js + kotlinc-jvm + kotlin-dce-js + ) + local exe + for exe in "${exes[@]}" ; do + make_wrapper "${exe}" "${app_home}/bin/${exe}" + done +}