python-pyqtgraph: switch to PyQt5 and add PyOpenGL for 3d graphics

This commit is contained in:
maxice8 2019-04-12 18:14:35 -03:00 committed by maxice8
parent a5ed274df3
commit 4c766cadee
1 changed files with 6 additions and 6 deletions

View File

@ -1,14 +1,14 @@
# Template file for 'python-pyqtgraph' # Template file for 'python-pyqtgraph'
pkgname=python-pyqtgraph pkgname=python-pyqtgraph
version=0.10.0 version=0.10.0
revision=2 revision=3
wrksrc=${pkgname#*-}-${pkgname#*-}-${version} archs=noarch
wrksrc="${pkgname#*-}-${pkgname#*-}-${version}"
build_style=python-module build_style=python-module
pycompile_module="pyqtgraph" pycompile_module="pyqtgraph"
archs=noarch
make_install_args="--no-compile" make_install_args="--no-compile"
hostmakedepends="python python3" hostmakedepends="python-setuptools python3-setuptools"
depends="python-PyQt4 python-numpy" depends="python-PyQt5 python-numpy python-PyOpenGL"
short_desc="Python2 scientific graphics and GUI library" short_desc="Python2 scientific graphics and GUI library"
maintainer="Duncaen <duncaen@voidlinux.org>" maintainer="Duncaen <duncaen@voidlinux.org>"
license="MIT" license="MIT"
@ -22,7 +22,7 @@ post_install() {
python3-pyqtgraph_package() { python3-pyqtgraph_package() {
archs=noarch archs=noarch
depends="python3-PyQt4 python3-numpy" depends="python3-PyQt5 python3-numpy python3-PyOpenGL"
pycompile_module="pyqtgraph" pycompile_module="pyqtgraph"
short_desc="${short_desc/Python2/Python3}" short_desc="${short_desc/Python2/Python3}"
pkg_install() { pkg_install() {