aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-qtpy/APKBUILD
blob: 51c6f4a31a33b05b14e759c6a56174f5c4ec26ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Contributor: Kiyoshi Aman <kiyoshi.aman@gmail.com>
# Maintainer: Kiyoshi Aman <kiyoshi.aman@gmail.com>
pkgname=py3-qtpy
pkgver=1.9.0
pkgrel=0
pkgdesc="Abstraction layer for several Python interfaces for Qt5"
url="https://github.com/spyder-ide/qtpy"
arch="noarch"
license="MIT"
depends="python3 py3-qt5"
makedepends="py3-setuptools py3-pytest"
source="py3-qtpy-$pkgver.tar.gz::https://github.com/spyder-ide/qtpy/archive/v$pkgver.tar.gz"
builddir="$srcdir/qtpy-$pkgver"
# TODO: remove this once py3-qt5's a complete package.
options="!check"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="aa94c55b6e3f12528377d3d77bba0803cab01d47cf18fb5a82afced6bdcd45144b97380be52c71fda7a96ea4eaa7eda27f4a072048065fb3834be81939c6b41c  py3-qtpy-1.9.0.tar.gz"