https://github.com/arp242/uni/blob/master/README.md#changelog
lists breaking changes after 1.1.1, hence the major bump, but in the
context of a dmenu-uni script which pkglocate(1) says we don't have.

Feedback? OK?

Index: Makefile
===================================================================
RCS file: /cvs/ports/textproc/uni/Makefile,v
diff -u -p -r1.4 Makefile
--- Makefile    11 Mar 2022 20:03:34 -0000      1.4
+++ Makefile    29 Dec 2023 06:43:10 -0000
@@ -1,9 +1,10 @@
 COMMENT =      query the unicode database from the commandline
 
-MODGO_MODNAME =        arp242.net/uni
-MODGO_VERSION =        v1.1.1
+MODGO_MODNAME =        zgo.at/uni/v2
+MODGO_VERSION =        v2.6.0
 DISTNAME =     uni-${MODGO_VERSION}
-REVISION =     0
+
+HOMEPAGE =     https://github.com/arp242/uni
 
 CATEGORIES =   textproc
 
@@ -13,7 +14,6 @@ PERMIT_PACKAGE =      Yes
 WANTLIB += c pthread
 
 MODULES =      lang/go
-MODGO_MODULES =        \
-       golang.org/x/sys        v0.0.0-20191120155948-bd437916bb0e
 
+.include "modules.inc"
 .include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /cvs/ports/textproc/uni/distinfo,v
