[arch-commits] Commit in penlight/trunk (PKGBUILD)

Caleb Maclennan alerque at gemini.archlinux.org
Mon Jan 10 19:55:54 UTC 2022


    Date: Monday, January 10, 2022 @ 19:55:54
  Author: alerque
Revision: 1099910

upgpkg: penlight 1.12.0-2

Modified:
  penlight/trunk/PKGBUILD

----------+
 PKGBUILD |   12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-01-10 19:47:16 UTC (rev 1099909)
+++ PKGBUILD	2022-01-10 19:55:54 UTC (rev 1099910)
@@ -9,7 +9,7 @@
 pkgbase=penlight
 pkgname=('lua-penlight' 'lua53-penlight' 'lua52-penlight' 'lua51-penlight')
 pkgver=1.12.0
-pkgrel=1
+pkgrel=2
 pkgdesc='Lua libraries focusing on input data handling'
 url='https://github.com/lunarmodules/Penlight'
 arch=('any')
@@ -16,9 +16,14 @@
 license=('MIT')
 makedepends=('luarocks'
              'lua51' 'lua52' 'lua53' 'lua') # https://github.com/luarocks/luarocks/issues/1275
-checkdepends=('lua51-filesystem'
+checkdepends=('busted'
+              'lua51-busted'
+              'lua51-filesystem'
+              'lua52-busted'
               'lua52-filesystem'
+              'lua53-busted'
               'lua53-filesystem'
+              'lua-busted'
               'lua-filesystem')
 source=("https://github.com/lunarmodules/Penlight/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz")
 sha256sums=('629b0ef8315a1215e8a4e01bd6355e16f5b5f97727c7868e6154df77516b97bf')
@@ -40,8 +45,11 @@
 
   local _version
   for _version in 5.1 5.2 5.3 5.4; do
+    # Upstream is migrating to busted, run.lua is legacy format tests
     env LUA_PATH="${PWD}/lua/?/init.lua;${PWD}/lua/?.lua;;" \
       "lua${_version}" run.lua
+    # https://github.com/lunarmodules/Penlight/issues/411
+    busted --lua "lua${_version}" --exclude-pattern app_spec
   done
 }
 



More information about the arch-commits mailing list