vp-build/srcpkgs/python-vispy/template

32 lines
799 B
Bash

# Template file for 'python-vispy'
pkgname=python-vispy
version=0.5.3
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-3-Clause"
homepage="http://vispy.org"
distfiles="${PYPI_SITE}/v/vispy/vispy-${version}.tar.gz"
checksum=f6c36408df851b91322c928aadb2c8aaf3b31150e11f723784cc81b6280fdcc0
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
}
}