pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/janet janet: Update to 1.8.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/246e3d6912ad
branches:  trunk
changeset: 414534:246e3d6912ad
user:      nia <nia%pkgsrc.org@localhost>
date:      Mon Mar 30 09:22:21 2020 +0000

description:
janet: Update to 1.8.0

## 1.8.0 - 2020-03-29
- Add `reduce2`, `accumulate`, and `accumulate2`.
- Add lockfiles to `jpm` via `jpm make-lockfile` and `jpm load-lockfile`.
- Add `os/realpath` (Not supported on windows).
- Add `os/chmod`.
- Add `chr` macro.
- Allow `_` in the `match` macro to match anything without creating a binding
  or doing unification. Also change behavior of matching nil.
- Add `:range-to` and `:down-to` verbs in the `loop` macro.
- Fix `and` and `or` macros returning nil instead of false in some cases.
- Allow matching successfully against nil values in the `match` macro.
- Improve `janet_formatc` and `janet_panicf` formatters to be more like `string/format`.
  This makes it easier to make nice error messages from C.
- Add `signal`
- Add `fiber/can-resume?`
- Allow fiber functions to accept arguments that are passed in via `resume`.
- Make flychecking slightly less strict but more useful
- Correct arity for `next`
- Correct arity for `marshal`
- Add `flush` and `eflush`
- Add `prompt` and `return` on top of signal for user friendly delimited continuations.
- Fix bug in buffer/blit when using the offset-src argument.
- Fix segfault with malformed pegs.

diffstat:

 lang/janet/Makefile               |   4 +-
 lang/janet/distinfo               |  11 +++---
 lang/janet/patches/patch-Makefile |  64 ---------------------------------------
 3 files changed, 7 insertions(+), 72 deletions(-)

diffs (96 lines):

diff -r ae5135297e43 -r 246e3d6912ad lang/janet/Makefile
--- a/lang/janet/Makefile       Mon Mar 30 09:15:06 2020 +0000
+++ b/lang/janet/Makefile       Mon Mar 30 09:22:21 2020 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.2 2020/03/03 10:02:20 nia Exp $
+# $NetBSD: Makefile,v 1.3 2020/03/30 09:22:21 nia Exp $
 
-DISTNAME=      janet-1.7.0
+DISTNAME=      janet-1.8.0
 CATEGORIES=    lang
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=janet-lang/}
 GITHUB_TAG=    v${PKGVERSION_NOREV}
diff -r ae5135297e43 -r 246e3d6912ad lang/janet/distinfo
--- a/lang/janet/distinfo       Mon Mar 30 09:15:06 2020 +0000
+++ b/lang/janet/distinfo       Mon Mar 30 09:22:21 2020 +0000
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.2 2020/03/04 11:23:02 nia Exp $
+$NetBSD: distinfo,v 1.3 2020/03/30 09:22:21 nia Exp $
 