diff -u -p -r1.2 distinfo
--- distinfo    24 Jan 2021 18:10:40 -0000      1.2
+++ distinfo    29 Dec 2023 06:38:46 -0000
@@ -1,6 +1,32 @@
-SHA256 (go_modules/golang.org/x/sys/@v/v0.0.0-20191120155948-bd437916bb0e.mod) 
= GBl56L1X0tngZBgtqGyaYRGqaXVeiI8IQx7OR0Kuw0M=
-SHA256 (go_modules/golang.org/x/sys/@v/v0.0.0-20191120155948-bd437916bb0e.zip) 
= 2sy55urgoX0m0u22FS6O4kNQtbylG95j8GXw2J4gRzQ=
-SHA256 (uni-v1.1.1.zip) = 7zIzj0aVrpY9zI5XNNJ2fL8A4Nsxv0gYeSt1gx/nAZk=
-SIZE (go_modules/golang.org/x/sys/@v/v0.0.0-20191120155948-bd437916bb0e.mod) = 
33
-SIZE (go_modules/golang.org/x/sys/@v/v0.0.0-20191120155948-bd437916bb0e.zip) = 
1888282
-SIZE (uni-v1.1.1.zip) = 415192
+SHA256 (go_modules/github.com/mattn/go-runewidth/@v/v0.0.13.mod) = 
IWyT0ZMQYSyB1cdBAkmJ+DiX0jM8Op+We1ixMXWH9Rk=
+SHA256 (go_modules/github.com/mattn/go-runewidth/@v/v0.0.15.mod) = 
IWyT0ZMQYSyB1cdBAkmJ+DiX0jM8Op+We1ixMXWH9Rk=
+SHA256 (go_modules/github.com/mattn/go-runewidth/@v/v0.0.15.zip) = 
2XxPBmehSVdWnJMqjiSI8cQ3V7TczjE4l6oAHwfRSbA=
+SHA256 (go_modules/github.com/rivo/uniseg/@v/v0.2.0.mod) = 
bHMYonqNVHOo62YedfsAUoF24O/FkxDtJ3yhO9EqU/E=
+SHA256 (go_modules/github.com/rivo/uniseg/@v/v0.2.0.zip) = 
MZnZS+UChBQiIGYso7AOGd3R3r5OgN3HRf9CA+y2AcA=
+SHA256 (go_modules/golang.org/x/sys/@v/v0.14.0.mod) = 
0iezJfYh9OvijTm6dz6pm4cPOTt8CcNFksNlsW3VYN4=
+SHA256 (go_modules/golang.org/x/sys/@v/v0.14.0.zip) = 
uJkTyWdZSsEE3AjxtqLxrIiNDQAUlPgOBTzpXQoTmJ0=
+SHA256 (go_modules/golang.org/x/term/@v/v0.14.0.mod) = 
MnPn+UmSTqxMbQR2CmFyTEFgx3+tKzMqNd74wk9l3Ck=
+SHA256 (go_modules/golang.org/x/term/@v/v0.14.0.zip) = 
7m7KGWXWt9dPFcb3IerH86NdztHojNYpfmlrAGeTT0s=
+SHA256 (go_modules/zgo.at/termtext/@v/v1.1.0.mod) = 
AsKcEK3OHhTxcsrrBtkryHcqJp/lGOOinJR7GHn3OHs=
+SHA256 (go_modules/zgo.at/termtext/@v/v1.1.0.zip) = 
GIXynWQ8WiB75BBoNb58aV/pjeX7/tl/qc66Czv5YKw=
+SHA256 (go_modules/zgo.at/zli/@v/v0.0.0-20231124215953-c6675b0b020a.mod) = 
npJUlmE4/IapbJaVsRcJkvA2PX9yP5GMvLGcnDyfYt4=
+SHA256 (go_modules/zgo.at/zli/@v/v0.0.0-20231124215953-c6675b0b020a.zip) = 
oN3/nM3fZHuevoA2vCg3Fj8I8I0YT0OmtqFxc9zfkM8=
+SHA256 (go_modules/zgo.at/zstd/@v/v0.0.0-20231103054616-51d9aeb81421.mod) = 
xoq5I1c570+7BOyfDG0yVo5zayDkCyJJ2Rk0vJPQoJU=
+SHA256 (go_modules/zgo.at/zstd/@v/v0.0.0-20231103054616-51d9aeb81421.zip) = 
nTg+QzVuNWSdvykyeGE+Rn3ttpP8Ok+N+Zvju8E6bRU=
+SHA256 (uni-v2.6.0.zip) = Qo8b3fL2/jIdFjRO1fc55Nx7pzGyclkLPHBOLusjtBM=
+SIZE (go_modules/github.com/mattn/go-runewidth/@v/v0.0.13.mod) = 84
+SIZE (go_modules/github.com/mattn/go-runewidth/@v/v0.0.15.mod) = 84
+SIZE (go_modules/github.com/mattn/go-runewidth/@v/v0.0.15.zip) = 21768
+SIZE (go_modules/github.com/rivo/uniseg/@v/v0.2.0.mod) = 39
+SIZE (go_modules/github.com/rivo/uniseg/@v/v0.2.0.zip) = 45731
+SIZE (go_modules/golang.org/x/sys/@v/v0.14.0.mod) = 33
+SIZE (go_modules/golang.org/x/sys/@v/v0.14.0.zip) = 1900122
+SIZE (go_modules/golang.org/x/term/@v/v0.14.0.mod) = 68
+SIZE (go_modules/golang.org/x/term/@v/v0.14.0.zip) = 19883
+SIZE (go_modules/zgo.at/termtext/@v/v1.1.0.mod) = 115
+SIZE (go_modules/zgo.at/termtext/@v/v1.1.0.zip) = 6476
+SIZE (go_modules/zgo.at/zli/@v/v0.0.0-20231124215953-c6675b0b020a.mod) = 62
+SIZE (go_modules/zgo.at/zli/@v/v0.0.0-20231124215953-c6675b0b020a.zip) = 40024
+SIZE (go_modules/zgo.at/zstd/@v/v0.0.0-20231103054616-51d9aeb81421.mod) = 28
+SIZE (go_modules/zgo.at/zstd/@v/v0.0.0-20231103054616-51d9aeb81421.zip) = 
127614
+SIZE (uni-v2.6.0.zip) = 569696
Index: modules.inc
===================================================================
RCS file: modules.inc
diff -N modules.inc
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ modules.inc 29 Dec 2023 06:38:23 -0000
@@ -0,0 +1,12 @@
+MODGO_MODULES =        \
+       github.com/mattn/go-runewidth    v0.0.15 \
+       github.com/rivo/uniseg           v0.2.0 \
+       golang.org/x/sys                 v0.14.0 \
+       golang.org/x/term                v0.14.0 \
+       zgo.at/termtext                  v1.1.0 \
+       zgo.at/zli                       v0.0.0-20231124215953-c6675b0b020a \
+       zgo.at/zstd                      v0.0.0-20231103054616-51d9aeb81421
+
+MODGO_MODFILES =       \
+       github.com/mattn/go-runewidth    v0.0.13
+
Index: pkg/DESCR
===================================================================
RCS file: /cvs/ports/textproc/uni/pkg/DESCR,v
diff -u -p -r1.2 DESCR
--- pkg/DESCR   24 Jan 2021 18:10:40 -0000      1.2
+++ pkg/DESCR   29 Dec 2023 06:42:07 -0000
@@ -1,5 +1,5 @@
 uni queries the Unicode database from the commandline.
-It supports Unicode 13.1 (September 2020) and has good support for emojis.
+It supports Unicode 15.1 (September 2023) and has good support for emojis.
 
 There are four commands: identify codepoints in a string,
 search for codepoints, print codepoints by class, block, or range, and

Reply via email to