[arch-commits] Commit in python-lupa/repos/community-x86_64 (3 files)

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


    Date: Friday, March 20, 2020 @ 16:27:54
  Author: eschwartz
Revision: 601928

archrelease: copy trunk to community-x86_64

Added:
  python-lupa/repos/community-x86_64/PKGBUILD
    (from rev 601927, python-lupa/trunk/PKGBUILD)
Deleted:
  python-lupa/repos/community-x86_64/PKGBUILD
  python-lupa/repos/community-x86_64/lua-pkg-config-name.diff

--------------------------+
 PKGBUILD                 |   89 +++++++++++++++++++++------------------------
 lua-pkg-config-name.diff |   12 ------
 2 files changed, 42 insertions(+), 59 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-20 16:27:39 UTC (rev 601927)
+++ PKGBUILD	2020-03-20 16:27:54 UTC (rev 601928)
@@ -1,47 +0,0 @@
-# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
-
-_pkgname=lupa
-pkgname=python-lupa
-pkgver=1.8
-pkgrel=2
-pkgdesc="Python wrapper around Lua and LuaJIT"
-arch=('x86_64')
-url="https://github.com/scoder/lupa"
-license=('MIT')
-depends=('lua52' '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')
-
-prepare() {
-    cd "${srcdir}"/${_pkgname}-${pkgver}
-
-    # --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() {
-    cd "${srcdir}"/${_pkgname}-${pkgver}
-
-    python setup.py build --no-luajit
-}
-
-check() {
-    cd "${srcdir}"/${_pkgname}-${pkgver}
-
-    python setup.py test
-}
-
-package() {
-    cd "${srcdir}"/${_pkgname}-${pkgver}
-
-    python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
-    install -Dm644 LICENSE.txt "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE.txt
-}

Copied: python-lupa/repos/community-x86_64/PKGBUILD (from rev 601927, python-lupa/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-03-20 16:27:54 UTC (rev 601928)
@@ -0,0 +1,42 @@
+# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
+
+_pkgname=lupa
+pkgname=python-lupa
+pkgver=1.9
+pkgrel=1
+pkgdesc="Python wrapper around Lua and LuaJIT"
+arch=('x86_64')
+url="https://github.com/scoder/lupa"
+license=('MIT')
+depends=('lua' 'python')
+makedepends=('python-setuptools')
+source=("https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
+sha256sums=('a3e11d806ca02cf72e490ec1974f8b96a14a1091895c9dccebe0b8d52dd82e8e')
+b2sums=('6a0acc6993fb5510c72a04b223247046a8634f62f0c1db38fd195315677d619c8e9e5857d1524f87101ac376fb0493209c22e5b8951646491e06907b6ff06664')
+
+prepare() {
+    cd "${srcdir}"/${_pkgname}-${pkgver}
+
+    # --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
+}
+
+build() {
+    cd "${srcdir}"/${_pkgname}-${pkgver}
+
+    python setup.py build --no-luajit
+}
+
+check() {
+    cd "${srcdir}"/${_pkgname}-${pkgver}
+
+    python setup.py test
+}
+
+package() {
+    cd "${srcdir}"/${_pkgname}-${pkgver}
+
+    python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+    install -Dm644 LICENSE.txt "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE.txt
+}

Deleted: lua-pkg-config-name.diff
===================================================================
--- lua-pkg-config-name.diff	2020-03-20 16:27:39 UTC (rev 601927)
+++ lua-pkg-config-name.diff	2020-03-20 16:27:54 UTC (rev 601928)
@@ -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