summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authoralnsn <alnsn>2017-04-27 21:52:09 +0000
committeralnsn <alnsn>2017-04-27 21:52:09 +0000
commited319713e12bd7c94f51a01f2f11417a642aecc1 (patch)
treeb1fe1d9119f36c586c8d2dea0679d4b8badb3350 /devel
parentb4c88c5d266c94cd44ed34ab9f2003ec64d4e6bb (diff)
downloadpkgsrc-ed319713e12bd7c94f51a01f2f11417a642aecc1.tar.gz
Update devel/lua-penlight to 1.5.2.
Changes between 1.5.2 and 1.4.1: lapp: print left in code issue #228: bug in file matching for dir.getfiles issue #243 broken lapp default: little fix to c222e422274c testclone example assumed global lfs update changes and version number issue #226: can use either = or : to separate flag/value issue #241: little hack to handle no-trailing-comment case Merge pull request #193 from jvprat/class_tostring Setup __tostring on class creation instead of per instance. Merge pull request #240 from urzds/fix/lapp-convert-defaults lapp: Convert default values using the associated converter function Merge pull request #242 from tjachmann/workaround-for-pretty.load-error Workaround for error in pretty.load with a C hook pretty.load errors out, if a C hook function is installed (Lua 5.1). Reason: debug.gethook() returns a string as first return value in this case. Then debug.sethook complains about the first argument being a string not a function. lapp: Convert default values using the associated converter function Also uses quite some hack to catch errors during conversion of default values. This prevents the application from quitting, if the value provided as default would be invalid in the current context, while the value provided on the command line is valid. Also handles -h and --help early, before parsing command line arguments Otherwise it would be impossible to show the help, if conversion of the default value of some argument fails. Merge pull request #239 from kulla/rename-arg-pattern dir.lua: Rename arg "pattern" to "shell_pattern" Fix a test to pass under LuaJIT with Lua 5.2 compat Merge pull request #237 from Tieske/fix/execute fix os.execute Merge branch 'master' of https://github.com/stevedonovan/Penlight into fix/execute fix os.execute to return proper results when LuaJIT is being used with 52 compatibility enabled Tweak local declaration in pl.compat Avoid duplicated variable. Fix a typo in pl.seq docs [ci skip] Merge pull request #233 from greatwolf/seq_coverage Added more test coverage for pl.seq Added test for seq.printall. Minor refactor of existing test. Added missing test case for equal_to and random. Added tests for seq.random, minmax, enum and copy_tuples. seq coverage Merge pull request #231 from greatwolf/bugfix_refactor Redid PR #230 as a separate branch. Added more tests for seq.reduce. Fixed seq.reduce to handle empty case. Allow passing initial value when calling reduce through seq object. naming consistency. redundant checks. Update version number in docs Fix typos in pl.lapp docs Added tests for seq.take. Just use n as counter. Added tests for seq.skip. Fixed bug when skipping past list. More concise code. Initial value argument for `tablex.reduce` is going to be added in 1.5.0, not 1.3.2 Merge pull request #213 from gpleiss/reduce-memo tablex.reduce can take an optional initial memo tablex.reduce can take an optional initial memo Add "in progress" changes [ci skip] Merge pull request #221 from mpeterv/fix-stringx-splitlines Fix stringx.splitlines Fix coverage reporting on travis Tests are now run from project root. pl.seq() constructor can take an iterator which returns a function _and_ an object issue #226 lapp respects ':' as well as '=' Merge pull request #225 from kulla/dir-some-fixes Little fixes in dir.lua dir.lua: Replace tab with whitespace in docstring. The tab characters create a strange format in documentatio (cf. https://stevedonovan.github.io/Penlight/api/libraries/pl.dir.html#getallfiles ) dir.lua: Remove file execution permission. Merge pull request #224 from kulla/utils-doctring-fix Fix usage example of string_lambda(). utils.lua: Fix usage example of string_lambda(). Update docs for template.substitute Merge pull request #222 from urzds/feature/template-customisable-filename pl.template: Support customising the chunk "filename" (default: TMP) pl.template: Support customising the chunk name (default: "TMP") This can be used to aid debugging, e.g. when the template resides in an actual file. Fix handling of __index returning false in pl.strict Ref #223. Add a test for tablex.count_map Merge pull request #214 from urzds/feat/customisable-inline-escape pl.template: Support customising the inline escape character (default… pl.data: faster delimiter guessing Don't count occurrences of potential delims, just use string.find. Fix error in tablex.count_map Regression introduced in @6123f9e. Remove unused localizations, update dependency lists Don't use globals in 'pl.data' tests Fix stringx.splitlines Make stringx.splitlines more compliant with its Python analogue: * Recognize "\r\n" as a single line end. * Return an empty list for an empty string. * Implement `keep_ends` argument.
Diffstat (limited to 'devel')
-rw-r--r--devel/lua-penlight/Makefile4
-rw-r--r--devel/lua-penlight/distinfo10
2 files changed, 7 insertions, 7 deletions
diff --git a/devel/lua-penlight/Makefile b/devel/lua-penlight/Makefile
index 2f6b89fd390..f3979484b98 100644
--- a/devel/lua-penlight/Makefile
+++ b/devel/lua-penlight/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2016/11/20 10:37:50 alnsn Exp $
+# $NetBSD: Makefile,v 1.11 2017/04/27 21:52:09 alnsn Exp $
#
DISTNAME= penlight-${PL_VERSION}
@@ -13,7 +13,7 @@ HOMEPAGE= http://stevedonovan.github.com/Penlight/
COMMENT= Lua libraries for functional programming, OS path management, etc
LICENSE= mit
-PL_VERSION= 1.4.1
+PL_VERSION= 1.5.2
DIST_SUBDIR= lua-penlight
NO_BUILD= yes
diff --git a/devel/lua-penlight/distinfo b/devel/lua-penlight/distinfo
index 09c1c3e0349..6f13a5658e5 100644
--- a/devel/lua-penlight/distinfo
+++ b/devel/lua-penlight/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.8 2016/11/20 10:37:50 alnsn Exp $
+$NetBSD: distinfo,v 1.9 2017/04/27 21:52:09 alnsn Exp $
-SHA1 (lua-penlight/penlight-1.4.1.tar.gz) = 7c4b386fc6fb618a6af44a2cfb84c806b9890c9d
-RMD160 (lua-penlight/penlight-1.4.1.tar.gz) = 0935dcc607c0be0685b240e7858b6c67b232892c
-SHA512 (lua-penlight/penlight-1.4.1.tar.gz) = ed34c119a43bb9b8baf0cf570ace3d175bd0beeacb250a5d5ee3efe5782864b79a8f5b7e92bd1e676a369ec32def29a1c5b0a7d77b1c665a22c1e69a4904abd4
-Size (lua-penlight/penlight-1.4.1.tar.gz) = 210240 bytes
+SHA1 (lua-penlight/penlight-1.5.2.tar.gz) = f03dba2c687d07dbe78ea62e65daae20d0db85f4
+RMD160 (lua-penlight/penlight-1.5.2.tar.gz) = 10a702d59d68f7603cc5cdf57d09c303a1fc4910
+SHA512 (lua-penlight/penlight-1.5.2.tar.gz) = 1e707cddb302496e6859cfd76245fe42244c9f62fc339a63375bf6d759b9585fc0d1dfe44cec7c77ab13423e27cb8acd8e8709d3fad5081324a4ca7499714bbe
+Size (lua-penlight/penlight-1.5.2.tar.gz) = 212002 bytes