diff options
author | nia <nia@pkgsrc.org> | 2020-10-03 10:29:08 +0000 |
---|---|---|
committer | nia <nia@pkgsrc.org> | 2020-10-03 10:29:08 +0000 |
commit | 013d8f087178452c3e62929f375c28ff214b366d (patch) | |
tree | 2607d543d609a403848a93a0589b2ecb6e9b8b35 /lang | |
parent | adce7d3494e65677181fa526e5f3f11dc9a7bdb4 (diff) | |
download | pkgsrc-013d8f087178452c3e62929f375c28ff214b366d.tar.gz |
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 (limited to 'lang')
-rw-r--r-- | lang/janet/Makefile | 4 | ||||
-rw-r--r-- | lang/janet/PLIST | 4 | ||||
-rw-r--r-- | lang/janet/distinfo | 10 |
3 files changed, 9 insertions, 9 deletions
diff --git a/lang/janet/Makefile b/lang/janet/Makefile index 499dd27f252..20823c41b2b 100644 --- a/lang/janet/Makefile +++ b/lang/janet/Makefile @@ -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 --git a/lang/janet/PLIST b/lang/janet/PLIST index 2e024265a2a..646130a9796 100644 --- a/lang/janet/PLIST +++ b/lang/janet/PLIST @@ -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 --git a/lang/janet/distinfo b/lang/janet/distinfo index 29b69eca31e..0800b13f51d 100644 --- a/lang/janet/distinfo +++ b/lang/janet/distinfo @@ -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 |