janet: Update to 1.11.1 ## 1.11.1 - 2020-07-25 - Fix jpm and git with multiple git installs on Windows - Fix importing a .so file in the current directory - Allow passing byte sequence types directly to typed-array constructors. - Fix bug sending files between threads. - Disable PRF by default. - Update the soname. ## 1.11.0 - 2020-07-18 - Add `forever` macro. - Add `any?` predicate to core. - Add `jpm list-pkgs` subcommand to see which package aliases are in the listing. - Add `jpm list-installed` subcommand to see which packages are installed. - Add `math/int-min`, `math/int-max`, `math/int32-min`, and `math/int32-max` for getting integer limits. - The gc interval is now autotuned, to prevent very bad gc behavior. - Improvements to the bytecode compiler, Janet will now generate more efficient bytecode. - Add `peg/find`, `peg/find-all`, `peg/replace`, and `peg/replace-all` - Add `math/nan` - Add `forv` macro - Add `symbol/slice` - Add `keyword/slice` - Allow cross compilation with Makefile. - Change `compare-primitve` to `cmp` and make it more efficient. - Add `reverse!` for reversing an array or buffer in place. - `janet_dobytes` and `janet_dostring` return parse errors in \*out - Add `repeat` macro for iterating something n times. - Add `eachy` (each yield) macro for iterating a fiber. - Fix `:generate` verb in loop macro to accept non symbols as bindings. - Add `:h`, `:h+`, and `:h*` in `default-peg-grammar` for hexidecimal digits. - Fix `%j` formatter to print numbers precisely (using the `%.17g` format string to printf).diff -r1.6 -r1.7 pkgsrc/lang/janet/Makefile
(nia)
@@ -1,34 +1,34 @@ | @@ -1,34 +1,34 @@ | |||
1 | # $NetBSD: Makefile,v 1.6 2020/06/19 13:26:11 nia Exp $ | 1 | # $NetBSD: Makefile,v 1.7 2020/07/26 22:47:24 nia Exp $ | |
2 | 2 | |||
3 | DISTNAME= janet-1.10.1 | 3 | DISTNAME= janet-1.11.1 | |
4 | CATEGORIES= lang | 4 | CATEGORIES= lang | |
5 | MASTER_SITES= ${MASTER_SITE_GITHUB:=janet-lang/} | 5 | MASTER_SITES= ${MASTER_SITE_GITHUB:=janet-lang/} | |
6 | GITHUB_TAG= v${PKGVERSION_NOREV} | 6 | GITHUB_TAG= v${PKGVERSION_NOREV} | |
7 | 7 | |||
8 | MAINTAINER= pkgsrc-users@NetBSD.org | 8 | MAINTAINER= pkgsrc-users@NetBSD.org | |
9 | HOMEPAGE= https://janet-lang.org/ | 9 | HOMEPAGE= https://janet-lang.org/ | |
10 | COMMENT= Functional and imperative programming language | 10 | COMMENT= Functional and imperative programming language | |
11 | LICENSE= mit | 11 | LICENSE= mit | |
12 | 12 | |||
13 | USE_TOOLS+= gmake | 13 | USE_TOOLS+= gmake | |
14 | USE_LANGUAGES= c99 | 14 | USE_LANGUAGES= c99 | |
15 | 15 | |||
16 | BUILD_TARGET= all build/janet.pc | 16 | BUILD_TARGET= all build/janet.pc | |
17 | TEST_TARGET= test | 17 | TEST_TARGET= test | |
18 | 18 | |||
19 | MAKE_FLAGS+= PREFIX=${PREFIX} | 19 | MAKE_FLAGS+= PREFIX=${PREFIX} | |
20 | MAKE_FLAGS+= MANPATH=${PREFIX}/${PKGMANDIR}/man1 | 20 | MAKE_FLAGS+= JANET_MANPATH=${PREFIX}/${PKGMANDIR}/man1 | |
21 | MAKE_FLAGS+= PKG_CONFIG_PATH=${PREFIX}/lib/pkgconfig | 21 | MAKE_FLAGS+= JANET_PKG_CONFIG_PATH=${PREFIX}/lib/pkgconfig | |
22 | MAKE_FLAGS+= JANET_BUILD='"\"pkgsrc\""' | 22 | MAKE_FLAGS+= JANET_BUILD='"\"pkgsrc\""' | |
23 | 23 | |||
24 | CFLAGS.NetBSD+= -D_NETBSD_SOURCE | 24 | CFLAGS.NetBSD+= -D_NETBSD_SOURCE | |
25 | 25 | |||
26 | REPLACE_INTERPRETER+= janet | 26 | REPLACE_INTERPRETER+= janet | |
27 | REPLACE.janet.old= .* | 27 | REPLACE.janet.old= .* | |
28 | REPLACE.janet.new= ${PREFIX}/bin/janet | 28 | REPLACE.janet.new= ${PREFIX}/bin/janet | |
29 | REPLACE_FILES.janet= jpm | 29 | REPLACE_FILES.janet= jpm | |
30 | 30 | |||
31 | PKGCONFIG_OVERRIDE_STAGE= pre-install | 31 | PKGCONFIG_OVERRIDE_STAGE= pre-install | |
32 | PKGCONFIG_OVERRIDE+= build/janet.pc | 32 | PKGCONFIG_OVERRIDE+= build/janet.pc | |
33 | 33 | |||
34 | .include "../../mk/bsd.pkg.mk" | 34 | .include "../../mk/bsd.pkg.mk" |
@@ -1,6 +1,7 @@ | @@ -1,6 +1,7 @@ | |||
1 | $NetBSD: distinfo,v 1.6 2020/06/19 13:26:11 nia Exp $ | 1 | $NetBSD: distinfo,v 1.7 2020/07/26 22:47:24 nia Exp $ | |
2 | 2 | |||
3 | SHA1 (janet-1.10.1.tar.gz) = 427617d70e76d4c91f53c951e12edc0f36e31831 | 3 | SHA1 (janet-1.11.1.tar.gz) = 2074768ebd30b9e177eb1891f5b94948500b6876 | |
4 | RMD160 (janet-1.10.1.tar.gz) = 0e1548afb3fbd1b01807b6024505ac6b96e49c48 | 4 | RMD160 (janet-1.11.1.tar.gz) = f10fbf0a9e1130c2953cb5a620d2ec0062444749 | |
5 | SHA512 (janet-1.10.1.tar.gz) = b1253372895206be22c0ade058a77884da8b185e0ee175075258e33ce7ccd314a1cccd332c0a5ac78cb02b657f9395b4894288a23546f6d2562068d5b18bd812 | 5 | SHA512 (janet-1.11.1.tar.gz) = 75508255bce1b3b9af30fb6de14f8dbfaf5774838e5e400a97112100e2ae6b1dfb870cf95860a7d7b500385e8e7f585e3032492cac88fa7b356443314dc7a45a | |
6 | Size (janet-1.10.1.tar.gz) = 543839 bytes | 6 | Size (janet-1.11.1.tar.gz) = 550495 bytes | |
7 | SHA1 (patch-Makefile) = 06954de0eb52a2313ee2e80bb1590be4f9a11488 |
@@ -1,13 +1,13 @@ | @@ -1,13 +1,13 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.3 2020/06/19 13:26:11 nia Exp $ | 1 | @comment $NetBSD: PLIST,v 1.4 2020/07/26 22:47:24 nia Exp $ | |
2 | bin/janet | 2 | bin/janet | |
3 | bin/jpm | 3 | bin/jpm | |
4 | include/janet/janet.h | 4 | include/janet/janet.h | |
5 | include/janet/janetconf.h | 5 | include/janet/janetconf.h | |
6 | lib/libjanet.a | 6 | lib/libjanet.a | |
7 | lib/libjanet.so | 7 | lib/libjanet.so | |
8 | lib/libjanet.so.1.10 | 8 | lib/libjanet.so.1.11 | |
9 | lib/libjanet.so.${PKGVERSION} | 9 | lib/libjanet.so.${PKGVERSION} | |
10 | lib/pkgconfig/janet.pc | 10 | lib/pkgconfig/janet.pc | |
11 | man/man1/janet.1 | 11 | man/man1/janet.1 | |
12 | man/man1/jpm.1 | 12 | man/man1/jpm.1 | |
13 | @pkgdir lib/janet | 13 | @pkgdir lib/janet |