aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-opengl-accelerate/APKBUILD
blob: b3c4a23751778f7c7040cb278300294d334bc008 (plain) (blame)
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: Stuart Cardall <developer@it-offshore.co.uk>
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
pkgname=py3-opengl-accelerate
pkgver=3.1.5
_pkgreal=PyOpenGL-accelerate-$pkgver
pkgrel=0
pkgdesc="OpenGL bindings for Python (Cython extensions)"
url="http://pyopengl.sourceforge.net/"
arch="all"
license="BSD-3-Clause"
depends="python3 py3-opengl"
makedepends="py3-setuptools python3-dev cython"
source="https://files.pythonhosted.org/packages/source/P/PyOpenGL-accelerate/$_pkgreal.tar.gz"
builddir="$srcdir"/$_pkgreal

replaces="py-opengl-accelerate" # Backwards compatibility
provides="py-opengl-accelerate=$pkgver-r$pkgrel" # Backwards compatibility

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="60a0305bd517f761ef4a01a590162037bf84fa01315c505c3e7d8bd6091d10929281315a467cc4a8ee837c881f498c6d77ed161bc047eb87968606047e0b8be0  PyOpenGL-accelerate-3.1.5.tar.gz"