pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/textproc/hs-typst
Module Name: pkgsrc
Committed By: wiz
Date: Sat Jul 19 20:48:19 UTC 2025
Modified Files:
pkgsrc/textproc/hs-typst: DESCR Makefile buildlink3.mk distinfo
Log Message:
textproc/hs-typst: update to typst-0.8.0.1
## 0.8.0.1
* Fix subtracting units, e.g. `1mm-0mm` (#71, Luke Grehan).
## 0.8
* Allow `json`, `toml`, `xml` to take either file path or bytes.
* Allow `read` to return bytes if encoding is 'none'.
* `bibliography`, `image`: change parameter name to `source` and allow bytes.
* Add 'bytes' as a type name and constructor.
* Add VBytes constructor for Val and TBytes for ValType. [API change]
* Allow values of arguments type to be added together.
* Support `calc.norm`.
* Math: add `lcm` operator.
* Require typst-symbols >= 0.1.8.1 (#67), giving us typst 0.13 symbols.
* Add "dictionary" as name of TDict type (#65).
## 0.7
* Fix problems with module loading paths (#62).
* Skip whitespace before parsing key/value values in math (#64).
* Parse the `delim` attribute (and any others) in `math.mat` (#64).
* Methods: fix 'has' method so it works for sequences of elements.
* Evaluate: run show rules after looking up an identifier.
* Show rule changes:
+ ShowRule now has an extra parameter for a unique identifier.
This allows us to prevent double application of show rules,
while allowing distinct rules with the same selector. [API change]
+ In applying show rules, we no longer recurse into an element's
fields, as this caused double application of show rules in nested
contexts. (See #63.) However, this is not a complete fix because there
are some tests that still fail.
+ Ensure that show rules are applied to text elements.
* Reorganized tests. Now put the `.out` and `.typ` files in same directory,
rather than having separate trees.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/textproc/hs-typst/DESCR
cvs rdiff -u -r1.8 -r1.9 pkgsrc/textproc/hs-typst/Makefile \
pkgsrc/textproc/hs-typst/buildlink3.mk
cvs rdiff -u -r1.4 -r1.5 pkgsrc/textproc/hs-typst/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/textproc/hs-typst/DESCR
diff -u pkgsrc/textproc/hs-typst/DESCR:1.1 pkgsrc/textproc/hs-typst/DESCR:1.2
--- pkgsrc/textproc/hs-typst/DESCR:1.1 Mon Oct 30 12:54:19 2023
+++ pkgsrc/textproc/hs-typst/DESCR Sat Jul 19 20:48:19 2025
@@ -1,3 +1,3 @@
-A library for parsing and evaluating typst syntax. Typst
-(https://typst.app) is a document layout and formatting language. This
-library targets typst 0.7 and currently offers only partial support.
+A library for parsing and evaluating typst syntax. Typst (https://typst.app) is
+a document layout and formatting language. This library targets typst 0.13 and
+currently offers only partial support.
Index: pkgsrc/textproc/hs-typst/Makefile
diff -u pkgsrc/textproc/hs-typst/Makefile:1.8 pkgsrc/textproc/hs-typst/Makefile:1.9
--- pkgsrc/textproc/hs-typst/Makefile:1.8 Wed Mar 5 03:40:05 2025
+++ pkgsrc/textproc/hs-typst/Makefile Sat Jul 19 20:48:19 2025
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.8 2025/03/05 03:40:05 pho Exp $
+# $NetBSD: Makefile,v 1.9 2025/07/19 20:48:19 wiz Exp $
-DISTNAME= typst-0.6.2
-PKGREVISION= 1
+DISTNAME= typst-0.8.0.1
CATEGORIES= textproc
DIST_SUBDIR= hs-typst # So that it won't conflict with textproc/typst
Index: pkgsrc/textproc/hs-typst/buildlink3.mk
diff -u pkgsrc/textproc/hs-typst/buildlink3.mk:1.8 pkgsrc/textproc/hs-typst/buildlink3.mk:1.9
--- pkgsrc/textproc/hs-typst/buildlink3.mk:1.8 Wed Mar 5 03:40:05 2025
+++ pkgsrc/textproc/hs-typst/buildlink3.mk Sat Jul 19 20:48:19 2025
@@ -1,12 +1,12 @@
-# $NetBSD: buildlink3.mk,v 1.8 2025/03/05 03:40:05 pho Exp $
+# $NetBSD: buildlink3.mk,v 1.9 2025/07/19 20:48:19 wiz Exp $
BUILDLINK_TREE+= hs-typst
.if !defined(HS_TYPST_BUILDLINK3_MK)
HS_TYPST_BUILDLINK3_MK:=
-BUILDLINK_API_DEPENDS.hs-typst+= hs-typst>=0.6.2
-BUILDLINK_ABI_DEPENDS.hs-typst+= hs-typst>=0.6.2nb1
+BUILDLINK_API_DEPENDS.hs-typst+= hs-typst>=0.8.0
+BUILDLINK_ABI_DEPENDS.hs-typst+= hs-typst>=0.8.0.1
BUILDLINK_PKGSRCDIR.hs-typst?= ../../textproc/hs-typst
.include "../../textproc/hs-typst-symbols/buildlink3.mk"
Index: pkgsrc/textproc/hs-typst/distinfo
diff -u pkgsrc/textproc/hs-typst/distinfo:1.4 pkgsrc/textproc/hs-typst/distinfo:1.5
--- pkgsrc/textproc/hs-typst/distinfo:1.4 Sun Feb 23 22:03:42 2025
+++ pkgsrc/textproc/hs-typst/distinfo Sat Jul 19 20:48:19 2025
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.4 2025/02/23 22:03:42 wiz Exp $
+$NetBSD: distinfo,v 1.5 2025/07/19 20:48:19 wiz Exp $
-BLAKE2s (hs-typst/typst-0.6.2.tar.gz) = f2b0bb338dfa23775e757fcea2bc12b099327bde85975c20dbd06a8d4057fb3a
-SHA512 (hs-typst/typst-0.6.2.tar.gz) = 1bc8b2cb0bda4015703cda06e7e8d8bcf0bc866718e6654c66f674c4f29f24afe3e7c77aa9f7500c68310de149abf7a5e171cd89436262ad60306cc3b21e9d4f
-Size (hs-typst/typst-0.6.2.tar.gz) = 6437021 bytes
+BLAKE2s (hs-typst/typst-0.8.0.1.tar.gz) = 090ebeb3b3a5858b5c408e7146b08cbde6e187cf6fcc3131ed8955f6318552b6
+SHA512 (hs-typst/typst-0.8.0.1.tar.gz) = 0f2ebadcec766a60e20c5030435ab621f05034fe7f76e6b6477d857b830dd8a85f846a9f368db869b62d05e0ee8e01f8cffce79526ba6c7b2f68c72875a0f000
+Size (hs-typst/typst-0.8.0.1.tar.gz) = 6430160 bytes
Home |
Main Index |
Thread Index |
Old Index