summaryrefslogtreecommitdiff
path: root/repo/cython/cython.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-06-15 20:02:02 +0100
committerdavidovski <david@davidovski.xyz>2022-06-15 20:02:02 +0100
commitd2567bfbdf0e9fa6db0a6ed1534831ec859a3e03 (patch)
tree684a17eebf446aa1adab1097616f1882c8d51568 /repo/cython/cython.xibuild
parentd1fc3393cca72e8e432f827f7624e38734fad6dc (diff)
added deps for qemu
Diffstat (limited to 'repo/cython/cython.xibuild')
-rw-r--r--repo/cython/cython.xibuild29
1 files changed, 29 insertions, 0 deletions
diff --git a/repo/cython/cython.xibuild b/repo/cython/cython.xibuild
new file mode 100644
index 0000000..aebe286
--- /dev/null
+++ b/repo/cython/cython.xibuild
@@ -0,0 +1,29 @@
+#!/bin/sh
+
+NAME="cython"
+DESC="Cython is an optimising static compiler for both the Python & the extended Cython programming languages."
+
+MAKEDEPS="python"
+
+PKG_VER=0.29.24
+SOURCE="https://github.com/cython/cython/archive/$PKG_VER.tar.gz"
+
+ADDITIONAL="
+cython-test-fix.patch
+"
+
+prepare () {
+ apply_patches
+}
+
+build() {
+ python3 setup.py build
+}
+
+package() {
+ python3 setup.py install --prefix=/usr --root="$PKG_DEST"
+
+ install -Dm 644 LICENSE.txt "$PKG_DEST/usr/share/licenses/cython/license"
+ install -Dm 644 README.rst "$PKG_DEST/usr/share/doc/cython/readme.rst"
+}
+