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

Levente Polyak anthraxx at archlinux.org
Mon Apr 3 15:28:07 UTC 2017


    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
===================================================================
--- PKGBUILD	2017-04-03 15:27:57 UTC (rev 220406)
+++ PKGBUILD	2017-04-03 15:28:05 UTC (rev 220407)
@@ -1,43 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Contributor: Sébastien Luttringer
-# Contributor: SpepS <dreamspepser at yahoo dot it>
-# Contributor: Laszlo Papp <djszapi at archlinux us>
-# Contributor: Donald Ephraim Curtis <dcurtis at gmail.com>
-
-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)
+++ PKGBUILD	2017-04-03 15:28:05 UTC (rev 220407)
@@ -0,0 +1,34 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Sébastien Luttringer
+# Contributor: SpepS <dreamspepser at yahoo dot it>
+# Contributor: Laszlo Papp <djszapi at archlinux us>
+# Contributor: Donald Ephraim Curtis <dcurtis at gmail.com>
+
+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.patch	2017-04-03 15:27:57 UTC (rev 220406)
+++ fix-tablex.patch	2017-04-03 15:28:05 UTC (rev 220407)
@@ -1,23 +0,0 @@
-From 9cbdf99d98f19f1e0bfc5f1c6b76dfaff47455fa Mon Sep 17 00:00:00 2001
-From: Peter Melnichenko <mpeterval at gmail.com>
-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



More information about the arch-commits mailing list