Skip to content
Snippets Groups Projects
Commit 01f9de26 authored by Patrycja Rosa's avatar Patrycja Rosa :cat:
Browse files

testing/py3-ticket-auth: build with gpep517

parent ba00bed7
No related branches found
No related tags found
No related merge requests found
......@@ -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
"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment