Skip to content
Snippets Groups Projects
Commit 91f0070b authored by Leo's avatar Leo Committed by Kevin Daudt
Browse files

testing/py3-qtpy: modernize

Closes GH-8101
parent fad0db6d
No related branches found
No related tags found
No related merge requests found
......@@ -8,24 +8,21 @@ url="https://github.com/spyder-ide/qtpy"
arch="noarch"
license="MIT"
depends="python3 py3-qt5"
makedepends="python3-dev py3-qt5 py3-pytest"
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() {
cd "$builddir"
python3 setup.py build
}
check() {
cd "$builddir"
python3 setup.py test
}
package() {
cd "$builddir"
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
......
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