python-pyqtgraph: rebuild for Python 3.5

Switch to python3-* pkgs.
Convert python3.4-* pkg into dummy pkg.
This commit is contained in:
Alessio Sergi 2016-10-17 10:36:11 +02:00
parent 26c6ebea04
commit 59ccc14a1a
2 changed files with 13 additions and 7 deletions

View file

@ -4,11 +4,10 @@ version=0.9.10
revision=2
wrksrc=${pkgname#*-}-${pkgname#*-}-${version}
build_style=python-module
python_versions="2.7 3.4"
pycompile_module="pyqtgraph"
noarch=yes
make_install_args="--no-compile"
hostmakedepends="python python3.4"
hostmakedepends="python python3"
depends="python-PyQt4 python-numpy"
short_desc="Python2 scientific graphics and GUI library"
maintainer="Duncaen <duncaen@voidlinux.eu>"
@ -21,14 +20,20 @@ post_install() {
vlicense LICENSE.txt
}
python3.4-pyqtgraph_package() {
python3-pyqtgraph_package() {
noarch=yes
depends="python3.4-PyQt4 python3.4-numpy"
pycompile_version="3.4"
depends="python3-PyQt4 python3-numpy"
pycompile_module="pyqtgraph"
short_desc="${short_desc/Python2/Python3.4}"
replaces="python3.4-pyqtgraph>=0"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3.4
vmove usr/lib/python3*
vlicense LICENSE.txt
}
}
python3.4-pyqtgraph_package() {
noarch=yes
build_style=meta
short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)"
depends="python3-pyqtgraph>=${version}_${revision}"
}

1
srcpkgs/python3-pyqtgraph Symbolic link
View file

@ -0,0 +1 @@
python-pyqtgraph