33 lines
872 B
Bash
33 lines
872 B
Bash
# Template file for 'python-vispy'
|
|
pkgname=python-vispy
|
|
version=0.4.0
|
|
revision=2
|
|
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=6bc03ec02825b57645cdf67fe04cd6c287bbd96d41d025a2c008d6bdd210d63f
|
|
|
|
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
|
|
}
|
|
}
|