mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
testing/py3-ticket-auth: build with gpep517
This commit is contained in:
parent
ba00bed7d9
commit
01f9de266e
@ -3,24 +3,28 @@
|
||||
pkgname=py3-ticket-auth
|
||||
_pkgname=ticket_auth
|
||||
pkgver=0.1.4
|
||||
pkgrel=8
|
||||
pkgrel=9
|
||||
pkgdesc="Ticket authentication system"
|
||||
url="https://github.com/gnarlychicken/ticket_auth"
|
||||
arch="noarch"
|
||||
license="MIT"
|
||||
makedepends="python3-dev py3-setuptools"
|
||||
makedepends="python3-dev py3-setuptools py3-gpep517"
|
||||
subpackages="$pkgname-pyc"
|
||||
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
|
||||
builddir="$srcdir"/$_pkgname-$pkgver
|
||||
options="!check" # TODO
|
||||
|
||||
build() {
|
||||
cd "$builddir"
|
||||
python3 setup.py build
|
||||
gpep517 build-wheel \
|
||||
--wheel-dir .dist \
|
||||
--output-fd 3 3>&1 >&2
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$builddir"
|
||||
python3 setup.py install --skip-build --root="$pkgdir"
|
||||
gpep517 install-wheel --destdir "$pkgdir" \
|
||||
.dist/*.whl
|
||||
}
|
||||
|
||||
sha512sums="67af674a5061d72350bc683a8614151815a91b4bdb2b641ade4d171a631fe71e574f48b3535285ace18ac5ae101e32434efaba5ec72bed30a6f0fbe88124708b ticket_auth-0.1.4.tar.gz"
|
||||
sha512sums="
|
||||
67af674a5061d72350bc683a8614151815a91b4bdb2b641ade4d171a631fe71e574f48b3535285ace18ac5ae101e32434efaba5ec72bed30a6f0fbe88124708b ticket_auth-0.1.4.tar.gz
|
||||
"
|
||||
|
Loading…
Reference in New Issue
Block a user