aboutsummaryrefslogtreecommitdiffstats
path: root/community/py-opengl
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2018-09-04 11:26:00 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2018-09-04 11:26:00 +0200
commitbf1d7aa132bcf298041cddd70ce753863f3fd5dc (patch)
treef35f585f7d2e6c2e9bc4f2f73308a7f11a5b6f3d /community/py-opengl
parent26e2be65a179094598d7cdd2b777ba6a4503b53e (diff)
downloadaports-bf1d7aa132bcf298041cddd70ce753863f3fd5dc.tar.bz2
aports-bf1d7aa132bcf298041cddd70ce753863f3fd5dc.tar.xz
community/py-opengl: move from testing
needed by py3-qt5
Diffstat (limited to 'community/py-opengl')
-rw-r--r--community/py-opengl/APKBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/community/py-opengl/APKBUILD b/community/py-opengl/APKBUILD
new file mode 100644
index 0000000000..cd8d6b392e
--- /dev/null
+++ b/community/py-opengl/APKBUILD
@@ -0,0 +1,31 @@
+# Contributor: Francesco Colista <fcolista@alpinelinux.org>
+# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
+pkgname=py-opengl
+_pkgname=PyOpenGL
+pkgver=3.1.1a1
+pkgrel=2
+pkgdesc="Standard OpenGL bindings for Python"
+url="http://pyopengl.sourceforge.net"
+arch="noarch"
+license="BSD"
+depends="python2 freeglut mesa-gles py-pillow py-numpy>=1.14.3-r1"
+depends_dev=""
+makedepends="$depends_dev python2-dev py-setuptools freeglut-dev"
+install=""
+subpackages=""
+source="https://files.pythonhosted.org/packages/source/P/PyOpenGL/$_pkgname-$pkgver.tar.gz"
+
+builddir="$srcdir"/$_pkgname-$pkgver
+build() {
+ cd "$builddir"
+ python2 setup.py build || return 1
+}
+
+package() {
+ cd "$builddir"
+ python2 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"