summaryrefslogtreecommitdiff
path: root/experimental/cython/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-07-18 12:25:51 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-07-18 12:25:51 +0000
commit1369fcfd2da27a68162a08508fbdc00425abda26 (patch)
treeb21bc87fed0debde8e1b88b1dfeb03b6f3d2ec07 /experimental/cython/APKBUILD
parent4884b1b5c1042994f4f46365cb0f0bc89ceeda89 (diff)
downloadpackages-1369fcfd2da27a68162a08508fbdc00425abda26.tar.gz
packages-1369fcfd2da27a68162a08508fbdc00425abda26.tar.bz2
packages-1369fcfd2da27a68162a08508fbdc00425abda26.tar.xz
packages-1369fcfd2da27a68162a08508fbdc00425abda26.zip
experimental/cython: new package (broken)
Diffstat (limited to 'experimental/cython/APKBUILD')
-rw-r--r--experimental/cython/APKBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/experimental/cython/APKBUILD b/experimental/cython/APKBUILD
new file mode 100644
index 000000000..34bcf9a99
--- /dev/null
+++ b/experimental/cython/APKBUILD
@@ -0,0 +1,30 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=cython
+_pkgname=Cython
+pkgver=0.29.12
+pkgrel=0
+pkgdesc="C extension compiler for Python"
+url="https://pypi.org/project/Cython/"
+arch="all"
+license="Apache-2.0"
+depends=""
+makedepends="python3-dev"
+subpackages=""
+source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
+builddir="$srcdir/$_pkgname-$pkgver"
+
+build() {
+ python3 setup.py build
+}
+
+check() {
+ python3 setup.py test
+}
+
+package() {
+ mkdir -p "$pkgdir"
+ python3 setup.py install --prefix=/usr --root="$pkgdir"
+}
+
+sha512sums="502756331d8c3618a75a881fc1a20b7e871cd3412904070f3080d5bd0918440230fdae96f096c255fec6b32b81ffcf838f22953b8da23b8845527810f457be60 Cython-0.29.12.tar.gz"