aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-lupa/APKBUILD
blob: 8ac33d4aa64e28ba6c810084b58db2d31e93c512 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=py3-lupa
_pkgname=${pkgname#py3-}
pkgver=1.9
pkgrel=1
pkgdesc="Python wrapper around Lua and LuaJIT"
url="https://pypi.org/project/lupa/"
arch="all"
license="MIT"
makedepends="python3-dev"
depends="python3"
source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
options="!check" # no test suite
builddir="$srcdir"/$_pkgname-$pkgver

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="4ea8d0ebe7f6481bf9ef4a49d5e30f8baf0ce12c9afb793526858808aea44eb27044ad5c2b5c9532e1ea2220a4eb9b52ce4debb2f7cb2bf53b26abee81541916  py3-lupa-1.9.tar.gz"