[arch-commits] Commit in python-lupa/trunk (PKGBUILD lua-pkg-config-name.diff)

Eli Schwartz eschwartz at archlinux.org
Fri Mar 20 16:27:40 UTC 2020


    Date: Friday, March 20, 2020 @ 16:27:39
  Author: eschwartz
Revision: 601927

upgpkg: python-lupa 1.9-1

upstream release
upstream fixed issue with arch pkg-config name detection
upstream now supports lua 5.3

Modified:
  python-lupa/trunk/PKGBUILD
Deleted:
  python-lupa/trunk/lua-pkg-config-name.diff

--------------------------+
 PKGBUILD                 |   17 ++++++-----------
 lua-pkg-config-name.diff |   12 ------------
 2 files changed, 6 insertions(+), 23 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-20 16:26:58 UTC (rev 601926)
+++ PKGBUILD	2020-03-20 16:27:39 UTC (rev 601927)
@@ -2,20 +2,17 @@
 
 _pkgname=lupa
 pkgname=python-lupa
-pkgver=1.8
-pkgrel=2
+pkgver=1.9
+pkgrel=1
 pkgdesc="Python wrapper around Lua and LuaJIT"
 arch=('x86_64')
 url="https://github.com/scoder/lupa"
 license=('MIT')
-depends=('lua52' 'python')
+depends=('lua' 'python')
 makedepends=('python-setuptools')
-source=("https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz"
-        "lua-pkg-config-name.diff")
-sha256sums=('f55781c9ab8fab77aa438481067a72da0b04849e2790a4e80d3c9bc77d7f8e53'
-            'ac8e3daba8465cb63e43cef6662c8dfad6d1d012c18e4faa5a5270c603df4382')
-b2sums=('182e32610b129a8e6683491be6203d138dc8019fd03e33d7d882ba49d743556abf69b28d7f794bda525906e5f27b628ff776e96c5aff69f19ac9171bde9c3b16'
-        'cd0b0cd208545cea9ebba1b55df9a2fc7ddd60e7c0060b0275494884029e35036425ffd416bd768e4ab407f1701b821f357f9328c1135c7e31fe41b90347d661')
+source=("https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
+sha256sums=('a3e11d806ca02cf72e490ec1974f8b96a14a1091895c9dccebe0b8d52dd82e8e')
+b2sums=('6a0acc6993fb5510c72a04b223247046a8634f62f0c1db38fd195315677d619c8e9e5857d1524f87101ac376fb0493209c22e5b8951646491e06907b6ff06664')
 
 prepare() {
     cd "${srcdir}"/${_pkgname}-${pkgver}
@@ -23,8 +20,6 @@
     # --no-bundle is not removed from argv if lua is properly detected, so the
     # only working safety net is to rm the bundled sources
     rm -rf third-party
-    # detect lua52.pc
-    patch -p1 -i ../lua-pkg-config-name.diff
 }
 
 build() {

Deleted: lua-pkg-config-name.diff
===================================================================
--- lua-pkg-config-name.diff	2020-03-20 16:26:58 UTC (rev 601926)
+++ lua-pkg-config-name.diff	2020-03-20 16:27:39 UTC (rev 601927)
@@ -1,12 +0,0 @@
-diff --git a/setup.py b/setup.py
-index 7539b13..5127ece 100644
---- a/setup.py
-+++ b/setup.py
-@@ -154,6 +154,7 @@ def find_lua_build(no_luajit=False):
-         for lua_version in ('5.2', '5.1')
-         for name in ('lua%s' % lua_version, 'lua-%s' % lua_version, 'lua')
-     ]
-+    packages += [('lua52', '5.2')]
- 
-     for package_name, min_version in packages:
-         print("Checking for installed %s library using pkg-config" %



More information about the arch-commits mailing list