void-packages/srcpkgs/python-vispy/template

32 lines
790 B
Bash

# Template file for 'python-vispy'
pkgname=python-vispy
version=0.5.2
revision=1
noarch=yes
pycompile_module="vispy"
build_style=python-module
wrksrc="vispy-${version}"
hostmakedepends="python-setuptools python3-setuptools"
depends="python-numpy"
short_desc="Python2 library for interactive scientific visualization"
maintainer="johannes <johannes.brechtmann@gmail.com>"
license="BSD"
homepage="http://vispy.org"
distfiles="${PYPI_SITE}/v/vispy/vispy-${version}.tar.gz"
checksum=297b71eff249fd3550ce56512a6c8d10ed21ea42b50591cae0b49348eafb6e85
post_install() {
vlicense LICENSE.txt
}
python3-vispy_package() {
short_desc="${short_desc/Python2/Python3}"
noarch=yes
pycompile_module="vispy"
depends="python3-numpy"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE.txt
}
}