aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-opengl-accelerate/APKBUILD
blob: c5a9758815ae5c7e48c5e33331f568d65dde7bd7 (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
# Contributor: Stuart Cardall <developer@it-offshore.co.uk>
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
pkgname=py3-opengl-accelerate
pkgver=3.1.3
_pkgreal=PyOpenGL-accelerate-${pkgver}b1
pkgrel=1
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
}

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

sha512sums="680593e5578f79276221775ef1e465807f255d4dfe8eab20899a3a2be68e4ec5218b571d425d0a770aa8f398a1daa0d19d6f6005be9419e99352a127ddceaedd  PyOpenGL-accelerate-3.1.3b1.tar.gz"