[arch-commits] Commit in penlight/repos/community-any (3 files)

2020-09-22 Thread Levente Polyak via arch-commits
Date: Tuesday, September 22, 2020 @ 19:27:28
  Author: anthraxx
Revision: 711407

archrelease: copy trunk to community-any

Added:
  penlight/repos/community-any/PKGBUILD
(from rev 711406, penlight/trunk/PKGBUILD)
Deleted:
  penlight/repos/community-any/PKGBUILD
  penlight/repos/community-any/penlight-lua-5.4.patch

+
 PKGBUILD   |  119 ---
 penlight-lua-5.4.patch |   33 -
 2 files changed, 63 insertions(+), 89 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2020-09-22 19:27:22 UTC (rev 711406)
+++ PKGBUILD2020-09-22 19:27:28 UTC (rev 711407)
@@ -1,56 +0,0 @@
-# Maintainer: Levente Polyak 
-# Contributor: Sébastien Luttringer
-# Contributor: SpepS 
-# Contributor: Laszlo Papp 
-# Contributor: Donald Ephraim Curtis 
-
-pkgbase=penlight
-pkgname=('lua-penlight' 'lua53-penlight')
-pkgver=1.6.0
-pkgrel=2
-pkgdesc='Lua libraries focusing on input data handling'
-url='https://github.com/stevedonovan/penlight'
-arch=('any')
-license=('custom')
-makedepends=('lua' 'lua-filesystem' 'lua53' 'lua53-filesystem')
-source=(https://github.com/stevedonovan/penlight/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz
-penlight-lua-5.4.patch)
-sha256sums=('a552d0a314f7aa94c9579746996a7aad4ed59f3187f33b4735d3e323e27354b0'
-'bdb1fb023240b717b3fd800ebd9cf9ee51e94a073769e5c4b6e19c9dc4713b6c')
-sha512sums=('4f9988e9e5d66aad1c7137a5b8a36e4eaa2dba5408c90ee0253ce3db69980b2e0be8c9ba38f1e88f269da96d09a908115e0e9c2bd0667393f950fdfc1e232ff0'
-
'eec7d1c61a4ca2cbea7760f18e15d4634ca9eca451bc4a101ace7efd672ffe061141f0d028c459b72a4834cf8dbe0ca29942b5c871885636dfec18dc10515c67')
-
-prepare() {
-  cd Penlight-${pkgver}
-  patch -p1 -i ../penlight-lua-5.4.patch
-}
-
-check() {
-  cd Penlight-${pkgver}
-  export LUA_PATH="${PWD}/lua/?/init.lua;${PWD}/lua/?.lua;$(lua -e 
'print(package.path)')"
-  lua run.lua
-  export LUA_PATH="${PWD}/lua/?/init.lua;${PWD}/lua/?.lua;$(lua5.3 -e 
'print(package.path)')"
-  lua5.3 run.lua
-}
-
-package_lua-penlight() {
-  depends=('lua' 'lua-filesystem')
-  cd Penlight-${pkgver}
-  install -Dm 644 lua/pl/* -t "${pkgdir}/usr/share/lua/5.4/pl"
-  install -Dm 644 CONTRIBUTING.md CHANGELOG.md README.md -t 
"${pkgdir}/usr/share/doc/${pkgname}"
-  install -Dm 644 docs/manual/* -t "${pkgdir}/usr/share/doc/${pkgname}/manual"
-  install -Dm 644 examples/* -t "${pkgdir}/usr/share/doc/${pkgname}/examples"
-  install -Dm 644 LICENSE.md -t "${pkgdir}/usr/share/licenses/${pkgname}"
-}
-
-package_lua53-penlight() {
-  depends=('lua53' 'lua53-filesystem')
-  cd Penlight-${pkgver}
-  install -Dm 644 lua/pl/* -t "${pkgdir}/usr/share/lua/5.3/pl"
-  install -Dm 644 CONTRIBUTING.md CHANGELOG.md README.md -t 
"${pkgdir}/usr/share/doc/${pkgname}"
-  install -Dm 644 docs/manual/* -t "${pkgdir}/usr/share/doc/${pkgname}/manual"
-  install -Dm 644 examples/* -t "${pkgdir}/usr/share/doc/${pkgname}/examples"
-  install -Dm 644 LICENSE.md -t "${pkgdir}/usr/share/licenses/${pkgname}"
-}
-
-# vim: ts=2 sw=2 et:

Copied: penlight/repos/community-any/PKGBUILD (from rev 711406, 
penlight/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-09-22 19:27:28 UTC (rev 711407)
@@ -0,0 +1,63 @@
+# Maintainer: Levente Polyak 
+# Contributor: Sébastien Luttringer
+# Contributor: SpepS 
+# Contributor: Laszlo Papp 
+# Contributor: Donald Ephraim Curtis 
+
+pkgbase=penlight
+pkgname=('lua-penlight' 'lua53-penlight' 'lua52-penlight' 'lua51-penlight')
+pkgver=1.9.0
+pkgrel=1
+pkgdesc='Lua libraries focusing on input data handling'
+url='https://github.com/stevedonovan/penlight'
+arch=('any')
+license=('custom')
+makedepends=(
+  'lua' 'lua-filesystem'
+  'lua53' 'lua53-filesystem'
+  'lua52' 'lua52-filesystem'
+  'lua51' 'lua51-filesystem'
+)
+source=(https://github.com/stevedonovan/penlight/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha256sums=('3d7aee1df25ce8014051d508c7cd8e5c1f9bd7e0f4a51150be6820d4d731d341')
+sha512sums=('0bdf107f0c10bb36262cb4a48652a229d9bbdfb3ad563ec5574cbd69a14e85b013cffafb6c1a61424a75e19f4c4e6bba2605fee59a1ae12fef7ccdd95895fd14')
+
+check() {
+  cd Penlight-${pkgver}
+  local _version
+  for _version in 5.4 5.3 5.2 5.1; do
+export LUA_PATH="${PWD}/lua/?/init.lua;${PWD}/lua/?.lua;$(lua${_version} 
-e 'print(package.path)')"
+lua5.3 run.lua
+  done
+}
+
+_package() {
+  lua_version="$1"
+  lib_version="$2"
+
+  depends=("${lua_version}" "${lua_version}-filesystem")
+  cd Penlight-${pkgver}
+  install -Dm 644 lua/pl/* -t "${pkgdir}/usr/share/lua/${lib_version}/pl"
+  install -Dm 644 CONTRIBUTING.md CHANGELOG.md README.md -t 
"${pkgdir}/usr/share/doc/${pkgname}"
+  install -Dm 644 docs/manual/* -t "${pkgdir}/usr/share/doc/${pkgname}/manual"
+  install -Dm 644 examples/* -t "${pkgdir}/usr/share/doc/${pkgname}/examples"
+  install -Dm 

[arch-commits] Commit in penlight/repos/community-any (3 files)

2017-04-03 Thread Levente Polyak
Date: Monday, April 3, 2017 @ 15:28:05
  Author: anthraxx
Revision: 220407

archrelease: copy trunk to community-any

Added:
  penlight/repos/community-any/PKGBUILD
(from rev 220406, penlight/trunk/PKGBUILD)
Deleted:
  penlight/repos/community-any/PKGBUILD
  penlight/repos/community-any/fix-tablex.patch

--+
 PKGBUILD |   77 +++--
 fix-tablex.patch |   23 ---
 2 files changed, 34 insertions(+), 66 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2017-04-03 15:27:57 UTC (rev 220406)
+++ PKGBUILD2017-04-03 15:28:05 UTC (rev 220407)
@@ -1,43 +0,0 @@
-# Maintainer: Levente Polyak 
-# Contributor: Sébastien Luttringer
-# Contributor: SpepS 
-# Contributor: Laszlo Papp 
-# Contributor: Donald Ephraim Curtis 
-
-pkgbase=penlight
-pkgname=('lua-penlight')
-pkgver=1.4.1
-pkgrel=1
-pkgdesc='Lua libraries focusing on input data handling'
-url='https://github.com/stevedonovan/penlight'
-arch=('any')
-license=('custom')
-depends=('lua' 'lua-filesystem')
-source=(${pkgname}-${pkgver}.tar.gz::https://github.com/stevedonovan/penlight/archive/${pkgver}.tar.gz
-fix-tablex.patch)
-sha512sums=('ed34c119a43bb9b8baf0cf570ace3d175bd0beeacb250a5d5ee3efe5782864b79a8f5b7e92bd1e676a369ec32def29a1c5b0a7d77b1c665a22c1e69a4904abd4'
-
'e3384422aee4a20db7fd4cbd86ed7acafe61a397c51293d3285be94c950bbf06e746ed8d4db121a53ef52fe0d19c9a7b09f7d02acfcd722118b2ae19971d3c41')
-
-prepare() {
-  cd Penlight-${pkgver}
-  patch -p1 < "${srcdir}/fix-tablex.patch"
-}
-
-check() {
-  cd Penlight-${pkgver}
-  export LUA_PATH="${PWD}/lua/?/init.lua;${PWD}/lua/?.lua;$(lua -e 
'print(package.path)')"
-  lua run.lua
-}
-
-package_lua-penlight() {
-  cd Penlight-${pkgver}
-  install -Dm 644 lua/pl/* -t "${pkgdir}/usr/share/lua/5.3/pl"
-  # copy docs
-  install -Dm 644 CONTRIBUTING.md CHANGES.md README.md -t 
"${pkgdir}/usr/share/doc/${pkgname}"
-  install -Dm 644 doc/manual/* -t "${pkgdir}/usr/share/doc/${pkgname}/manual"
-  install -Dm 644 examples/* -t "${pkgdir}/usr/share/doc/${pkgname}/examples"
-  # copy license
-  install -Dm 644 LICENSE.md "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
-
-# vim: ts=2 sw=2 et:

Copied: penlight/repos/community-any/PKGBUILD (from rev 220406, 
penlight/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2017-04-03 15:28:05 UTC (rev 220407)
@@ -0,0 +1,34 @@
+# Maintainer: Levente Polyak 
+# Contributor: Sébastien Luttringer
+# Contributor: SpepS 
+# Contributor: Laszlo Papp 
+# Contributor: Donald Ephraim Curtis 
+
+pkgbase=penlight
+pkgname=('lua-penlight')
+pkgver=1.5.0
+pkgrel=1
+pkgdesc='Lua libraries focusing on input data handling'
+url='https://github.com/stevedonovan/penlight'
+arch=('any')
+license=('custom')
+depends=('lua' 'lua-filesystem')
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/stevedonovan/penlight/archive/${pkgver}.tar.gz)
+sha512sums=('0d85b389ed86f0aac6bc524f7a616ce5193e992e4df2a554042f5820a328c9ed1d04134e0a653fcce1dacf4be09fcc839acf502ee30f8184ab497eed315b99c8')
+
+check() {
+  cd Penlight-${pkgver}
+  export LUA_PATH="${PWD}/lua/?/init.lua;${PWD}/lua/?.lua;$(lua -e 
'print(package.path)')"
+  lua run.lua
+}
+
+package_lua-penlight() {
+  cd Penlight-${pkgver}
+  install -Dm 644 lua/pl/* -t "${pkgdir}/usr/share/lua/5.3/pl"
+  install -Dm 644 CONTRIBUTING.md CHANGES.md README.md -t 
"${pkgdir}/usr/share/doc/${pkgname}"
+  install -Dm 644 doc/manual/* -t "${pkgdir}/usr/share/doc/${pkgname}/manual"
+  install -Dm 644 examples/* -t "${pkgdir}/usr/share/doc/${pkgname}/examples"
+  install -Dm 644 LICENSE.md "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+# vim: ts=2 sw=2 et:

Deleted: fix-tablex.patch
===
--- fix-tablex.patch2017-04-03 15:27:57 UTC (rev 220406)
+++ fix-tablex.patch2017-04-03 15:28:05 UTC (rev 220407)
@@ -1,23 +0,0 @@
-From 9cbdf99d98f19f1e0bfc5f1c6b76dfaff47455fa Mon Sep 17 00:00:00 2001
-From: Peter Melnichenko 
-Date: Mon, 22 Aug 2016 19:13:12 +0300
-Subject: [PATCH] Fix error in tablex.count_map
-
-Regression introduced in @6123f9e.

- lua/pl/tablex.lua | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/lua/pl/tablex.lua b/lua/pl/tablex.lua
-index fa3b5b0..c513231 100644
 a/lua/pl/tablex.lua
-+++ b/lua/pl/tablex.lua
-@@ -640,7 +640,7 @@ function tablex.count_map (t,cmp)
- end
- end
- end
--return setmetatable(res,'Map')
-+return makemap(res)
- end
- 
- --- filter an array's values using a predicate function


[arch-commits] Commit in penlight/repos/community-any (3 files)

2016-09-29 Thread Levente Polyak
Date: Thursday, September 29, 2016 @ 12:53:17
  Author: anthraxx
Revision: 190858

archrelease: copy trunk to community-any

Added:
  penlight/repos/community-any/PKGBUILD
(from rev 190857, penlight/trunk/PKGBUILD)
  penlight/repos/community-any/fix-tablex.patch
(from rev 190857, penlight/trunk/fix-tablex.patch)
Deleted:
  penlight/repos/community-any/PKGBUILD

--+
 PKGBUILD |   82 +++--
 fix-tablex.patch |   23 ++
 2 files changed, 66 insertions(+), 39 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2016-09-29 12:53:14 UTC (rev 190857)
+++ PKGBUILD2016-09-29 12:53:17 UTC (rev 190858)
@@ -1,39 +0,0 @@
-# $Id$
-# Maintainer: Sébastien Luttringer
-# Contributor: SpepS 
-# Contributor: Laszlo Papp 
-# Contributor: Donald Ephraim Curtis 
-
-pkgbase=penlight
-pkgname=('lua-penlight')
-pkgver=1.3.2
-pkgrel=2
-pkgdesc='Lua libraries focusing on input data handling'
-arch=('any')
-url='https://github.com/stevedonovan/penlight'
-license=('custom')
-depends=('lua' 'lua-filesystem')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/stevedonovan/penlight/archive/$pkgver.tar.gz;)
-md5sums=('0315a39834bb6fab07741ec04ede1bf4')
-
-check() {
-  cd Penlight-$pkgver
-  export LUA_PATH="$PWD/lua/?/init.lua;$PWD/lua/?.lua;$(lua -e 
'print(package.path)')"
-  lua run.lua
-}
-
-package_lua-penlight() {
-
-  cd Penlight-$pkgver
-  install -dm755 "$pkgdir/usr/share/lua/5.3/pl"
-  install -m644 lua/pl/* "$pkgdir/usr/share/lua/5.3/pl"
-  # copy docs
-  install -dm755 "$pkgdir/usr/share/doc/$pkgname/"{,manual,examples}
-  install -m644 CONTRIBUTING.md CHANGES.md README.md 
"$pkgdir/usr/share/doc/$pkgname"
-  install -m644 doc/manual/* "$pkgdir/usr/share/doc/$pkgname/manual"
-  install -m644 examples/* "$pkgdir/usr/share/doc/$pkgname/examples"
-  # copy license
-  install -Dm644 LICENSE.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
-# vim:set ts=2 sw=2 et:

Copied: penlight/repos/community-any/PKGBUILD (from rev 190857, 
penlight/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2016-09-29 12:53:17 UTC (rev 190858)
@@ -0,0 +1,43 @@
+# Maintainer: Levente Polyak 
+# Contributor: Sébastien Luttringer
+# Contributor: SpepS 
+# Contributor: Laszlo Papp 
+# Contributor: Donald Ephraim Curtis 
+
+pkgbase=penlight
+pkgname=('lua-penlight')
+pkgver=1.4.1
+pkgrel=1
+pkgdesc='Lua libraries focusing on input data handling'
+url='https://github.com/stevedonovan/penlight'
+arch=('any')
+license=('custom')
+depends=('lua' 'lua-filesystem')
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/stevedonovan/penlight/archive/${pkgver}.tar.gz
+fix-tablex.patch)
+sha512sums=('ed34c119a43bb9b8baf0cf570ace3d175bd0beeacb250a5d5ee3efe5782864b79a8f5b7e92bd1e676a369ec32def29a1c5b0a7d77b1c665a22c1e69a4904abd4'
+
'e3384422aee4a20db7fd4cbd86ed7acafe61a397c51293d3285be94c950bbf06e746ed8d4db121a53ef52fe0d19c9a7b09f7d02acfcd722118b2ae19971d3c41')
+
+prepare() {
+  cd Penlight-${pkgver}
+  patch -p1 < "${srcdir}/fix-tablex.patch"
+}
+
+check() {
+  cd Penlight-${pkgver}
+  export LUA_PATH="${PWD}/lua/?/init.lua;${PWD}/lua/?.lua;$(lua -e 
'print(package.path)')"
+  lua run.lua
+}
+
+package_lua-penlight() {
+  cd Penlight-${pkgver}
+  install -Dm 644 lua/pl/* -t "${pkgdir}/usr/share/lua/5.3/pl"
+  # copy docs
+  install -Dm 644 CONTRIBUTING.md CHANGES.md README.md -t 
"${pkgdir}/usr/share/doc/${pkgname}"
+  install -Dm 644 doc/manual/* -t "${pkgdir}/usr/share/doc/${pkgname}/manual"
+  install -Dm 644 examples/* -t "${pkgdir}/usr/share/doc/${pkgname}/examples"
+  # copy license
+  install -Dm 644 LICENSE.md "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+# vim: ts=2 sw=2 et:

Copied: penlight/repos/community-any/fix-tablex.patch (from rev 190857, 
penlight/trunk/fix-tablex.patch)
===
--- fix-tablex.patch(rev 0)
+++ fix-tablex.patch2016-09-29 12:53:17 UTC (rev 190858)
@@ -0,0 +1,23 @@
+From 9cbdf99d98f19f1e0bfc5f1c6b76dfaff47455fa Mon Sep 17 00:00:00 2001
+From: Peter Melnichenko 
+Date: Mon, 22 Aug 2016 19:13:12 +0300
+Subject: [PATCH] Fix error in tablex.count_map
+
+Regression introduced in @6123f9e.
+---
+ lua/pl/tablex.lua | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/lua/pl/tablex.lua b/lua/pl/tablex.lua
+index fa3b5b0..c513231 100644
+--- a/lua/pl/tablex.lua
 b/lua/pl/tablex.lua
+@@ -640,7 +640,7 @@ function tablex.count_map (t,cmp)
+ end
+ end
+ end
+-return setmetatable(res,'Map')
++return makemap(res)
+ end
+ 
+ --- filter an array's values using a predicate function