# Template file for 'python-PyOpenGL' pkgname=python-PyOpenGL version=3.1.4 revision=1 archs=noarch 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 " license="3-clause-BSD" homepage="http://pyopengl.sourceforge.net/" distfiles="${PYPI_SITE}/P/PyOpenGL/PyOpenGL-${version}.tar.gz" checksum=0bdf5ed600df30c8830455702338902528717c0af85ac5914f1dc5aa0bfa6eee post_install() { vlicense license.txt LICENSE } python3-PyOpenGL_package() { archs=noarch depends="python3" pycompile_module="OpenGL" short_desc="${short_desc/Python2/Python3}" pkg_install() { vmove usr/lib/python3* vlicense license.txt LICENSE } }