mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
testing/py3-qasync: build with gpep517
This commit is contained in:
parent
3ee5389dbf
commit
57e7dec6c0
@ -3,24 +3,27 @@
|
||||
pkgname=py3-qasync
|
||||
_pkgname=qasync
|
||||
pkgver=0.19.0
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="asyncio in Qt-based applications"
|
||||
url="https://github.com/CabbageDevelopment/qasync"
|
||||
arch="noarch"
|
||||
license="BSD-2-Clause"
|
||||
depends="python3"
|
||||
makedepends="py3-setuptools py3-qt5"
|
||||
makedepends="py3-setuptools py3-qt5 py3-gpep517"
|
||||
checkdepends="py3-pytest"
|
||||
options=!check #test segfaults
|
||||
source="$pkgname-$pkgver.tar.gz::https://github.com/CabbageDevelopment/$_pkgname/archive/refs/tags/v$pkgver.tar.gz"
|
||||
builddir="$srcdir/$_pkgname-$pkgver"
|
||||
options="!check" # test segfaults
|
||||
|
||||
build() {
|
||||
python3 setup.py build
|
||||
gpep517 build-wheel \
|
||||
--wheel-dir .dist \
|
||||
--output-fd 3 3>&1 >&2
|
||||
}
|
||||
|
||||
package() {
|
||||
python3 setup.py install --prefix=/usr --root="$pkgdir"
|
||||
gpep517 install-wheel --destdir "$pkgdir" \
|
||||
.dist/*.whl
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
|
Loading…
Reference in New Issue
Block a user