void-packages/srcpkgs/python-PyOpenGL-accelerate/template
2019-12-23 21:29:02 +01:00

28 lines
917 B
Bash

# Template file for 'python-PyOpenGL-accelerate'
pkgname=python-PyOpenGL-accelerate
version=3.1.4
revision=1
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=fc214178fac0ff07e20360500abf2fc049b683c60ff94a93cf981bf27de2c4f9
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
}
}