diff options
author | nia <nia@pkgsrc.org> | 2021-11-04 13:52:23 +0000 |
---|---|---|
committer | nia <nia@pkgsrc.org> | 2021-11-04 13:52:23 +0000 |
commit | 22dbdad79658f2324ddac944dcb4d0f85f1ab162 (patch) | |
tree | a4e821bd52577ea7eba46282f9ec1d640c11f847 /lang | |
parent | 41d4bf0fcab88bfeb482e24b0a711fd754e7f153 (diff) | |
download | pkgsrc-22dbdad79658f2324ddac944dcb4d0f85f1ab162.tar.gz |
janet: update to 1.18.1. jpm is now a separate package.
## 1.18.1 - 2021-10-16
- Fix some documentation typos
- Fix - Set pipes passed to subprocess to blocking mode.
- Fix `-r` switch in repl.
## 1.18.0 - 2021-10-10
- Allow `ev/cancel` to work on already scheduled fibers.
- Fix bugs with ev/ module.
- Add optional `base` argument to scan-number
- Add `-i` flag to janet binary to make it easier to run image files from the command line
- Remove `thread/` module.
- Add `(number ...)` pattern to peg for more efficient number parsing using Janet's
scan-number function without immediate string creation.
## 1.17.2 - 2021-09-18
- Remove include of windows.h from janet.h. This caused issues on certain projects.
- Fix formatting in doc-format to better handle special characters in signatures.
- Fix some marshalling bugs.
- Add optional Makefile target to install jpm as well.
- Supervisor channels in threads will no longer include a wasteful copy of the fiber in every
message across a thread.
- Allow passing a closure to `ev/thread` as well as a whole fiber.
- Allow passing a closure directly to `ev/go` to spawn fibers on the event loop.
## 1.17.1 - 2021-08-29
- Fix docstring typos
- Add `make install-jpm-git` to make jpm co-install simpler if using the Makefile.
- Fix bugs with starting ev/threads and fiber marshaling.
## 1.17.0 - 2021-08-21
- Add the `-E` flag for one-liners with the `short-fn` syntax for argument passing.
- Add support for threaded abstract types. Threaded abstract types can easily be shared between threads.
- Deprecate the `thread` library. Use threaded channels and ev instead.
- Channels can now be marshalled.
- Add the ability to close channels with `ev/chan-close` (or `:close`).
- Add threaded channels with `ev/thread-chan`.
- Add `JANET_FN` and `JANET_REG` macros to more easily define C functions that export their source mapping information.
- Add `janet_interpreter_interupt` and `janet_loop1_interrupt` to interrupt the interpreter while running.
- Add `table/clear`
- Add build option to disable the threading library without disabling all threads.
- Remove JPM from the main Janet distribution. Instead, JPM must be installed
separately like any other package.
- Fix issue with `ev/go` when called with an initial value and supervisor.
- Add the C API functions `janet_vm_save` and `janet_vm_load` to allow
saving and restoring the entire VM state.
Diffstat (limited to 'lang')
-rw-r--r-- | lang/janet/Makefile | 4 | ||||
-rw-r--r-- | lang/janet/PLIST | 6 | ||||
-rw-r--r-- | lang/janet/distinfo | 8 | ||||
-rw-r--r-- | lang/jpm/DESCR | 2 | ||||
-rw-r--r-- | lang/jpm/Makefile | 24 | ||||
-rw-r--r-- | lang/jpm/PLIST | 16 | ||||
-rw-r--r-- | lang/jpm/distinfo | 5 |
7 files changed, 55 insertions, 10 deletions
diff --git a/lang/janet/Makefile b/lang/janet/Makefile index 1101e3ef299..172fea5c121 100644 --- a/lang/janet/Makefile +++ b/lang/janet/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.17 2021/08/10 11:56:16 nia Exp $ +# $NetBSD: Makefile,v 1.18 2021/11/04 13:52:23 nia Exp $ -DISTNAME= janet-1.16.1 +DISTNAME= janet-1.18.1 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 a6ed423385d..c8ef73c5088 100644 --- a/lang/janet/PLIST +++ b/lang/janet/PLIST @@ -1,12 +1,10 @@ -@comment $NetBSD: PLIST,v 1.9 2021/06/06 13:45:58 nia Exp $ +@comment $NetBSD: PLIST,v 1.10 2021/11/04 13:52:23 nia Exp $ bin/janet -bin/jpm include/janet/janet.h lib/libjanet.a lib/libjanet.so -lib/libjanet.so.1.16 +lib/libjanet.so.1.18 lib/libjanet.so.${PKGVERSION} lib/pkgconfig/janet.pc man/man1/janet.1 -man/man1/jpm.1 @pkgdir lib/janet diff --git a/lang/janet/distinfo b/lang/janet/distinfo index 4b57e5586b3..a8c7052617b 100644 --- a/lang/janet/distinfo +++ b/lang/janet/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.18 2021/10/26 10:51:39 nia Exp $ +$NetBSD: distinfo,v 1.19 2021/11/04 13:52:23 nia Exp $ -BLAKE2s (janet-1.16.1.tar.gz) = ace4bd6ac62a70247ac7791ddecc552ede168be9c0b105bcfbdd16aff22f3e8a -SHA512 (janet-1.16.1.tar.gz) = f4be0703676acad8896e41b46d79c4f6d99990c487028f1fd1abd681f756db119a06a5d6a0653b9301afcd62f45d6f1bb7876b9613c0ea28d7199e310a52895d -Size (janet-1.16.1.tar.gz) = 493490 bytes +BLAKE2s (janet-1.18.1.tar.gz) = 31108592043c23163fc75ab14644d29a8c7c0da182fb239b8935849bbaae1bc2 +SHA512 (janet-1.18.1.tar.gz) = ec7382a902530a6669460fdff3d18e313b9fd5a74689f35f1aff6e03cec468f069771f784a6bcf768089e952481e94a6ee472d08cb28a99b0c39c1bd6ff19a6b +Size (janet-1.18.1.tar.gz) = 483123 bytes diff --git a/lang/jpm/DESCR b/lang/jpm/DESCR new file mode 100644 index 00000000000..f307f63a218 --- /dev/null +++ b/lang/jpm/DESCR @@ -0,0 +1,2 @@ +JPM is the Janet Project Manager tool. It is for automating builds and +downloading dependencies of Janet projects. diff --git a/lang/jpm/Makefile b/lang/jpm/Makefile new file mode 100644 index 00000000000..15abd06f75c --- /dev/null +++ b/lang/jpm/Makefile @@ -0,0 +1,24 @@ +# $NetBSD: Makefile,v 1.1 2021/11/04 13:52:23 nia Exp $ + +DISTNAME= jpm-0.0.1 +CATEGORIES= lang +MASTER_SITES= ${MASTER_SITE_GITHUB:=janet-lang/} + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= https://github.com/janet-lang/jpm +COMMENT= Janet Project Manager +LICENSE= mit + +USE_LANGUAGES= # none + +TOOL_DEPENDS+= janet-[0-9]*:../../lang/janet + +NO_BUILD= yes + +do-install: + cd ${WRKSRC} && DESTDIR=${DESTDIR} \ + PREFIX=${PREFIX} \ + JANET_MANPATH=${PREFIX}/${PKGMANDIR}/man1 \ + ${PREFIX}/bin/janet bootstrap.janet + +.include "../../mk/bsd.pkg.mk" diff --git a/lang/jpm/PLIST b/lang/jpm/PLIST new file mode 100644 index 00000000000..a2da81fa84f --- /dev/null +++ b/lang/jpm/PLIST @@ -0,0 +1,16 @@ +@comment $NetBSD: PLIST,v 1.1 2021/11/04 13:52:23 nia Exp $ +bin/jpm +lib/janet/.manifests/jpm.jdn +lib/janet/jpm/cc.janet +lib/janet/jpm/cgen.janet +lib/janet/jpm/cli.janet +lib/janet/jpm/commands.janet +lib/janet/jpm/config.janet +lib/janet/jpm/dagbuild.janet +lib/janet/jpm/declare.janet +lib/janet/jpm/default-config.janet +lib/janet/jpm/init.janet +lib/janet/jpm/pm.janet +lib/janet/jpm/rules.janet +lib/janet/jpm/shutil.janet +man/man1/jpm.1 diff --git a/lang/jpm/distinfo b/lang/jpm/distinfo new file mode 100644 index 00000000000..aff6afe6289 --- /dev/null +++ b/lang/jpm/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1 2021/11/04 13:52:23 nia Exp $ + +BLAKE2s (jpm-0.0.1.tar.gz) = 1f237a8e842e0723d81efa6d6da30504ef376019fbae6c4a3ecf896b897eae72 +SHA512 (jpm-0.0.1.tar.gz) = 571bd00ab8c31fa792da61816f8e57490b8adbe246ec6a98d4f7ce6d280cceda08e3ae7bced286e3660fa9e99264b24c6d89d5443dfc9f1f0635a3e20f66763c +Size (jpm-0.0.1.tar.gz) = 32930 bytes |