1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-24 11:45:18 +03:00
aports/community/py3-pyotherside/APKBUILD
2025-05-09 06:52:53 +00:00

32 lines
871 B
Text

# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=py3-pyotherside
pkgver=1.6.2
pkgrel=0
pkgdesc="Asynchronous Python 3 Bindings for Qt5"
url="https://thp.io/2011/pyotherside"
arch="all !armhf" # armhf blocked by qt5-qtdeclarative
license="ISC"
makedepends="python3-dev qt5-qtbase-dev qt5-qtdeclarative-dev qt5-qtsvg-dev"
checkdepends="xwayland-run"
source="py3-pyotherside-$pkgver.tar.gz::https://github.com/thp/pyotherside/archive/$pkgver.tar.gz"
builddir="$srcdir/pyotherside-$pkgver"
build() {
qmake-qt5
make
}
check() {
xwfb-run -- ./tests/tests
}
package() {
make INSTALL_ROOT="$pkgdir"/ install
rm -r "$pkgdir"/usr/tests
}
sha512sums="
5f625b733bf9b15b16236be836696d62c9297bafcbb491dc2ec353522612c1b593379c130e281b7b259acdbffb5cd89fb46e060969d29e7ed2d1452c6bbf43d2 py3-pyotherside-1.6.2.tar.gz
"