Fri Dec 18 19:21:35 2020 UTC ()
janet: Update to 1.13.1

## 1.13.1 - 2020-12-13
- Pretty printing a table with a prototype will look for `:_name` instead of `:name`
  in the prototype table to tag the output.
- `match` macro implementation changed to be tail recursive.
- Adds a :preload loader which allows one to manually put things into `module/cache`.
- Add `buffer/push` function.
- Backtick delimited strings and buffers are now reindented based on the column of the
  opening delimiter. Whitespace in columns to the left of the starting column is ignored unless
  there are non-space/non-newline characters in that region, in which case the old behavior is preserved.
- Argument to `(error)` combinator in PEGs is now optional.
- Add `(line)` and `(column)` combinators to PEGs to capture source line and column.
  This should make error reporting a bit easier.
- Add `merge-module` to core.
- During installation and release, merge janetconf.h into janet.h for easier install.
- Add `upscope` special form.
- `os/execute` and `os/spawn` can take streams for redirecting IO.
- Add `:parser` and `:read` parameters to `run-context`.
- Add `os/open` if ev is enabled.
- Add `os/pipe` if ev is enabled.
- Add `janet_thread_current(void)` to C API
- Add integer parsing forms to pegs. This makes parsing many binary protocols easier.
- Lots of updates to networking code - now can use epoll (or poll) on linux and IOCP on windows.
- Add `ev/` module. This exposes a fiber scheduler, queues, timeouts, and other functionality to users
  for single threaded cooperative scheduling and asynchronous IO.
- Add `net/accept-loop` and `net/listen`. These functions break down `net/server` into it's essential parts
  and are more flexible. They also allow further improvements to these utility functions.
- Various small bug fixes.


(nia)
diff -r1.10 -r1.11 pkgsrc/lang/janet/Makefile
diff -r1.5 -r1.6 pkgsrc/lang/janet/PLIST
diff -r1.9 -r1.10 pkgsrc/lang/janet/distinfo

cvs diff -r1.10 -r1.11 pkgsrc/lang/janet/Makefile (expand / switch to unified diff)

--- pkgsrc/lang/janet/Makefile 2020/10/03 10:29:08 1.10
+++ pkgsrc/lang/janet/Makefile 2020/12/18 19:21:35 1.11
@@ -1,16 +1,16 @@ @@ -1,16 +1,16 @@
1# $NetBSD: Makefile,v 1.10 2020/10/03 10:29:08 nia Exp $ 1# $NetBSD: Makefile,v 1.11 2020/12/18 19:21:35 nia Exp $
2 2
3DISTNAME= janet-1.12.2 3DISTNAME= janet-1.13.1
4CATEGORIES= lang 4CATEGORIES= lang
5MASTER_SITES= ${MASTER_SITE_GITHUB:=janet-lang/} 5MASTER_SITES= ${MASTER_SITE_GITHUB:=janet-lang/}
6GITHUB_TAG= v${PKGVERSION_NOREV} 6GITHUB_TAG= v${PKGVERSION_NOREV}
7 7
8MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
9HOMEPAGE= https://janet-lang.org/ 9HOMEPAGE= https://janet-lang.org/
10COMMENT= Functional and imperative programming language 10COMMENT= Functional and imperative programming language
11LICENSE= mit 11LICENSE= mit
12 12
13USE_TOOLS+= gmake 13USE_TOOLS+= gmake
14USE_LANGUAGES= c99 14USE_LANGUAGES= c99
15 15
16BUILD_TARGET= all build/janet.pc 16BUILD_TARGET= all build/janet.pc

cvs diff -r1.5 -r1.6 pkgsrc/lang/janet/PLIST (expand / switch to unified diff)

--- pkgsrc/lang/janet/PLIST 2020/10/03 10:29:08 1.5
+++ pkgsrc/lang/janet/PLIST 2020/12/18 19:21:35 1.6
@@ -1,13 +1,12 @@ @@ -1,13 +1,12 @@
1@comment $NetBSD: PLIST,v 1.5 2020/10/03 10:29:08 nia Exp $ 1@comment $NetBSD: PLIST,v 1.6 2020/12/18 19:21:35 nia Exp $
2bin/janet 2bin/janet
3bin/jpm 3bin/jpm
4include/janet/janet.h 4include/janet/janet.h
5include/janet/janetconf.h 
6lib/libjanet.a 5lib/libjanet.a
7lib/libjanet.so 6lib/libjanet.so
8lib/libjanet.so.1.12 7lib/libjanet.so.1.13
9lib/libjanet.so.${PKGVERSION} 8lib/libjanet.so.${PKGVERSION}
10lib/pkgconfig/janet.pc 9lib/pkgconfig/janet.pc
11man/man1/janet.1 10man/man1/janet.1
12man/man1/jpm.1 11man/man1/jpm.1
13@pkgdir lib/janet 12@pkgdir lib/janet

cvs diff -r1.9 -r1.10 pkgsrc/lang/janet/distinfo (expand / switch to unified diff)

--- pkgsrc/lang/janet/distinfo 2020/10/03 10:29:08 1.9
+++ pkgsrc/lang/janet/distinfo 2020/12/18 19:21:35 1.10
@@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
1$NetBSD: distinfo,v 1.9 2020/10/03 10:29:08 nia Exp $ 1$NetBSD: distinfo,v 1.10 2020/12/18 19:21:35 nia Exp $
2 2
3SHA1 (janet-1.12.2.tar.gz) = d8cf2031581deaf7965ee4c6bd36c621b1bf95e4 3SHA1 (janet-1.13.1.tar.gz) = 20d8d93ee5308beb0ddc26808d7be54ca1abfac8
4RMD160 (janet-1.12.2.tar.gz) = 73df41954039dcc62b23ca9aa870cb74a0e7ab30 4RMD160 (janet-1.13.1.tar.gz) = 1deb7815edfffbf27c9a13f4bc9e2916d3262ac4
5SHA512 (janet-1.12.2.tar.gz) = bde3d516b0a1c55ad8edb2dc701a3afdb5e7c2bd028b132598d1a08796aca5f17f71dd2c760192a9703a07adb3450a7af6971611ae57005eafad1b741b0b69a6 5SHA512 (janet-1.13.1.tar.gz) = 8022ecbaf7680855611202a3c17b8e5f6dc61a9302508c9de5312dbd9e80d40c24786bb5e8ae653ab5a7b00191a2d7c44cc3e305d31245e3e8c53be0e1c80372
6Size (janet-1.12.2.tar.gz) = 558788 bytes 6Size (janet-1.13.1.tar.gz) = 584998 bytes