29 lines
917 B
Bash
29 lines
917 B
Bash
# Template file for 'python-PyOpenGL-accelerate'
|
|
pkgname=python-PyOpenGL-accelerate
|
|
version=3.1.5
|
|
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="BSD-3-Clause"
|
|
homepage="http://pyopengl.sourceforge.net/"
|
|
distfiles="${PYPI_SITE}/P/PyOpenGL-accelerate/PyOpenGL-accelerate-${version}.tar.gz"
|
|
checksum=12e5518b0216a478527c7ce5ddce623c3d0517adeb87226da767772e8b7f2f06
|
|
|
|
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
|
|
}
|
|
}
|