From: "Maciej Barć" <xgqt@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/kotlin-bin/
Date: Thu, 10 Oct 2024 16:43:32 +0000 (UTC) [thread overview]
Message-ID: <1728578609.c5443ed11b4a8297589817588687903759ac1e83.xgqt@gentoo> (raw)
commit: c5443ed11b4a8297589817588687903759ac1e83
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 10 16:34:15 2024 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Thu Oct 10 16:43:29 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5443ed1
dev-lang/kotlin-bin: bump to 2.0.21
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
dev-lang/kotlin-bin/Manifest | 1 +
dev-lang/kotlin-bin/kotlin-bin-2.0.21.ebuild | 59 ++++++++++++++++++++++++++++
2 files changed, 60 insertions(+)
diff --git a/dev-lang/kotlin-bin/Manifest b/dev-lang/kotlin-bin/Manifest
index c5ccbe2e7d1e..f83ce2e6448d 100644
--- a/dev-lang/kotlin-bin/Manifest
+++ b/dev-lang/kotlin-bin/Manifest
@@ -1 +1,2 @@
DIST kotlin-compiler-2.0.20.zip 86110157 BLAKE2B 601e6d8b0ac3af3b8b0b2ddc87bb8ab2d69769e9f3d217c1be317874bfd77a8b767fd84c315637b48782393326bc3b1abc875d1293b3766dc03a0216d26cddf0 SHA512 07bb47339813d127783b2ddfd52635dd483744f1821c8b95075698f37c506e0b66c7abb3d9ab183ba957fe07b4ce1a34b9be2c4477ca0e9115feacab8380bba7
+DIST kotlin-compiler-2.0.21.zip 85822011 BLAKE2B 007a3cb8902e5a12d883ede2ef670f821471c3273dc97d17935006e0dc35989fe540cbeaa0a8203fc95e05f2b36d95000a1e3ac11803c2723b1dfa361a102470 SHA512 0ab48b49fc3582274485eb5c65a6e5b5de9c45e9c2faafb0720bf07308af50d813eae6d73c57a56daed6b9fd5378d40ce701f14f13e3063bdb38c5d529eb7626
diff --git a/dev-lang/kotlin-bin/kotlin-bin-2.0.21.ebuild b/dev-lang/kotlin-bin/kotlin-bin-2.0.21.ebuild
new file mode 100644
index 000000000000..7e3629cfadfc
--- /dev/null
+++ b/dev-lang/kotlin-bin/kotlin-bin-2.0.21.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
+}
next reply other threads:[~2024-10-10 16:43 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-10 16:43 Maciej Barć [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-10-10 16:43 [gentoo-commits] repo/gentoo:master commit in: dev-lang/kotlin-bin/ Maciej Barć
2024-09-03 18:44 Maciej Barć
2024-09-03 18:44 Maciej Barć
2024-08-08 12:06 Maciej Barć
2024-08-08 12:06 Maciej Barć
2024-05-25 14:06 Maciej Barć
2024-05-25 14:06 Maciej Barć
2024-05-08 12:42 Maciej Barć
2024-04-11 1:38 Maciej Barć
2024-03-11 11:21 Maciej Barć
2024-01-21 20:47 Maciej Barć
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1728578609.c5443ed11b4a8297589817588687903759ac1e83.xgqt@gentoo \
--to=xgqt@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox