All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/2] package/lua-lunitx: new package
@ 2019-04-03 13:06 Francois Perrad
  2019-04-03 13:06 ` [Buildroot] [PATCH 2/2] package/lunit: remove it Francois Perrad
  2019-04-03 19:38 ` [Buildroot] [PATCH 1/2] package/lua-lunitx: new package Thomas Petazzoni
  0 siblings, 2 replies; 4+ messages in thread
From: Francois Perrad @ 2019-04-03 13:06 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
---
 package/Config.in                  |  1 +
 package/lua-lunitx/Config.in       |  6 ++++++
 package/lua-lunitx/lua-lunitx.hash |  3 +++
 package/lua-lunitx/lua-lunitx.mk   | 13 +++++++++++++
 4 files changed, 23 insertions(+)
 create mode 100644 package/lua-lunitx/Config.in
 create mode 100644 package/lua-lunitx/lua-lunitx.hash
 create mode 100644 package/lua-lunitx/lua-lunitx.mk

diff --git a/package/Config.in b/package/Config.in
index db79b61971..287f3493be 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -622,6 +622,7 @@ menu "Lua libraries/modules"
 	source "package/lua-http/Config.in"
 	source "package/lua-iconv/Config.in"
 	source "package/lua-lpeg-patterns/Config.in"
+	source "package/lua-lunitx/Config.in"
 	source "package/lua-markdown/Config.in"
 	source "package/lua-messagepack/Config.in"
 	source "package/lua-msgpack-native/Config.in"
diff --git a/package/lua-lunitx/Config.in b/package/lua-lunitx/Config.in
new file mode 100644
index 0000000000..ea900e6328
--- /dev/null
+++ b/package/lua-lunitx/Config.in
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_LUA_LUNITX
+	bool "lua-lunitx"
+	help
+	  Lunitx is a unit testing framework for lua, written in lua.
+
+	  https://github.com/dcurrie/lunit
diff --git a/package/lua-lunitx/lua-lunitx.hash b/package/lua-lunitx/lua-lunitx.hash
new file mode 100644
index 0000000000..b97b93f090
--- /dev/null
+++ b/package/lua-lunitx/lua-lunitx.hash
@@ -0,0 +1,3 @@
+# computed by luarocks/buildroot
+sha256 2299facf4977f9b663e1ad402098139116a87a693c3df66e1f6b89e2cf47646f  lunitx-0.8-1.src.rock
+sha256 3fcfcd6010d73bc2b22505b6a91779022a82661809a3e4e0a0bdd7b3463def8f  lunit/LICENSE
diff --git a/package/lua-lunitx/lua-lunitx.mk b/package/lua-lunitx/lua-lunitx.mk
new file mode 100644
index 0000000000..e12cf07249
--- /dev/null
+++ b/package/lua-lunitx/lua-lunitx.mk
@@ -0,0 +1,13 @@
+################################################################################
+#
+# lua-lunitx
+#
+################################################################################
+
+LUA_LUNITX_VERSION = 0.8-1
+LUA_LUNITX_NAME_UPSTREAM = lunitx
+LUA_LUNITX_SUBDIR = lunit
+LUA_LUNITX_LICENSE = MIT
+LUA_LUNITX_LICENSE_FILES = $(LUA_LUNITX_SUBDIR)/LICENSE
+
+$(eval $(luarocks-package))
-- 
2.17.1

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH 2/2] package/lunit: remove it
  2019-04-03 13:06 [Buildroot] [PATCH 1/2] package/lua-lunitx: new package Francois Perrad
@ 2019-04-03 13:06 ` Francois Perrad
  2019-04-03 20:16   ` Peter Korsgaard
  2019-04-03 19:38 ` [Buildroot] [PATCH 1/2] package/lua-lunitx: new package Thomas Petazzoni
  1 sibling, 1 reply; 4+ messages in thread
From: Francois Perrad @ 2019-04-03 13:06 UTC (permalink / raw)
  To: buildroot

it was replaced by its fork lunitx which supports all versions of Lua

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
---
 Config.in.legacy         |  8 ++++++++
 package/Config.in        |  1 -
 package/lunit/Config.in  | 11 -----------
 package/lunit/lunit.hash |  3 ---
 package/lunit/lunit.mk   | 11 -----------
 5 files changed, 8 insertions(+), 26 deletions(-)
 delete mode 100644 package/lunit/Config.in
 delete mode 100644 package/lunit/lunit.hash
 delete mode 100644 package/lunit/lunit.mk

diff --git a/Config.in.legacy b/Config.in.legacy
index cafa1c0674..ec5079da65 100644
--- a/Config.in.legacy
+++ b/Config.in.legacy
@@ -146,6 +146,14 @@ endif
 
 comment "Legacy options removed in 2019.05"
 
+config BR2_PACKAGE_LUNIT
+	bool "lunit package removed"
+	select BR2_LEGACY
+	select BR2_PACKAGE_LUA_LUNITX
+	help
+	  The lunit package was removed in favor of its fork lunitx,
+	  which supports all versions of Lua.
+
 config BR2_PACKAGE_FFMPEG_FFSERVER
 	bool "ffmpeg ffserver removed"
 	select BR2_LEGACY
diff --git a/package/Config.in b/package/Config.in
index 287f3493be..6fd047ec8c 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -649,7 +649,6 @@ menu "Lua libraries/modules"
 	source "package/luasocket/Config.in"
 	source "package/luasql-sqlite3/Config.in"
 	source "package/lua-valua/Config.in"
-	source "package/lunit/Config.in"
 	source "package/lutok/Config.in"
 	source "package/luv/Config.in"
 	source "package/luvi/Config.in"
diff --git a/package/lunit/Config.in b/package/lunit/Config.in
deleted file mode 100644
index d6c2c6b157..0000000000
--- a/package/lunit/Config.in
+++ /dev/null
@@ -1,11 +0,0 @@
-config BR2_PACKAGE_LUNIT
-	bool "lunit"
-	depends on BR2_PACKAGE_LUA_5_1 || BR2_PACKAGE_LUAJIT
-	help
-	  A unit testing framework for Lua.
-
-	  http://www.mroth.net/lunit/
-
-comment "lunit needs a Lua 5.1 interpreter"
-	depends on !BR2_PACKAGE_LUA_5_1
-	depends on !BR2_PACKAGE_LUAJIT
diff --git a/package/lunit/lunit.hash b/package/lunit/lunit.hash
deleted file mode 100644
index bd168ba8f5..0000000000
--- a/package/lunit/lunit.hash
+++ /dev/null
@@ -1,3 +0,0 @@
-# computed by luarocks/buildroot
-sha256 b19854c685337ddcec2fe9c22113d2cd14715d52ccd2676abe2fa49b61a2ec4d  lunit-0.5-2.src.rock
-sha256 316317e9e9b7eac811e1be56738e2434fb4a0c39ecd660f3b34dad739bfb3707  lunit-0.5/LICENSE
diff --git a/package/lunit/lunit.mk b/package/lunit/lunit.mk
deleted file mode 100644
index 34e22db757..0000000000
--- a/package/lunit/lunit.mk
+++ /dev/null
@@ -1,11 +0,0 @@
-################################################################################
-#
-# lunit
-#
-################################################################################
-
-LUNIT_VERSION = 0.5-2
-LUNIT_LICENSE = MIT
-LUNIT_LICENSE_FILES = $(LUNIT_SUBDIR)/LICENSE
-
-$(eval $(luarocks-package))
-- 
2.17.1

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH 1/2] package/lua-lunitx: new package
  2019-04-03 13:06 [Buildroot] [PATCH 1/2] package/lua-lunitx: new package Francois Perrad
  2019-04-03 13:06 ` [Buildroot] [PATCH 2/2] package/lunit: remove it Francois Perrad
@ 2019-04-03 19:38 ` Thomas Petazzoni
  1 sibling, 0 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2019-04-03 19:38 UTC (permalink / raw)
  To: buildroot

On Wed,  3 Apr 2019 15:06:08 +0200
Francois Perrad <fperrad@gmail.com> wrote:

> Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
> ---
>  package/Config.in                  |  1 +
>  package/lua-lunitx/Config.in       |  6 ++++++
>  package/lua-lunitx/lua-lunitx.hash |  3 +++
>  package/lua-lunitx/lua-lunitx.mk   | 13 +++++++++++++
>  4 files changed, 23 insertions(+)
>  create mode 100644 package/lua-lunitx/Config.in
>  create mode 100644 package/lua-lunitx/lua-lunitx.hash
>  create mode 100644 package/lua-lunitx/lua-lunitx.mk

Both applied. Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH 2/2] package/lunit: remove it
  2019-04-03 13:06 ` [Buildroot] [PATCH 2/2] package/lunit: remove it Francois Perrad
@ 2019-04-03 20:16   ` Peter Korsgaard
  0 siblings, 0 replies; 4+ messages in thread
From: Peter Korsgaard @ 2019-04-03 20:16 UTC (permalink / raw)
  To: buildroot

>>>>> "Francois" == Francois Perrad <fperrad@gmail.com> writes:

 > it was replaced by its fork lunitx which supports all versions of Lua
 > Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
 > ---
 >  Config.in.legacy         |  8 ++++++++
 >  package/Config.in        |  1 -
 >  package/lunit/Config.in  | 11 -----------
 >  package/lunit/lunit.hash |  3 ---
 >  package/lunit/lunit.mk   | 11 -----------
 >  5 files changed, 8 insertions(+), 26 deletions(-)

You forgot to remove the reference in DEVELOPERS, so now get-developers
complains about it.

I've pushed a commit to fix that.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-04-03 20:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-03 13:06 [Buildroot] [PATCH 1/2] package/lua-lunitx: new package Francois Perrad
2019-04-03 13:06 ` [Buildroot] [PATCH 2/2] package/lunit: remove it Francois Perrad
2019-04-03 20:16   ` Peter Korsgaard
2019-04-03 19:38 ` [Buildroot] [PATCH 1/2] package/lua-lunitx: new package Thomas Petazzoni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.