pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel Add lua-std-normalize version 2.0.2



details:   https://anonhg.NetBSD.org/pkgsrc/rev/96a55617670a
branches:  trunk
changeset: 387551:96a55617670a
user:      maya <maya%pkgsrc.org@localhost>
date:      Tue Nov 20 17:29:24 2018 +0000

description:
Add lua-std-normalize version 2.0.2

This is a collection of normalized lua functions for Lua 5.1
(including LuaJIT), 5.2 and 5.3.

It can inject deterministic versions of core Lua functions that do not
behave identically across all supported Lua implementations into your
module's lexical environment.  Each function is as thin and fast a
version as is possible in each Lua implementation, evaluating to the
Lua C implementation with no overhead when semantics allow.

>From Edgar Fu? in PR pkg/53600

diffstat:

 devel/Makefile                   |   3 ++-
 devel/lua-std-normalize/DESCR    |   8 ++++++++
 devel/lua-std-normalize/Makefile |  35 +++++++++++++++++++++++++++++++++++
 devel/lua-std-normalize/PLIST    |   8 ++++++++
 devel/lua-std-normalize/distinfo |   6 ++++++
 5 files changed, 59 insertions(+), 1 deletions(-)

diffs (90 lines):

diff -r f40bf4327aef -r 96a55617670a devel/Makefile
--- a/devel/Makefile    Tue Nov 20 17:28:43 2018 +0000
+++ b/devel/Makefile    Tue Nov 20 17:29:24 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2757 2018/11/20 17:28:10 maya Exp $
+# $NetBSD: Makefile,v 1.2758 2018/11/20 17:29:24 maya Exp $
 #
 
 COMMENT=       Development utilities
@@ -729,6 +729,7 @@
 SUBDIR+=       lua-posix
 SUBDIR+=       lua-rocks
 SUBDIR+=       lua-std-_debug
+SUBDIR+=       lua-std-normalize
 SUBDIR+=       lua-stdlib
 SUBDIR+=       lutok
 SUBDIR+=       lwp
diff -r f40bf4327aef -r 96a55617670a devel/lua-std-normalize/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/lua-std-normalize/DESCR     Tue Nov 20 17:29:24 2018 +0000
@@ -0,0 +1,8 @@
+This is a collection of normalized lua functions for Lua 5.1
+(including LuaJIT), 5.2 and 5.3.
+
+It can inject deterministic versions of core Lua functions that do not
+behave identically across all supported Lua implementations into your
+module's lexical environment.  Each function is as thin and fast a
+version as is possible in each Lua implementation, evaluating to the
+Lua C implementation with no overhead when semantics allow.
diff -r f40bf4327aef -r 96a55617670a devel/lua-std-normalize/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/lua-std-normalize/Makefile  Tue Nov 20 17:29:24 2018 +0000
@@ -0,0 +1,35 @@
+# $NetBSD: Makefile,v 1.1 2018/11/20 17:29:24 maya Exp $
+
+DISTNAME=              std.normalize-2.0.2
+PKGNAME=               ${DISTNAME:S/std.normalize/${LUA_PKGPREFIX}-std-normalize/}
+GITHUB_PROJECT=                normalize
+GITHUB_TAG=            v${PKGVERSION_NOREV}
+MASTER_SITES=          ${MASTER_SITE_GITHUB:=lua-stdlib/}
+
+CATEGORIES=            devel
+COMMENT=               Normalized Lua functions
+MAINTAINER=            pkgsrc-users%NetBSD.org@localhost
+
+HOMEPAGE=              https://lua-stdlib.github.io/normalize
+LICENSE=               mit
+
+DEPENDS+=              ${LUA_PKGPREFIX}-std-_debug-[0-9]*:../../devel/lua-std-_debug
+
+NO_BUILD=              yes
+NO_CONFIGURE=          yes
+
+INSTALLATION_DIRS+=    ${LUA_LDIR}/std/normalize ${LUA_DOCDIR}
+
+.include "../../lang/lua/module.mk"
+
+do-install:
+.for i in _base _strict _typecheck init version
+       ${INSTALL_DATA} ${WRKSRC}/lib/std/normalize/${i}.lua \
+                       ${DESTDIR}${PREFIX}/${LUA_LDIR}/std/normalize
+.endfor
+.for i in index.html ldoc.css
+       ${INSTALL_DATA} ${WRKSRC}/doc/${i} \
+                       ${DESTDIR}${PREFIX}/${LUA_DOCDIR}
+.endfor
+
+.include "../../mk/bsd.pkg.mk"
diff -r f40bf4327aef -r 96a55617670a devel/lua-std-normalize/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/lua-std-normalize/PLIST     Tue Nov 20 17:29:24 2018 +0000
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST,v 1.1 2018/11/20 17:29:24 maya Exp $
+${LUA_LDIR}/std/normalize/_base.lua
+${LUA_LDIR}/std/normalize/_strict.lua
+${LUA_LDIR}/std/normalize/_typecheck.lua
+${LUA_LDIR}/std/normalize/init.lua
+${LUA_LDIR}/std/normalize/version.lua
+${LUA_DOCDIR}/index.html
+${LUA_DOCDIR}/ldoc.css
diff -r f40bf4327aef -r 96a55617670a devel/lua-std-normalize/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/lua-std-normalize/distinfo  Tue Nov 20 17:29:24 2018 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2018/11/20 17:29:24 maya Exp $
+
+SHA1 (std.normalize-2.0.2.tar.gz) = bc4a2fdf4e8c5bb6b3676dcdd0925c34fa426589
+RMD160 (std.normalize-2.0.2.tar.gz) = a541f8fbb63f30f5eb3957f7b1bd69625586b3e2
+SHA512 (std.normalize-2.0.2.tar.gz) = bde7d834ce5324ee6af7e3f76d138f75bb6c55612e6e524a06d7886b92b346043a2ad4befec5f68342d369e7ed610f00388243b18886a53de6cce123b6a7637f
+Size (std.normalize-2.0.2.tar.gz) = 45936 bytes



Home | Main Index | Thread Index | Old Index