-SHA1 (janet-1.7.0.tar.gz) = 53413dd922e153dba02b91ad81c90c51ec6b86e6
-RMD160 (janet-1.7.0.tar.gz) = 403ae429dfff85657b4bd430cd66976225e2d9bd
-SHA512 (janet-1.7.0.tar.gz) = c180172f3016d1ca55ac39f2116789027bf622f08f585bf702b17acadd99d07bf91320e09ce21be76c3a1e60d1a8923591d0e07acc90884dac823a2c414f65e7
-Size (janet-1.7.0.tar.gz) = 968936 bytes
-SHA1 (patch-Makefile) = cde86d7b5b0e96967a6192da1dbcadda02bb7b4a
+SHA1 (janet-1.8.0.tar.gz) = 8efd14e97941437a0360aab555b0f53224988c17
+RMD160 (janet-1.8.0.tar.gz) = 4c60ecb0517df4bca83a664fba9b5d9758d50d84
+SHA512 (janet-1.8.0.tar.gz) = 3fb52fbe386dfcd24515a3b1ef1aa82ce2afae16bb723264e2f7721d643d60376540207789017740a7ba2a92220dcb2c030fc976ec973b150889123faf97af0c
+Size (janet-1.8.0.tar.gz) = 977758 bytes
diff -r ae5135297e43 -r 246e3d6912ad lang/janet/patches/patch-Makefile
--- a/lang/janet/patches/patch-Makefile Mon Mar 30 09:15:06 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,64 +0,0 @@
-$NetBSD: patch-Makefile,v 1.2 2020/03/04 11:23:02 nia Exp $
-
-DESTDIR support
-
-https://github.com/janet-lang/janet/issues/240
-
---- Makefile.orig      2020-02-02 05:35:17.000000000 +0000
-+++ Makefile
-@@ -246,32 +246,32 @@ build/janet.pc: $(JANET_TARGET)
-       echo 'Libs.private: $(CLIBS)' >> $@
- 
- install: $(JANET_TARGET) build/janet.pc
--      mkdir -p '$(BINDIR)'
--      cp $(JANET_TARGET) '$(BINDIR)/janet'
--      mkdir -p '$(INCLUDEDIR)/janet'
--      cp -rf $(JANET_HEADERS) '$(INCLUDEDIR)/janet'
--      mkdir -p '$(JANET_PATH)'
--      mkdir -p '$(LIBDIR)'
--      cp $(JANET_LIBRARY) '$(LIBDIR)/libjanet.so.$(shell $(JANET_TARGET) -e '(print janet/version)')'
--      cp $(JANET_STATIC_LIBRARY) '$(LIBDIR)/libjanet.a'
--      ln -sf $(SONAME) '$(LIBDIR)/libjanet.so'
--      ln -sf libjanet.so.$(shell $(JANET_TARGET) -e '(print janet/version)') $(LIBDIR)/$(SONAME)
--      cp -rf auxbin/* '$(BINDIR)'
--      mkdir -p '$(MANPATH)'
--      cp janet.1 '$(MANPATH)'
--      cp jpm.1 '$(MANPATH)'
--      mkdir -p '$(PKG_CONFIG_PATH)'
--      cp build/janet.pc '$(PKG_CONFIG_PATH)/janet.pc'
-+      mkdir -p '$(DESTDIR)$(BINDIR)'
-+      cp $(JANET_TARGET) '$(DESTDIR)$(BINDIR)/janet'
-+      mkdir -p '$(DESTDIR)$(INCLUDEDIR)/janet'
-+      cp -rf $(JANET_HEADERS) '$(DESTDIR)$(INCLUDEDIR)/janet'
-+      mkdir -p '$(DESTDIR)$(JANET_PATH)'
-+      mkdir -p '$(DESTDIR)$(LIBDIR)'
-+      cp $(JANET_LIBRARY) '$(DESTDIR)$(LIBDIR)/libjanet.so.$(shell $(JANET_TARGET) -e '(print janet/version)')'
-+      cp $(JANET_STATIC_LIBRARY) '$(DESTDIR)$(LIBDIR)/libjanet.a'
-+      ln -sf $(SONAME) '$(DESTDIR)$(LIBDIR)/libjanet.so'
-+      ln -sf libjanet.so.$(shell $(JANET_TARGET) -e '(print janet/version)') $(DESTDIR)$(LIBDIR)/$(SONAME)
-+      cp -rf auxbin/* '$(DESTDIR)$(BINDIR)'
-+      mkdir -p '$(DESTDIR)$(MANPATH)'
-+      cp janet.1 '$(DESTDIR)$(MANPATH)'
-+      cp jpm.1 '$(DESTDIR)$(MANPATH)'
-+      mkdir -p '$(DESTDIR)$(PKG_CONFIG_PATH)'
-+      cp build/janet.pc '$(DESTDIR)$(PKG_CONFIG_PATH)/janet.pc'
-       -$(LDCONFIG)
- 
- uninstall:
--      -rm '$(BINDIR)/janet'
--      -rm '$(BINDIR)/jpm'
--      -rm -rf '$(INCLUDEDIR)/janet'
--      -rm -rf '$(LIBDIR)'/libjanet.*
--      -rm '$(PKG_CONFIG_PATH)/janet.pc'
--      -rm '$(MANPATH)/janet.1'
--      -rm '$(MANPATH)/jpm.1'
-+      -rm '$(DESTDIR)$(BINDIR)/janet'
-+      -rm '$(DESTDIR)$(BINDIR)/jpm'
-+      -rm -rf '$(DESTDIR)$(INCLUDEDIR)/janet'
-+      -rm -rf '$(DESTDIR)$(LIBDIR)'/libjanet.*
-+      -rm '$(DESTDIR)$(PKG_CONFIG_PATH)/janet.pc'
-+      -rm '$(DESTDIR)$(MANPATH)/janet.1'
-+      -rm '$(DESTDIR)$(MANPATH)/jpm.1'
-       # -rm -rf '$(JANET_PATH)'/* - err on the side of correctness here
- 
- #################



Home | Main Index | Thread Index | Old Index