32 lines
814 B
Bash
32 lines
814 B
Bash
# Template file for 'python-PyOpenGL'
|
|
pkgname=python-PyOpenGL
|
|
version=3.1.0
|
|
revision=2
|
|
noarch=yes
|
|
wrksrc="PyOpenGL-${version}"
|
|
build_style=python-module
|
|
pycompile_module="OpenGL"
|
|
hostmakedepends="python-setuptools python3-setuptools"
|
|
depends="python"
|
|
short_desc="Standard OpenGL bindings for Python2"
|
|
maintainer="Alain Kalker <a.c.kalker@gmail.com>"
|
|
license="3-clause-BSD"
|
|
homepage="http://pyopengl.sourceforge.net/"
|
|
distfiles="${PYPI_SITE}/P/PyOpenGL/PyOpenGL-${version}.tar.gz"
|
|
checksum=9b47c5c3a094fa518ca88aeed35ae75834d53e4285512c61879f67a48c94ddaf
|
|
|
|
post_install() {
|
|
vlicense license.txt LICENSE
|
|
}
|
|
|
|
python3-PyOpenGL_package() {
|
|
noarch=yes
|
|
depends="python3"
|
|
pycompile_module="OpenGL"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
vlicense license.txt LICENSE
|
|
}
|
|
}
|