33 lines
947 B
Bash
33 lines
947 B
Bash
# Template file for 'python-pyqtgraph'
|
|
pkgname=python-pyqtgraph
|
|
version=0.10.0
|
|
revision=4
|
|
archs=noarch
|
|
wrksrc="${pkgname#*-}-${pkgname#*-}-${version}"
|
|
build_style=python-module
|
|
pycompile_module="pyqtgraph"
|
|
make_install_args="--no-compile"
|
|
hostmakedepends="python-setuptools python3-setuptools"
|
|
depends="python-PyQt5 python-numpy python-PyOpenGL"
|
|
short_desc="Python2 scientific graphics and GUI library"
|
|
maintainer="Duncaen <duncaen@voidlinux.org>"
|
|
license="MIT"
|
|
homepage="http://www.pyqtgraph.org/"
|
|
distfiles="https://github.com/pyqtgraph/pyqtgraph/archive/pyqtgraph-${version}.tar.gz"
|
|
checksum=4c851deec81c1dd1ecb4468ff6d5b035349b167cc1b4e4bb724b4b410945d20b
|
|
|
|
post_install() {
|
|
vlicense LICENSE.txt
|
|
}
|
|
|
|
python3-pyqtgraph_package() {
|
|
archs=noarch
|
|
depends="python3-PyQt5 python3-numpy python3-PyOpenGL"
|
|
pycompile_module="pyqtgraph"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
vlicense LICENSE.txt
|
|
}
|
|
}
|