1 # Maintainer: Caleb Maclennan <caleb@alerque.com>
2 # Contributor: Eli Schwartz <eschwartz@archlinux.org>
8 pkgdesc='Python wrapper around Lua and LuaJIT'
10 url="https://github.com/scoder/$_pkgname"
13 makedepends=(python-{build,installer,wheel}
15 _archive="$_pkgname-$pkgver"
16 source=("https://files.pythonhosted.org/packages/source/${_pkgname::1}/$_pkgname/$_archive.tar.gz")
17 sha256sums=('ad3fef486be7adddd349fe9a9c393789061312cf98ebc533b489be34f484cb79')
26 local _pyver=cpython-$(python -c 'import sys; print("".join(map(str, sys.version_info[:2])))')
27 cd "$PWD/build/lib.linux-$CARCH-$_pyver"
28 python -m unittest discover
33 python -m installer -d "$pkgdir" dist/*.whl
34 install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE.txt