Cython is an optimising static compiler for both the Python
programming language and the extended Cython programming language
(based on Pyrex).

Signed-off-by: Guillermo Rodriguez <[email protected]>
---
 rules/host-python3-cython.in   |  9 +++++++++
 rules/host-python3-cython.make | 32 ++++++++++++++++++++++++++++++++
 2 files changed, 41 insertions(+)
 create mode 100644 rules/host-python3-cython.in
 create mode 100644 rules/host-python3-cython.make

diff --git a/rules/host-python3-cython.in b/rules/host-python3-cython.in
new file mode 100644
index 000000000..04758e2ee
--- /dev/null
+++ b/rules/host-python3-cython.in
@@ -0,0 +1,9 @@
+## SECTION=hosttools_noprompt
+
+config HOST_PYTHON3_CYTHON
+       tristate
+       select HOST_PYTHON3
+       help
+         Cython is an optimising static compiler for both the Python
+         programming language and the extended Cython programming language
+         (based on Pyrex).
diff --git a/rules/host-python3-cython.make b/rules/host-python3-cython.make
new file mode 100644
index 000000000..b06ec9421
--- /dev/null
+++ b/rules/host-python3-cython.make
@@ -0,0 +1,32 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2019 by Guillermo Rodriguez <[email protected]>
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+HOST_PACKAGES-$(PTXCONF_HOST_PYTHON3_CYTHON) += host-python3-cython
+
+#
+# Paths and names
+#
+HOST_PYTHON3_CYTHON_VERSION    := 0.29.14
+HOST_PYTHON3_CYTHON_MD5                := 5eb008093b5e97d1c66f5fe5016f1ee0
+HOST_PYTHON3_CYTHON            := 
host-python3-cython-$(HOST_PYTHON3_CYTHON_VERSION)
+HOST_PYTHON3_CYTHON_SUFFIX     := tar.gz
+HOST_PYTHON3_CYTHON_URL                := 
https://github.com/cython/cython/archive/$(HOST_PYTHON3_CYTHON_VERSION).$(HOST_PYTHON3_CYTHON_SUFFIX)
+HOST_PYTHON3_CYTHON_SOURCE     := 
$(SRCDIR)/$(HOST_PYTHON3_CYTHON).$(HOST_PYTHON3_CYTHON_SUFFIX)
+HOST_PYTHON3_CYTHON_DIR                := 
$(HOST_BUILDDIR)/$(HOST_PYTHON3_CYTHON)
+HOST_PYTHON3_CYTHON_LICENSE    := Apache-2.0
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+HOST_PYTHON3_CYTHON_CONF_TOOL    := python3
+
+# vim: syntax=make
-- 
2.21.0


_______________________________________________
ptxdist mailing list
[email protected]

Reply via email to