pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang janet: update to 1.18.1. jpm is now a separate pa...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/18ab906f0e6e
branches:  trunk
changeset: 768939:18ab906f0e6e
user:      nia <nia%pkgsrc.org@localhost>
date:      Thu Nov 04 13:52:23 2021 +0000

description:
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:

 lang/janet/Makefile |   4 ++--
 lang/janet/PLIST    |   6 ++----
 lang/janet/distinfo |   8 ++++----
 lang/jpm/DESCR      |   2 ++
 lang/jpm/Makefile   |  24 ++++++++++++++++++++++++
 lang/jpm/PLIST      |  16 ++++++++++++++++
 lang/jpm/distinfo   |   5 +++++
 7 files changed, 55 insertions(+), 10 deletions(-)

diffs (106 lines):

diff -r 754bd5d8a4a1 -r 18ab906f0e6e lang/janet/Makefile
--- a/lang/janet/Makefile       Thu Nov 04 13:50:30 2021 +0000
+++ b/lang/janet/Makefile       Thu Nov 04 13:52:23 2021 +0000
@@ -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 -r 754bd5d8a4a1 -r 18ab906f0e6e lang/janet/PLIST
--- a/lang/janet/PLIST  Thu Nov 04 13:50:30 2021 +0000
+++ b/lang/janet/PLIST  Thu Nov 04 13:52:23 2021 +0000
@@ -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 -r 754bd5d8a4a1 -r 18ab906f0e6e lang/janet/distinfo
--- a/lang/janet/distinfo       Thu Nov 04 13:50:30 2021 +0000
+++ b/lang/janet/distinfo       Thu Nov 04 13:52:23 2021 +0000
@@ -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 -r 754bd5d8a4a1 -r 18ab906f0e6e lang/jpm/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/jpm/DESCR    Thu Nov 04 13:52:23 2021 +0000
@@ -0,0 +1,2 @@
+JPM is the Janet Project Manager tool. It is for automating builds and
+downloading dependencies of Janet projects.
diff -r 754bd5d8a4a1 -r 18ab906f0e6e lang/jpm/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/jpm/Makefile Thu Nov 04 13:52:23 2021 +0000
@@ -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@localhost
+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 -r 754bd5d8a4a1 -r 18ab906f0e6e lang/jpm/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/jpm/PLIST    Thu Nov 04 13:52:23 2021 +0000
@@ -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 -r 754bd5d8a4a1 -r 18ab906f0e6e lang/jpm/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/jpm/distinfo Thu Nov 04 13:52:23 2021 +0000
@@ -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



Home | Main Index | Thread Index | Old Index