Skip to contentSkip to conversation

lua-codegen: new package

PATCH New Francois Perrad 4 participants 4 messages Sep 5, 2019 – Jan 6, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 lua-codegen: new package

---
 package/Config.in                    |  1 +
 package/lua-codegen/Config.in        |  6 ++++++
 package/lua-codegen/lua-codegen.hash |  3 +++
 package/lua-codegen/lua-codegen.mk   | 12 ++++++++++++
 4 files changed, 22 insertions(+)
 create mode 100644 package/lua-codegen/Config.in
 create mode 100644 package/lua-codegen/lua-codegen.hash
 create mode 100644 package/lua-codegen/lua-codegen.mk
package/Config.in +1 -0
index 710ed12be..8b5719d46 100644
@@ -617,6 +617,7 @@ menu "Lua libraries/modules"
 	source "package/lua-cjson/Config.in"
 	source "package/lua-coat/Config.in"
 	source "package/lua-coatpersistent/Config.in"
+	source "package/lua-codegen/Config.in"
 	source "package/lua-compat53/Config.in"
 	source "package/lua-cqueues/Config.in"
 	source "package/lua-csnappy/Config.in"
package/lua-codegen/Config.in new file +6 -0
new file mode 100644
index 000000000..bc0ca3d14
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_LUA_CODEGEN
+	bool "lua-codegen"
+	help
+	  a template engine.
+
+	  https://fperrad.frama.io/lua-CodeGen
package/lua-codegen/lua-codegen.hash new file +3 -0
new file mode 100644
index 000000000..0b49a5a78
@@ -0,0 +1,3 @@
+# computed by luarocks/buildroot
+sha256 c09126d7f5d0fa9c867ee9108eb5961dab111320ee35e5f842317f6058e922ec  lua-codegen-0.3.3-1.src.rock
+sha256 f09265c450c3a59558ecc552ea4ba61e5a74dec995738eec545d121718833a80  lua-CodeGen-0.3.3/COPYRIGHT
package/lua-codegen/lua-codegen.mk new file +12 -0
new file mode 100644
index 000000000..caa9008e5
@@ -0,0 +1,12 @@
+################################################################################
+#
+# lua-codegen
+#
+################################################################################
+
+LUA_CODEGEN_VERSION = 0.3.3-1
+LUA_CODEGEN_NAME_UPSTREAM = lua-CodeGen
+LUA_CODEGEN_LICENSE = MIT
+LUA_CODEGEN_LICENSE_FILES = $(LUA_CODEGEN_SUBDIR)/COPYRIGHT
+
+$(eval $(luarocks-package))
Signature · 1 line
2.20.1
#1 lore raw

PATCH 1/1 lua-codegen: new package

ping

Le jeu. 5 sept. 2019 ? 10:08, Francois Perrad <[email protected]> a ?crit :

Quoted 69 lines
---
 package/Config.in                    |  1 +
 package/lua-codegen/Config.in        |  6 ++++++
 package/lua-codegen/lua-codegen.hash |  3 +++
 package/lua-codegen/lua-codegen.mk   | 12 ++++++++++++
 4 files changed, 22 insertions(+)
 create mode 100644 package/lua-codegen/Config.in
 create mode 100644 package/lua-codegen/lua-codegen.hash
 create mode 100644 package/lua-codegen/lua-codegen.mk
package/Config.in +1 -0
index 710ed12be..8b5719d46 100644
@@ -617,6 +617,7 @@ menu "Lua libraries/modules"
        source "package/lua-cjson/Config.in"
        source "package/lua-coat/Config.in"
        source "package/lua-coatpersistent/Config.in"
+       source "package/lua-codegen/Config.in"
        source "package/lua-compat53/Config.in"
        source "package/lua-cqueues/Config.in"
        source "package/lua-csnappy/Config.in"
package/lua-codegen/Config.in new file +6 -0
new file mode 100644
index 000000000..bc0ca3d14
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_LUA_CODEGEN
+       bool "lua-codegen"
+       help
+         a template engine.
+
+         https://fperrad.frama.io/lua-CodeGen
package/lua-codegen/lua-codegen.hash new file +2 -0
new file mode 100644
index 000000000..0b49a5a78
@@ -0,0 +1,3 @@
+# computed by luarocks/buildroot
+sha256 c09126d7f5d0fa9c867ee9108eb5961dab111320ee35e5f842317f6058e922ec

lua-codegen-0.3.3-1.src.rock
+sha256 f09265c450c3a59558ecc552ea4ba61e5a74dec995738eec545d121718833a80 lua-CodeGen-0.3.3/COPYRIGHT

package/lua-codegen/ renamed from package/lua-codegen/lua-codegen.mk +0 -0

lua-codegen.mk
new file mode 100644
index 000000000..caa9008e5

package/lua-codegen/lua-codegen.mk new file +12 -1
@@ -0,0 +1,12 @@
 
