package/lua-std-normalize: new package

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Acked-by: Francois Perrad <francois.perrad@gadz.org>
[Thomas:
 - add entry to DEVELOPERS file
 - drop useless dependency in Config.in
 - fix path to license file
 - add hash of license file]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
James Hilliard 2018-12-29 10:07:24 +08:00 committed by Thomas Petazzoni
parent 3f86a178ae
commit 43780ca1b2
5 changed files with 31 additions and 0 deletions

View File

@ -1001,6 +1001,7 @@ F: configs/pine64_sopine_defconfig
N: James Hilliard <james.hilliard1@gmail.com>
F: package/lua-std-debug/
F: package/lua-std-normalize/
F: package/python-aiodns/
F: package/python-aiohttp/
F: package/python-aiohttp-jinja2/

View File

@ -625,6 +625,7 @@ menu "Lua libraries/modules"
source "package/lua-periphery/Config.in"
source "package/lua-sdl2/Config.in"
source "package/lua-std-debug/Config.in"
source "package/lua-std-normalize/Config.in"
source "package/lua-stdlib/Config.in"
source "package/lua-testmore/Config.in"
source "package/lua-utf8/Config.in"

View File

@ -0,0 +1,12 @@
config BR2_PACKAGE_LUA_STD_NORMALIZE
bool "lua-std-normalize"
select BR2_PACKAGE_LUA_STD_DEBUG # runtime
help
This module 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.
https://lua-stdlib.github.io/normalize

View File

@ -0,0 +1,3 @@
# Locally calculated
sha256 50baac6fbcbc6bbe72b63ce0871ec36176d75c04dccc6e368590ba6ef107c67a std.normalize-2.0.2-1.src.rock
sha256 a6a0a0ddc04f7437806a52cbd637c819144df7626a2e8a496cd3a2e20c8effb3 normalize-2.0.2/LICENSE.md

View File

@ -0,0 +1,14 @@
################################################################################
#
# lua-std-normalize
#
################################################################################
LUA_STD_NORMALIZE_VERSION_UPSTREAM = 2.0.2
LUA_STD_NORMALIZE_VERSION = $(LUA_STD_NORMALIZE_VERSION_UPSTREAM)-1
LUA_STD_NORMALIZE_NAME_UPSTREAM = std.normalize
LUA_STD_NORMALIZE_SUBDIR = normalize-$(LUA_STD_NORMALIZE_VERSION_UPSTREAM)
LUA_STD_NORMALIZE_LICENSE = MIT
LUA_STD_NORMALIZE_LICENSE_FILES = $(LUA_STD_NORMALIZE_SUBDIR)/LICENSE.md
$(eval $(luarocks-package))