Date: Thursday, November 24, 2022 @ 10:03:51
  Author: alerque
Revision: 1352117

archrelease: copy trunk to community-x86_64

Added:
  python-lupa/repos/community-x86_64/PKGBUILD
    (from rev 1352116, python-lupa/trunk/PKGBUILD)
Deleted:
  python-lupa/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   82 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 42 insertions(+), 40 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2022-11-24 10:03:41 UTC (rev 1352116)
+++ PKGBUILD    2022-11-24 10:03:51 UTC (rev 1352117)
@@ -1,40 +0,0 @@
-# Maintainer: Caleb Maclennan <[email protected]>
-# Contributor: Eli Schwartz <[email protected]>
-
-_pkgname=lupa
-pkgname=python-lupa
-pkgver=1.13
-pkgrel=1
-pkgdesc='Python wrapper around Lua and LuaJIT'
-arch=(x86_64)
-url="https://github.com/scoder/$_pkgname";
-license=(MIT)
-depends=(lua python)
-makedepends=(python-{build,installer,wheel}
-             python-setuptools)
-_archive="$_pkgname-$pkgver"
-source=("https://files.pythonhosted.org/packages/source/${_pkgname::1}/$_pkgname/$_archive.tar.gz";)
-sha256sums=('e1d94ac2a630d271027dac2c21d1428771d9ea9d4d88f15f20a7781340f02a4e')
-
-prepare() {
-       cd "$_archive"
-       # --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 "$_archive"
-       python -m build -wn
-}
-
-check() {
-       cd "$_archive"
-       python setup.py test
-}
-
-package() {
-       cd "$_archive"
-       python -m installer -d "$pkgdir" dist/*.whl
-       install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE.txt
-}

Copied: python-lupa/repos/community-x86_64/PKGBUILD (from rev 1352116, 
python-lupa/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2022-11-24 10:03:51 UTC (rev 1352117)
@@ -0,0 +1,42 @@
+# Maintainer: Caleb Maclennan <[email protected]>
+# Contributor: Eli Schwartz <[email protected]>
+
+_pkgname=lupa
+pkgname=python-lupa
+pkgver=1.14.1
+pkgrel=1
+pkgdesc='Python wrapper around Lua and LuaJIT'
+arch=(x86_64)
+url="https://github.com/scoder/$_pkgname";
+license=(MIT)
+depends=(lua python)
+makedepends=(python-{build,installer,wheel}
+             python-setuptools)
+_archive="$_pkgname-$pkgver"
+source=("https://files.pythonhosted.org/packages/source/${_pkgname::1}/$_pkgname/$_archive.tar.gz";)
+sha256sums=('d0fd4e60ad149fe25c90530e2a0e032a42a6f0455f29ca0edb8170d6ec751c6e')
+
+prepare() {
+       cd "$_archive"
+       # --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 "$_archive"
+       python -m build -wn
+}
+
+check() {
+       cd "$_archive"
+       local _pyver=cpython-$(python -c 'import sys; print("".join(map(str, 
sys.version_info[:2])))')
+       cd "$PWD/build/lib.linux-$CARCH-$_pyver"
+       python -m unittest discover
+}
+
+package() {
+       cd "$_archive"
+       python -m installer -d "$pkgdir" dist/*.whl
+       install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE.txt
+}

Reply via email to