void-packages/srcpkgs/python-vispy/template

32 lines
887 B
Bash

# Template file for 'python-vispy'
pkgname=python-vispy
version=0.6.1
revision=1
wrksrc="vispy-${version}"
build_style=python-module
pycompile_module="vispy"
hostmakedepends="python-setuptools python3-setuptools"
makedepends="python3-numpy python-numpy python-Cython python3-Cython python-devel python3-devel"
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=8f4cf863a1c6142338d06cf3f824e75373dd45a4ce9a9a133e1c36b662f49aa1
post_install() {
vlicense LICENSE.txt
}
python3-vispy_package() {
short_desc="${short_desc/Python2/Python3}"
archs=noarch
pycompile_module="vispy"
depends="python3-numpy"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE.txt
}
}