+################################################################################
+#
+# lua-codegen
+#
 
+################################################################################
+
+LUA_CODEGEN_VERSION = 0.3.3-1
+LUA_CODEGEN_NAME_UPSTREAM = lua-CodeGen
+LUA_CODEGEN_LICENSE = MIT
+LUA_CODEGEN_LICENSE_FILES = $(LUA_CODEGEN_SUBDIR)/COPYRIGHT
+
+$(eval $(luarocks-package))
--
Quoted 3 lines

2.20.1

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20191208/b3ede575/attachment.html>

#2 lore raw

PATCH 1/1 lua-codegen: new package

In reply to Francois Perrad

Hi Francois,

please use "package/lua-codegen: new package" as first line commit log. And please provide a little description of the package in commit log.

Quoted 29 lines · Francois Perrad
---
  package/Config.in                    |  1 +
  package/lua-codegen/Config.in        |  6 ++++++
  package/lua-codegen/lua-codegen.hash |  3 +++
  package/lua-codegen/lua-codegen.mk   | 12 ++++++++++++
  4 files changed, 22 insertions(+)

create mode 100644 package/lua-codegen/Config.in create mode 100644 package/lua-codegen/lua-codegen.hash create mode 100644 package/lua-codegen/lua-codegen.mk

package/Config.in +1 -0
index 710ed12be..8b5719d46 100644
@@ -617,6 +617,7 @@ menu "Lua libraries/modules"
  	source "package/lua-cjson/Config.in"
  	source "package/lua-coat/Config.in"
  	source "package/lua-coatpersistent/Config.in"
+	source "package/lua-codegen/Config.in"
  	source "package/lua-compat53/Config.in"
  	source "package/lua-cqueues/Config.in"
  	source "package/lua-csnappy/Config.in"
package/lua-codegen/Config.in new file +0 -0
new file mode 100644
index 000000000..bc0ca3d14

package/lua-codegen/Config.in line 4

Quoted 4 lines
package/lua-codegen/Config.in new file +4 -0
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_LUA_CODEGEN
+	bool "lua-codegen"
+	help
+	  a template engine.

Here let's use capital "A template engine", but please improve a little bit the description above.

Quoted 20 lines
package/lua-codegen/Config.in new file +2 -0
+
+	  https://fperrad.frama.io/lua-CodeGen
package/lua-codegen/lua-codegen.hash new file +3 -0
new file mode 100644
index 000000000..0b49a5a78
@@ -0,0 +1,3 @@
+# computed by luarocks/buildroot
+sha256 c09126d7f5d0fa9c867ee9108eb5961dab111320ee35e5f842317f6058e922ec  lua-codegen-0.3.3-1.src.rock
+sha256 f09265c450c3a59558ecc552ea4ba61e5a74dec995738eec545d121718833a80  lua-CodeGen-0.3.3/COPYRIGHT
package/lua-codegen/lua-codegen.mk new file +2 -0
new file mode 100644
index 000000000..caa9008e5
@@ -0,0 +1,12 @@
+################################################################################
+#

package/lua-codegen/lua-codegen.mk line 12

Quoted 10 lines
package/lua-codegen/lua-codegen.mk new file +10 -0
+# lua-codegen
+#
+################################################################################
+
+LUA_CODEGEN_VERSION = 0.3.3-1
+LUA_CODEGEN_NAME_UPSTREAM = lua-CodeGen
+LUA_CODEGEN_LICENSE = MIT
+LUA_CODEGEN_LICENSE_FILES = $(LUA_CODEGEN_SUBDIR)/COPYRIGHT
+
+$(eval $(luarocks-package))

For the rest, it builds correctly and it looks ok to me, so:

Maybe it should be enough if you provide those 2 little descriptions answering inline without submit a v2.

Best regards

Signature · 2 lines
Giulio Benetti
Benetti Engineering sas
#3 lore raw

PATCH 1/1 lua-codegen: new package

In reply to Francois Perrad

Hello Fran?ois,

Quoted 10 lines · On Thu, 5 Sep 2019 10:08:39 +0200 Francois Perrad <[email protected]> wrote:
---
 package/Config.in                    |  1 +
 package/lua-codegen/Config.in        |  6 ++++++
 package/lua-codegen/lua-codegen.hash |  3 +++
 package/lua-codegen/lua-codegen.mk   | 12 ++++++++++++
 4 files changed, 22 insertions(+)
 create mode 100644 package/lua-codegen/Config.in
 create mode 100644 package/lua-codegen/lua-codegen.hash
 create mode 100644 package/lua-codegen/lua-codegen.mk

Thanks, I've applied. However, I'd like to point out that the link fperrad.github.com/lua-CodeGen from
https://luarocks.org/modules/fperrad/lua-codegen is broken, and the link http://github.com/fperrad/lua-CodeGen/releases/ from
https://fperrad.frama.io/lua-CodeGen/ is also broken.

Best regards,

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com