aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-opengl/APKBUILD
blob: 5a59f87acd4f7c86540700d4da4be7f09a268cd4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=py-opengl
_pkgname=PyOpenGL
pkgver=3.1.1a1
pkgrel=1
pkgdesc="Standard OpenGL bindings for Python"
url="http://pyopengl.sourceforge.net"
arch="noarch"
license="BSD"
depends="python freeglut mesa-gles py-pillow py-numpy"
depends_dev=""
makedepends="$depends_dev python-dev py-setuptools freeglut-dev"
install=""
subpackages=""
source="http://pypi.python.org/packages/source/P/PyOpenGL/$_pkgname-$pkgver.tar.gz"

builddir="$srcdir"/$_pkgname-$pkgver
build() {
	cd "$builddir"
	python setup.py build || return 1
}

package() {
	cd "$builddir"
	python setup.py install --prefix=/usr --root="$pkgdir" || return 1
}

md5sums="77ee6044ceb2cf952aca89a9b2d3d585  PyOpenGL-3.1.1a1.tar.gz"
sha256sums="c96d909b359abe3271b746bacf7e6ba52935141e2406a8f90231e4e44dfa4075  PyOpenGL-3.1.1a1.tar.gz"
sha512sums="8f4f57b153ee014dc238fe83180cc92f8e789a274fc6b0cbef6f5dec9dbc44cb1ae1f6b142a6c2b4c8c000709338d64f5968939eeb6a2384f87fb63ae99b40d8  PyOpenGL-3.1.1a1.tar.gz"