Cc: Maintainer

Updates rebar3 to 3.21.0, which is the fist version to be fully compatible with erlang26.

Adds an erlang26 FLAVOR

Tests pass without failure for both flavors.
Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/rebar3/Makefile,v
retrieving revision 1.10
diff -u -p -r1.10 Makefile
--- Makefile	15 Mar 2023 13:15:13 -0000	1.10
+++ Makefile	19 May 2023 07:04:27 -0000
@@ -2,7 +2,7 @@ COMMENT = 		Erlang build tool
 
 GH_ACCOUNT =		erlang
 GH_PROJECT =		rebar3
-GH_TAGNAME =		3.20.0
+GH_TAGNAME =		3.21.0
 CATEGORIES =		devel
 HOMEPAGE =		https://www.rebar3.org
 MAINTAINER =		Jonathan Matthew <jmatt...@openbsd.org>
@@ -10,13 +10,12 @@ MAINTAINER =		Jonathan Matthew <jmatthew
 # APLv2
 PERMIT_PACKAGE =	Yes
 
-# rebar 3.19 only supports OTP 23..25
-FLAVORS =		erlang25
+FLAVORS =		erlang25 erlang26
 FLAVOR ?=		erlang25
 
 MASTER_SITES1 = 	https://repo.hex.pm/tarballs/
 
-.if ${FLAVOR:Merlang25}
+.if ${FLAVOR:Merlang2[5,6]}
 _EV =                   ${FLAVOR:C/.*([0-9][0-9]+\$)/\1/}
 RUN_DEPENDS =           lang/erlang/${_EV}
 ERL_VERSION =           ${_EV}
Index: distinfo
===================================================================
RCS file: /cvs/ports/devel/rebar3/distinfo,v
retrieving revision 1.4
diff -u -p -r1.4 distinfo
--- distinfo	15 Mar 2023 13:15:13 -0000	1.4
+++ distinfo	19 May 2023 07:04:27 -0000
@@ -1,4 +1,4 @@
 SHA256 (meck-0.8.13.tar) = 008BPBVttRrVfMVWiRuXIOahwd9f4uFa+ZnITWzr6xo=
-SHA256 (rebar3-3.20.0.tar.gz) = U+1/KUqLj7TX11mIxpGUlDgxwQTTmDKh+jAwexqFk94=
+SHA256 (rebar3-3.21.0.tar.gz) = gCWv5q6IJ09XDlaIbdXcJXI6Ef4x/pluCOP0jtt8WmM=
 SIZE (meck-0.8.13.tar) = 34304
-SIZE (rebar3-3.20.0.tar.gz) = 785992
+SIZE (rebar3-3.21.0.tar.gz) = 795317
Index: patches/patch-rebar_config
===================================================================
RCS file: /cvs/ports/devel/rebar3/patches/patch-rebar_config,v
retrieving revision 1.5
diff -u -p -r1.5 patch-rebar_config
--- patches/patch-rebar_config	15 Mar 2023 13:15:13 -0000	1.5
+++ patches/patch-rebar_config	19 May 2023 07:04:27 -0000
@@ -6,7 +6,7 @@ Index: rebar.config
 @@ -12,7 +12,7 @@
  {escript_name, rebar3}.
  {escript_wrappers_windows, ["cmd", "powershell"]}.
- {escript_comment, "%%Rebar3 3.20.0\n"}.
+ {escript_comment, "%%Rebar3 3.21.0\n"}.
 -{escript_emu_args, "%%! +sbtu +A1\n"}.
 +{escript_emu_args, "%%! +sbtu +A1 -escript main rebar3\n"}.
  %% escript_incl_priv is for internal rebar-private use only.

Reply via email to