pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/lua-penlight lua-penlight: Update to 1.9.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/12f5d24c1cbd
branches:  trunk
changeset: 442359:12f5d24c1cbd
user:      nia <nia%pkgsrc.org@localhost>
date:      Mon Nov 23 20:06:46 2020 +0000

description:
lua-penlight: Update to 1.9.1

## 1.9.1 (2020-09-27)

 - fix: dir.walk [#350](https://github.com/lunarmodules/Penlight/pull/350)


## 1.9.1 (2020-09-24)

 - released to superseed the 1.9.0 version which was retagged in git after some
   distro's already had picked it up. This version is identical to 1.8.1.

## 1.8.1 (2020-09-24) (replacing a briefly released but broken 1.9.0 version)

## Fixes

  - In `pl.class`, `_init` can now be inherited from grandparent (or older ancestor) classes. [#289](https://github.com/lunarmodules/Penlight/pull/289)
  - Fixes `dir`, `lexer`, and `permute` to no longer use coroutines. [#344](https://github.com/lunarmodules/Penlight/pull/344)

## 1.8.0 (2020-08-05)

### New features

  - `pretty.debug` quickly dumps a set of values to stdout for debug purposes

### Changes

  - `pretty.write`: now also sorts non-string keys [#319](https://github.com/lunarmodules/Penlight/pull/319)
  - `stringx.count` has an extra option to allow overlapping matches
    [#326](https://github.com/lunarmodules/Penlight/pull/326)
  - added an extra changelog entry for `types.is_empty` on the 1.6.0 changelog, due
    to additional fixed behaviour not called out appropriately [#313](https://github.com/lunarmodules/Penlight/pull/313)
  - `path.packagepath` now returns a proper error message with names tried if
    it fails

### Fixes

  - Fix: `stringx.rfind` now properly works with overlapping matches
    [#314](https://github.com/lunarmodules/Penlight/pull/314)
  - Fix: `package.searchpath` (in module `pl.compat`)
    [#328](https://github.com/lunarmodules/Penlight/pull/328)
  - Fix: `path.isabs` now reports drive + relative-path as `false`, eg. "c:some/path" (Windows only)
  - Fix: OpenResty coroutines, used by `dir.dirtree`, `pl.lexer`, `pl.permute`. If
    available the original coroutine functions are now used [#329](https://github.com/lunarmodules/Penlight/pull/329)
  - Fix: in `pl.strict` also predefine global `_PROMPT2`
  - Fix: in `pl.strict` apply `tostring` to the given name, in case it is not a string.
  - Fix: the lexer would not recognize numbers without leading zero; "-.123".
    See [#315](https://github.com/lunarmodules/Penlight/issues/315)

diffstat:

 devel/lua-penlight/Makefile |  16 +++++++++-------
 devel/lua-penlight/distinfo |  10 +++++-----
 2 files changed, 14 insertions(+), 12 deletions(-)

diffs (61 lines):

diff -r c1ee74ec48d7 -r 12f5d24c1cbd devel/lua-penlight/Makefile
--- a/devel/lua-penlight/Makefile       Mon Nov 23 19:56:29 2020 +0000
+++ b/devel/lua-penlight/Makefile       Mon Nov 23 20:06:46 2020 +0000
@@ -1,19 +1,18 @@
-# $NetBSD: Makefile,v 1.16 2020/07/02 10:26:17 nia Exp $
+# $NetBSD: Makefile,v 1.17 2020/11/23 20:06:46 nia Exp $
 #
 
-DISTNAME=      penlight-${PL_VERSION}
-PKGNAME=       ${DISTNAME:S/penlight/${LUA_PKGPREFIX}-penlight/}
+DISTNAME=      penlight-1.9.2
+PKGNAME=       ${LUA_PKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel lua
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=stevedonovan/}
-GITHUB_TAG=    ${PKGVERSION}
-GITHUB_PROJECT=        ${DISTNAME:S/-${PKGVERSION}//}
+GITHUB_TAG=    ${PKGVERSION_NOREV}
+GITHUB_PROJECT=        Penlight
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      https://stevedonovan.github.com/Penlight/
 COMMENT=       Lua libraries for functional programming, OS path management, etc
 LICENSE=       mit
 
-PL_VERSION=    1.7.0
 DIST_SUBDIR=   lua-penlight
 
 NO_BUILD=      yes
@@ -21,7 +20,7 @@
 
 DEPENDS+=      ${LUA_PKGPREFIX}-filesystem-[0-9]*:../../devel/lua-filesystem
 
-WRKSRC=                        ${WRKDIR}/Penlight-${PL_VERSION}
+WRKSRC=                        ${WRKDIR}/Penlight-${PKGVERSION_NOREV}
 INSTALLATION_DIRS+=    ${LUA_LDIR}
 
 # XXX Generate documentation with Markdown.
@@ -29,5 +28,8 @@
        cd ${WRKSRC}/lua && find pl ! -type d | \
            pax -rw ${DESTDIR}${PREFIX}/${LUA_LDIR}
 
+do-test:
+       cd ${WRKSRC} && ${LUA_INTERPRETER} run.lua tests
+
 .include "../../lang/lua/module.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r c1ee74ec48d7 -r 12f5d24c1cbd devel/lua-penlight/distinfo
--- a/devel/lua-penlight/distinfo       Mon Nov 23 19:56:29 2020 +0000
+++ b/devel/lua-penlight/distinfo       Mon Nov 23 20:06:46 2020 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.11 2020/02/15 05:50:37 mef Exp $
+$NetBSD: distinfo,v 1.12 2020/11/23 20:06:46 nia Exp $
 
-SHA1 (lua-penlight/penlight-1.7.0.tar.gz) = c9b1d1cdba4911438657dbc2a94c0bf08751bdd7
-RMD160 (lua-penlight/penlight-1.7.0.tar.gz) = 5950e563a47a91ed81ccfe9224f1b09ec207e1d5
-SHA512 (lua-penlight/penlight-1.7.0.tar.gz) = edeb09307c9feb5da6bccd82216a6ad71db988c433245d72d28abb6c555004f77eebba556928b0912937b29ef93e065ad491368041e17730610813de8e595d7d
-Size (lua-penlight/penlight-1.7.0.tar.gz) = 384917 bytes
+SHA1 (lua-penlight/penlight-1.9.2.tar.gz) = 04d6e6636bc17aa069223652ff7c330f36858ce4
+RMD160 (lua-penlight/penlight-1.9.2.tar.gz) = 1d783a4c8a766e3b7e4d4fdc0ec1389f890248b8
+SHA512 (lua-penlight/penlight-1.9.2.tar.gz) = 8df26e74f73ccf6dc73546640e1537b63e40357072855f9409e96b2ef8251c25b4653456d1237d5142573618af242e885490aa9750dffb387e4670ed9f3cfa91
+Size (lua-penlight/penlight-1.9.2.tar.gz) = 396248 bytes



Home | Main Index | Thread Index | Old Index