aboutsummaryrefslogtreecommitdiffstats
path: root/community/py-opencl
diff options
context:
space:
mode:
authorStuart Cardall <developer@it-offshore.co.uk>2016-08-18 20:46:53 +0000
committerCarlo Landmeter <clandmeter@gmail.com>2016-08-21 22:24:04 +0200
commit5c9f3ca3e307be53b45beeed2ce1626f38008625 (patch)
tree919836fe454e953f46685adf8228b0401280d4b6 /community/py-opencl
parent6a00a953ba02bab6440a2c784e7db37c6eaeace1 (diff)
downloadaports-5c9f3ca3e307be53b45beeed2ce1626f38008625.tar.bz2
aports-5c9f3ca3e307be53b45beeed2ce1626f38008625.tar.xz
testing/[various]: move to community
albatross-themes apk-post-messages autossh bitcoin btrbk entr ffmpegthumbnailer firejail firetools fwsnort gnome-colors imapsync inetutils-syslogd inotify-tools-inc isync junit ktsuss letsencrypt-nosudo libmbim libndp libqmi libteam mini-sendmail modemmanager namecoin networkmanager nginx-naxsi numix-themes nxapi opencl-headers opencl-icd-loader opus-tools perl-authen-ntlm perl-bit-vector perl-data-uniqid perl-file-copy-recursive perl-getopt-argvfile perl-io-tee perl-iptables-chainmgr perl-iptables-parse perl-module-scandeps perl-par-dist perl-par-packer perl-par perl-uri-escape psad py-crcmod py-graphviz py-lz4 py-opencl py-opengl-accelerate runit secpwgen secure-delete socklog spacefm tinyssh udevil virt-viewer virtualbricks whois wrk xpra zram-init
Diffstat (limited to 'community/py-opencl')
-rw-r--r--community/py-opencl/APKBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/community/py-opencl/APKBUILD b/community/py-opencl/APKBUILD
new file mode 100644
index 0000000000..b0a7999ae4
--- /dev/null
+++ b/community/py-opencl/APKBUILD
@@ -0,0 +1,33 @@
+# Contributor: Stuart Cardall <developer@it-offshore.co.uk>
+# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
+pkgname=py-opencl
+_pkgreal=${pkgname/-/}
+pkgver=2016.1
+pkgrel=0
+pkgdesc="Python wrapper for OpenCL"
+url="https://pypi.python.org/pypi/pyopencl"
+arch="all"
+license="MIT"
+depends="python"
+depends_dev="$pkgname"
+makedepends="python-dev py-setuptools py-mako py-numpy ctags libffi-dev mesa-dev opencl-headers opencl-icd-loader-dev"
+install=""
+subpackages="$pkgname-dev"
+source="https://files.pythonhosted.org/packages/source/${_pkgreal:0:1}/$_pkgreal/$_pkgreal-$pkgver.tar.gz"
+
+builddir="$srcdir"/$_pkgreal-$pkgver
+build() {
+ cd "$builddir"
+ python configure.py --cl-enable-gl --python-exe=python || return 1
+ make || return 1
+ python setup.py test
+}
+
+package() {
+ cd "$builddir"
+ python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1 --skip-build || return 1
+}
+
+md5sums="0c8a33b6a6b427bcd9c5966da461d9c6 pyopencl-2016.1.tar.gz"
+sha256sums="54b6e8ad02dc437807739bd53e43851efe979bd51ec87996e44b94ab67238297 pyopencl-2016.1.tar.gz"
+sha512sums="3be8da315f9b4a4e03071152bb5968c5c7b102cbae6c70f358438cfd7951d12970a76dd8e922187ff73e47f7d0ce7a070e6f303dbe364c016796fa65d7e1de71 pyopencl-2016.1.tar.gz"