pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang



Module Name:    pkgsrc
Committed By:   nia
Date:           Thu Nov  4 13:52:23 UTC 2021

Modified Files:
        pkgsrc/lang/janet: Makefile PLIST distinfo
Added Files:
        pkgsrc/lang/jpm: DESCR Makefile PLIST distinfo

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 pkgsrc/lang/janet/Makefile
cvs rdiff -u -r1.9 -r1.10 pkgsrc/lang/janet/PLIST
cvs rdiff -u -r1.18 -r1.19 pkgsrc/lang/janet/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/lang/jpm/DESCR pkgsrc/lang/jpm/Makefile \
    pkgsrc/lang/jpm/PLIST pkgsrc/lang/jpm/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/janet/Makefile
diff -u pkgsrc/lang/janet/Makefile:1.17 pkgsrc/lang/janet/Makefile:1.18
--- pkgsrc/lang/janet/Makefile:1.17     Tue Aug 10 11:56:16 2021
+++ pkgsrc/lang/janet/Makefile  Thu Nov  4 13:52:23 2021
@@ -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}

Index: pkgsrc/lang/janet/PLIST
diff -u pkgsrc/lang/janet/PLIST:1.9 pkgsrc/lang/janet/PLIST:1.10
--- pkgsrc/lang/janet/PLIST:1.9 Sun Jun  6 13:45:58 2021
+++ pkgsrc/lang/janet/PLIST     Thu Nov  4 13:52:23 2021
@@ -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

Index: pkgsrc/lang/janet/distinfo
diff -u pkgsrc/lang/janet/distinfo:1.18 pkgsrc/lang/janet/distinfo:1.19
--- pkgsrc/lang/janet/distinfo:1.18     Tue Oct 26 10:51:39 2021
+++ pkgsrc/lang/janet/distinfo  Thu Nov  4 13:52:23 2021
@@ -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

Added files:

Index: pkgsrc/lang/jpm/DESCR
diff -u /dev/null pkgsrc/lang/jpm/DESCR:1.1
--- /dev/null   Thu Nov  4 13:52:23 2021
+++ pkgsrc/lang/jpm/DESCR       Thu Nov  4 13:52:23 2021
@@ -0,0 +1,2 @@
+JPM is the Janet Project Manager tool. It is for automating builds and
+downloading dependencies of Janet projects.
Index: pkgsrc/lang/jpm/Makefile
diff -u /dev/null pkgsrc/lang/jpm/Makefile:1.1
--- /dev/null   Thu Nov  4 13:52:23 2021
+++ pkgsrc/lang/jpm/Makefile    Thu Nov  4 13:52:23 2021
@@ -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"
Index: pkgsrc/lang/jpm/PLIST
diff -u /dev/null pkgsrc/lang/jpm/PLIST:1.1
--- /dev/null   Thu Nov  4 13:52:23 2021
+++ pkgsrc/lang/jpm/PLIST       Thu Nov  4 13:52:23 2021
@@ -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
Index: pkgsrc/lang/jpm/distinfo
diff -u /dev/null pkgsrc/lang/jpm/distinfo:1.1
--- /dev/null   Thu Nov  4 13:52:23 2021
+++ pkgsrc/lang/jpm/distinfo    Thu Nov  4 13:52:23 2021
@@ -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