pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/lua-penlight
Module Name: pkgsrc
Committed By: alnsn
Date: Thu Apr 27 21:52:09 UTC 2017
Modified Files:
pkgsrc/devel/lua-penlight: Makefile distinfo
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 pkgsrc/devel/lua-penlight/Makefile
cvs rdiff -u -r1.8 -r1.9 pkgsrc/devel/lua-penlight/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/lua-penlight/Makefile
diff -u pkgsrc/devel/lua-penlight/Makefile:1.10 pkgsrc/devel/lua-penlight/Makefile:1.11
--- pkgsrc/devel/lua-penlight/Makefile:1.10 Sun Nov 20 10:37:50 2016
+++ pkgsrc/devel/lua-penlight/Makefile Thu Apr 27 21:52:09 2017
@@ -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
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
Index: pkgsrc/devel/lua-penlight/distinfo
diff -u pkgsrc/devel/lua-penlight/distinfo:1.8 pkgsrc/devel/lua-penlight/distinfo:1.9
--- pkgsrc/devel/lua-penlight/distinfo:1.8 Sun Nov 20 10:37:50 2016
+++ pkgsrc/devel/lua-penlight/distinfo Thu Apr 27 21:52:09 2017
@@ -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
Home |
Main Index |
Thread Index |
Old Index