python-pyqtgraph: fix rdeps

It depends on numpy and PyQt4/Pyside. Only dev version supports PyQt5.
Add missing noarch=yes to python3 flavor.
This commit is contained in:
Alessio Sergi 2016-10-14 12:55:39 +02:00
parent bfff7ebf47
commit 902e9424af
1 changed files with 5 additions and 4 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'python-pyqtgraph'
pkgname=python-pyqtgraph
version=0.9.10
revision=1
revision=2
wrksrc=${pkgname#*-}-${pkgname#*-}-${version}
build_style=python-module
python_versions="2.7 3.4"
@ -9,8 +9,8 @@ pycompile_module="pyqtgraph"
noarch=yes
make_install_args="--no-compile"
hostmakedepends="python python3.4"
depends="python-PyQt5"
short_desc="Python2 graphics library for PyQt/PySide"
depends="python-PyQt4 python-numpy"
short_desc="Python2 scientific graphics and GUI library"
maintainer="Duncaen <duncaen@voidlinux.eu>"
license="MIT"
homepage="http://www.pyqtgraph.org/"
@ -22,7 +22,8 @@ post_install() {
}
python3.4-pyqtgraph_package() {
depends="python3.4-PyQt5"
noarch=yes
depends="python3.4-PyQt4 python3.4-numpy"
pycompile_version="3.4"
pycompile_module="pyqtgraph"
short_desc="${short_desc/Python2/Python3.4}"