mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-17 14:05:25 +03:00
28 lines
847 B
Text
28 lines
847 B
Text
# Contributor: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
|
|
# Maintainer: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
|
|
pkgname=py3-qt.py
|
|
pkgver=1.3.2
|
|
pkgrel=2
|
|
pkgdesc="Minimal Python 2 & 3 shim around all Qt bindings"
|
|
url="https://github.com/mottosso/Qt.py"
|
|
arch="noarch !armhf" # no py3-qt5 on armhf
|
|
license="MIT"
|
|
depends="python3 py3-qt5 py3-setuptools"
|
|
checkdepends="py3-nose"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/mottosso/Qt.py/archive/$pkgver.tar.gz"
|
|
builddir="$srcdir/Qt.py-$pkgver"
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
python3 tests.py
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --prefix=/usr --root="$pkgdir"
|
|
rm "$pkgdir"/usr/LICENSE
|
|
}
|
|
|
|
sha512sums="fd1394ebff8d73406765a8369c4ec20618b6a9fbad7f4ac80d4ef87c03d5577e192fd543794d73daf57875b8cb6ded9057534eb7366430741b780e6503465223 py3-qt.py-1.3.2.tar.gz"
|