33 lines
872 B
Bash
33 lines
872 B
Bash
# Template file for 'python-vispy'
|
|
pkgname=python-vispy
|
|
version=0.5.0
|
|
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=fa24f925ec5998d3d68cc96bae0fe438082b78a4e198ba928dfa5b35b283c19e
|
|
|
|
post_install() {
|
|
$XBPS_FETCH_CMD https://raw.githubusercontent.com/vispy/vispy/master/LICENSE.txt
|
|
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
|
|
}
|
|
}
|