Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: james.hilliard1 at gmail.com <james.hilliard1@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v2 2/3] package/lua-std-normalize: new package
Date: Sat, 29 Dec 2018 10:07:24 +0800	[thread overview]
Message-ID: <1546049245-22865-2-git-send-email-james.hilliard1@gmail.com> (raw)
In-Reply-To: <1546049245-22865-1-git-send-email-james.hilliard1@gmail.com>

From: James Hilliard <james.hilliard1@gmail.com>

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>

---
Changes v1 -> v2:
  - rename lua-normalize to lua-std-normalize
---
 package/Config.in                                |  1 +
 package/lua-std-normalize/Config.in              | 13 +++++++++++++
 package/lua-std-normalize/lua-std-normalize.hash |  2 ++
 package/lua-std-normalize/lua-std-normalize.mk   | 14 ++++++++++++++
 4 files changed, 30 insertions(+)
 create mode 100644 package/lua-std-normalize/Config.in
 create mode 100644 package/lua-std-normalize/lua-std-normalize.hash
 create mode 100644 package/lua-std-normalize/lua-std-normalize.mk

diff --git a/package/Config.in b/package/Config.in
index f33aaf9..eaf3c04 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -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"
diff --git a/package/lua-std-normalize/Config.in b/package/lua-std-normalize/Config.in
new file mode 100644
index 0000000..b959836
--- /dev/null
+++ b/package/lua-std-normalize/Config.in
@@ -0,0 +1,13 @@
+config BR2_PACKAGE_LUA_STD_NORMALIZE
+	bool "lua-std-normalize"
+	depends on BR2_PACKAGE_HAS_LUAINTERPRETER
+	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
diff --git a/package/lua-std-normalize/lua-std-normalize.hash b/package/lua-std-normalize/lua-std-normalize.hash
new file mode 100644
index 0000000..831528d
--- /dev/null
+++ b/package/lua-std-normalize/lua-std-normalize.hash
@@ -0,0 +1,2 @@
+# Locally calculated
+sha256 50baac6fbcbc6bbe72b63ce0871ec36176d75c04dccc6e368590ba6ef107c67a  std.normalize-2.0.2-1.src.rock
diff --git a/package/lua-std-normalize/lua-std-normalize.mk b/package/lua-std-normalize/lua-std-normalize.mk
new file mode 100644
index 0000000..efbf48b
--- /dev/null
+++ b/package/lua-std-normalize/lua-std-normalize.mk
@@ -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 = LICENSE.md
+
+$(eval $(luarocks-package))
-- 
2.7.4

  reply	other threads:[~2018-12-29  2:07 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-29  2:07 [Buildroot] [PATCH v2 1/3] package/lua-std-debug: new package james.hilliard1 at gmail.com
2018-12-29  2:07 ` james.hilliard1 at gmail.com [this message]
2018-12-29  8:16   ` [Buildroot] [PATCH v2 2/3] package/lua-std-normalize: " François Perrad
2018-12-30 14:07   ` Thomas Petazzoni
2018-12-29  2:07 ` [Buildroot] [PATCH v2 3/3] package/luaposix: bump version to 34.0.4 james.hilliard1 at gmail.com
2018-12-29  8:16   ` François Perrad
2018-12-29  8:15 ` [Buildroot] [PATCH v2 1/3] package/lua-std-debug: new package François Perrad
2018-12-30 13:53 ` Thomas Petazzoni
2018-12-30 21:38   ` James Hilliard
2018-12-30 21:50     ` Thomas Petazzoni

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1546049245-22865-2-git-send-email-james.hilliard1@gmail.com \
    --to=james.hilliard1@gmail.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox