aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-opengl/APKBUILD
blob: 29944c3c4317c7996d4c683916573b9c5eecb507 (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
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=py3-opengl
_pkgname=PyOpenGL
pkgver=3.1.5
pkgrel=0
pkgdesc="Standard OpenGL bindings"
url="http://pyopengl.sourceforge.net"
options="!check"
arch="noarch"
license="BSD-3-Clause"
depends="python3"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/P/PyOpenGL/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver

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

build() {
	python3 setup.py build
}

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

sha512sums="5d90fc68040b4886e46ff69a59be9e3a8e31e3e1295283756db86d50a1efe681986928e18eb55d20fd2660f863653301ea483425bbe24046f55085b44f4906eb  PyOpenGL-3.1.5.tar.gz"