diff --git a/srcpkgs/python-pyqtgraph/template b/srcpkgs/python-pyqtgraph/template new file mode 100644 index 00000000000..d3f91c4ceeb --- /dev/null +++ b/srcpkgs/python-pyqtgraph/template @@ -0,0 +1,33 @@ +# Template file for 'python-pyqtgraph' +pkgname=python-pyqtgraph +version=0.9.10 +revision=1 +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" +depends="python-PyQt5" +short_desc="Python2 graphics library for PyQt/PySide" +maintainer="Duncaen " +license="MIT" +homepage="http://www.pyqtgraph.org/" +distfiles="https://github.com/pyqtgraph/pyqtgraph/archive/pyqtgraph-${version}.tar.gz" +checksum=44f018ee642454b070433472f23a900921538cec72381e28a26f5cba84973905 + +post_install() { + vlicense LICENSE.txt +} + +python3.4-pyqtgraph_package() { + depends="python3.4-PyQt5" + pycompile_version="3.4" + pycompile_module="pyqtgraph" + short_desc="${short_desc/Python2/Python3.4}" + pkg_install() { + vmove usr/lib/python3.4 + vlicense LICENSE.txt + } +} diff --git a/srcpkgs/python3.4-pyqtgraph b/srcpkgs/python3.4-pyqtgraph new file mode 120000 index 00000000000..8530196159a --- /dev/null +++ b/srcpkgs/python3.4-pyqtgraph @@ -0,0 +1 @@ +python-pyqtgraph \ No newline at end of file