pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/janet janet: Update to 1.12.2



details:   https://anonhg.NetBSD.org/pkgsrc/rev/022ae21cc34f
branches:  trunk
changeset: 440130:022ae21cc34f
user:      nia <nia%pkgsrc.org@localhost>
date:      Sat Oct 03 10:29:08 2020 +0000

description:
janet: Update to 1.12.2

## 1.12.2 - 2020-09-20
- Add janet\_try and janet\_restore to C API.
- Fix `os/execute` regression on windows.
- Add :pipe option to `os/spawn`.
- Fix docstring typos.

## 1.12.1 - 2020-09-07
- Make `zero?`, `one?`, `pos?`, and `neg?` polymorphic.
- Add C++ support to jpm and improve C++ interop in janet.h.
- Add `%t` formatter to `printf`, `string/format`, and other formatter functions.
- Expose `janet_cfuns_prefix` in C API.
- Add `os/proc-wait` and `os/proc-kill` for interacting with processes.
- Add `janet_getjfile` to C API.
- Allow redirection of stdin, stdout, and stderr by passing keywords in the env table in `os/spawn` and `os/execute`.
- Add `os/spawn` to get a core/process back instead of an exit code as in `os/execute`.
  When called like this, `os/execute` returns immediately.
- Add `:x` flag to os/execute to raise error when exit code is non-zero.
- Don't run `main` when flychecking.
- Add `:n` flag to `file/open` to raise an error if file cannot be opened.
- Fix import macro to not try and coerce everything to a string.
- Allow passing a second argument to `disasm`.
- Add `cancel`. Resumes a fiber but makes it immediately error at the yield point.
- Allow multi-line paste into built in repl.
- Add `(curenv)`.
- Change `net/read`, `net/chunk`, and `net/write` to raise errors in the case of failures.
- Add `janet_continue_signal` to C API. This indirectly enables C functions that yield to the event loop
  to raise errors or other signals.
- Update meson build script to fix bug on Debian's version of meson
- Add `xprint`, `xprin`, `xprintf`, and `xprinf`.
- `net/write` now raises an error message if write fails.
- Fix issue with SIGPIPE on macOS and BSDs.

diffstat:

 lang/janet/Makefile |   4 ++--
 lang/janet/PLIST    |   4 ++--
 lang/janet/distinfo |  10 +++++-----
 3 files changed, 9 insertions(+), 9 deletions(-)

diffs (44 lines):

diff -r bce12ffbff82 -r 022ae21cc34f lang/janet/Makefile
--- a/lang/janet/Makefile       Sat Oct 03 10:26:20 2020 +0000
+++ b/lang/janet/Makefile       Sat Oct 03 10:29:08 2020 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.9 2020/08/10 14:45:53 nia Exp $
+# $NetBSD: Makefile,v 1.10 2020/10/03 10:29:08 nia Exp $
 
-DISTNAME=      janet-1.11.3
+DISTNAME=      janet-1.12.2
 CATEGORIES=    lang
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=janet-lang/}
 GITHUB_TAG=    v${PKGVERSION_NOREV}
diff -r bce12ffbff82 -r 022ae21cc34f lang/janet/PLIST
--- a/lang/janet/PLIST  Sat Oct 03 10:26:20 2020 +0000
+++ b/lang/janet/PLIST  Sat Oct 03 10:29:08 2020 +0000
@@ -1,11 +1,11 @@
-@comment $NetBSD: PLIST,v 1.4 2020/07/26 22:47:24 nia Exp $
+@comment $NetBSD: PLIST,v 1.5 2020/10/03 10:29:08 nia Exp $
 bin/janet
 bin/jpm
 include/janet/janet.h
 include/janet/janetconf.h
 lib/libjanet.a
 lib/libjanet.so
-lib/libjanet.so.1.11
+lib/libjanet.so.1.12
 lib/libjanet.so.${PKGVERSION}
 lib/pkgconfig/janet.pc
 man/man1/janet.1
diff -r bce12ffbff82 -r 022ae21cc34f lang/janet/distinfo
--- a/lang/janet/distinfo       Sat Oct 03 10:26:20 2020 +0000
+++ b/lang/janet/distinfo       Sat Oct 03 10:29:08 2020 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.8 2020/08/08 17:56:42 nia Exp $
+$NetBSD: distinfo,v 1.9 2020/10/03 10:29:08 nia Exp $
 
-SHA1 (janet-1.11.3.tar.gz) = af755b2f94f35228bab5ceaf946175ddbcd3d114
-RMD160 (janet-1.11.3.tar.gz) = 51d2c7e8ed0b70da76193731afa690153718bba9
-SHA512 (janet-1.11.3.tar.gz) = 4b122fffd4efda57df377db6ee3d7f0b4789cfc0caa8fc2f156d1c3432625fd18b619b0fc460a81090655e21d7f4205faa3b2c7cc0674eaba35a683188108e4d
-Size (janet-1.11.3.tar.gz) = 551368 bytes
+SHA1 (janet-1.12.2.tar.gz) = d8cf2031581deaf7965ee4c6bd36c621b1bf95e4
+RMD160 (janet-1.12.2.tar.gz) = 73df41954039dcc62b23ca9aa870cb74a0e7ab30
+SHA512 (janet-1.12.2.tar.gz) = bde3d516b0a1c55ad8edb2dc701a3afdb5e7c2bd028b132598d1a08796aca5f17f71dd2c760192a9703a07adb3450a7af6971611ae57005eafad1b741b0b69a6
+Size (janet-1.12.2.tar.gz) = 558788 bytes



Home | Main Index | Thread Index | Old Index