void-packages/srcpkgs/python-PyOpenGL-accelerate/template
2017-08-28 10:16:36 +02:00

28 lines
917 B
Bash

# Template file for 'python-PyOpenGL-accelerate'
pkgname=python-PyOpenGL-accelerate
version=3.1.0
revision=4
wrksrc="PyOpenGL-accelerate-${version}"
build_style=python-module
hostmakedepends="python-setuptools python3-setuptools python-Cython python3-Cython"
makedepends="python-devel python3-devel python-numpy python3-numpy"
depends="python-numpy"
short_desc="Acceleration code for PyOpenGL (Python2)"
maintainer="Alain Kalker <a.c.kalker@gmail.com>"
license="3-clause-BSD"
homepage="http://pyopengl.sourceforge.net/"
distfiles="${PYPI_SITE}/P/PyOpenGL-accelerate/PyOpenGL-accelerate-${version}.tar.gz"
checksum=927f4670b893d46e2f6273ae938bf0a1db27ffae3336eba94813ccef6260c410
post_install() {
vlicense license.txt LICENSE
}
python3-PyOpenGL-accelerate_package() {
depends="python3-numpy"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense license.txt LICENSE
}
}