diff options
author | ptrcnull <git@ptrcnull.me> | 2024-03-28 10:43:59 +0100 |
---|---|---|
committer | ptrcnull <git@ptrcnull.me> | 2024-03-28 10:43:59 +0100 |
commit | ab023c2f9b504ea995871d75d998f18af44b9da2 (patch) | |
tree | 747cc84e639c576b6eaa10e625fc47153c51c372 | |
parent | 0527897f85da56aeda3db36b7546f2409c8730dd (diff) |
-rw-r--r-- | community/py3-lupa/APKBUILD | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/community/py3-lupa/APKBUILD b/community/py3-lupa/APKBUILD index 5ad79fc15e3..6b1377b045b 100644 --- a/community/py3-lupa/APKBUILD +++ b/community/py3-lupa/APKBUILD @@ -1,27 +1,29 @@ # Maintainer: Leonardo Arena <rnalrd@alpinelinux.org> pkgname=py3-lupa _pkgname=${pkgname#py3-} -pkgver=1.14.1 -pkgrel=1 +pkgver=2.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" +makedepends="python3-dev py3-gpep517 py3-wheel py3-setuptools" subpackages="$pkgname-pyc" 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 + gpep517 build-wheel \ + --wheel-dir .dist \ + --output-fd 3 3>&1 >&2 } package() { - python3 setup.py install --skip-build --root="$pkgdir" + gpep517 install-wheel --destdir "$pkgdir" \ + .dist/*.whl } sha512sums=" -d3b30c5105539431ab12428764eeca62b341179ebfe8a4ab00fa301eb36e1b11f56bf6c130599b6fa611965860f33fe4ebee19c812f7ba7e56abac47c7d5e300 py3-lupa-1.14.1.tar.gz +ae3e8267ccc17e082948482fe19981b7298480088c807896a55792253ae784146e5749318cb37e121895d1cdb0ab02562c5cf5d5d9ec63bc2d59ea7352f3b915 py3-lupa-2.1.tar.gz " |