diff --git a/srcpkgs/python-pyqtgraph/template b/srcpkgs/python-pyqtgraph/template index 2558f1197e2..7efd513e454 100644 --- a/srcpkgs/python-pyqtgraph/template +++ b/srcpkgs/python-pyqtgraph/template @@ -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 " @@ -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}" +} diff --git a/srcpkgs/python3-pyqtgraph b/srcpkgs/python3-pyqtgraph new file mode 120000 index 00000000000..8530196159a --- /dev/null +++ b/srcpkgs/python3-pyqtgraph @@ -0,0 +1 @@ +python-pyqtgraph \ No newline at end of file