1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-24 19:55:26 +03:00
aports/community/py3-lupa/APKBUILD
psykose deb62258ec */*: set --skip-build for python installs
this marginally increases install speed by not checking if it needs a rebuild.
also remove --prefix=/usr as it defaults to /usr already.

might break a build or two, will fix later
2023-01-10 04:19:31 +01:00

26 lines
751 B
Text

# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=py3-lupa
_pkgname=${pkgname#py3-}
pkgver=1.14.1
pkgrel=0
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 --skip-build --root="$pkgdir"
}
sha512sums="
d3b30c5105539431ab12428764eeca62b341179ebfe8a4ab00fa301eb36e1b11f56bf6c130599b6fa611965860f33fe4ebee19c812f7ba7e56abac47c7d5e300 py3-lupa-1.14.1.tar.gz
"