Sunday, July 07, 2024

[update] devel/sbt: update to 1.10.1

ports@,

18 minutes ago sbt had a bugfix release which addressed number of small
issues, changelog: https://github.com/sbt/sbt/releases/tag/v1.10.1

Tested on -current/amd64 by building quite complicated scala project, and a
few small one. No dependand on the port tree.

Here a diff to update it, where I also claim mainterniship for this port.

diff --git devel/sbt/Makefile devel/sbt/Makefile
index 3f597bd06db..c9a02a76be5 100644
--- devel/sbt/Makefile
+++ devel/sbt/Makefile
@@ -1,6 +1,6 @@
COMMENT= interactive build tool, primarily for Scala/Java

-V= 1.10.0
+V= 1.10.1
DISTNAME= sbt-$V
CATEGORIES= devel

@@ -8,6 +8,8 @@ HOMEPAGE= https://scala-sbt.org
SITES = https://github.com/sbt/sbt/releases/download/v$V/
EXTRACT_SUFX= .tgz

+MAINTAINER= Kirill A. Korinsky <kirill@korins.ky>
+
# Apache Software License 2.0
PERMIT_PACKAGE= Yes

diff --git devel/sbt/distinfo devel/sbt/distinfo
index 1898b4b42ef..29e1e15cdd5 100644
--- devel/sbt/distinfo
+++ devel/sbt/distinfo
@@ -1,2 +1,2 @@
-SHA256 (sbt-1.10.0.tgz) = FUt95sGSB8c9CjBPkByMS26tmpw6mamKnXKsGUGdJkA=
-SIZE (sbt-1.10.0.tgz) = 48054447
+SHA256 (sbt-1.10.1.tgz) = R/6YzpSY7kbmnyJnLzwSI0y+fnGedkQQoT5YtyXWWfM=
+SIZE (sbt-1.10.1.tgz) = 48056407
diff --git devel/sbt/patches/patch-bin_sbt devel/sbt/patches/patch-bin_sbt
index 2a784377b31..8b809642770 100644
--- devel/sbt/patches/patch-bin_sbt
+++ devel/sbt/patches/patch-bin_sbt
@@ -8,7 +8,7 @@ Index: bin/sbt
-declare java_cmd=java
+declare java_cmd=${JAVA_HOME:-$(javaPathHelper -h sbt)}/bin/java
declare java_version
- declare init_sbt_version=1.10.0
+ declare init_sbt_version=1.10.1
declare sbt_default_mem=1024
@@ -533,7 +533,7 @@ run() {
declare -ra noshare_opts=(-Dsbt.global.base=project/.sbtboot -Dsbt.boot.directory=project/.boot -Dsbt.ivy.home=project/.ivy)

--
wbr, Kirill

No comments:

Post a Comment