New package: python-vispy-0.4.0 (#5447)

This commit is contained in:
Johannes 2017-01-23 10:10:06 +01:00 committed by Alessio Sergi
parent 18dd049ee9
commit 2cc2a14184
2 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,32 @@
# Template file for 'python-vispy'
pkgname=python-vispy
version=0.4.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=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
}
}

1
srcpkgs/python3-vispy Symbolic link
View File

@ -0,0 +1 @@
python-vispy