summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBastian Stender <bst@pengutronix.de>2018-01-19 10:18:19 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2018-01-25 15:38:54 +0100
commitaa44f5eb1e39667459724fc0c9ee6cf175060fb7 (patch)
tree02cc10d25d95ececd5cf26586597ca69ecfda9aa
parent327df9d8ef0dc543805b8fb10257d0b2ec7c4103 (diff)
downloadptxdist-aa44f5eb1e39667459724fc0c9ee6cf175060fb7.tar.gz
ptxdist-aa44f5eb1e39667459724fc0c9ee6cf175060fb7.tar.xz
host-cython3: new package
Signed-off-by: Bastian Stender <bst@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r--rules/host-cython3.in11
-rw-r--r--rules/host-cython3.make34
2 files changed, 45 insertions, 0 deletions
diff --git a/rules/host-cython3.in b/rules/host-cython3.in
new file mode 100644
index 000000000..a3f9d8673
--- /dev/null
+++ b/rules/host-cython3.in
@@ -0,0 +1,11 @@
+## SECTION=hosttools_noprompt
+
+config HOST_CYTHON3
+ tristate
+ default ALLYES
+ 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). It makes writing C extensions for Python as easy
+ as Python itself.
diff --git a/rules/host-cython3.make b/rules/host-cython3.make
new file mode 100644
index 000000000..29254e1aa
--- /dev/null
+++ b/rules/host-cython3.make
@@ -0,0 +1,34 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2018 by Bastian Stender <bst@pengutronix.de>
+#
+# See CREDITS for details about who has contributed to this project.
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+HOST_PACKAGES-$(PTXCONF_HOST_CYTHON3) += host-cython3
+
+#
+# Paths and names
+#
+HOST_CYTHON3_VERSION := 0.27.3
+HOST_CYTHON3_MD5 := 6149238287d662bd5d5e572482252493
+HOST_CYTHON3 := Cython-$(HOST_CYTHON3_VERSION)
+HOST_CYTHON3_SUFFIX := tar.gz
+HOST_CYTHON3_URL := https://pypi.python.org/packages/ee/2a/c4d2cdd19c84c32d978d18e9355d1ba9982a383de87d0fcb5928553d37f4/$(HOST_CYTHON3).$(HOST_CYTHON3_SUFFIX)
+HOST_CYTHON3_SOURCE := $(SRCDIR)/$(HOST_CYTHON3).$(HOST_CYTHON3_SUFFIX)
+HOST_CYTHON3_DIR := $(HOST_BUILDDIR)/$(HOST_CYTHON3)
+HOST_CYTHON3_LICENSE := Apache-2.0
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+HOST_CYTHON3_CONF_TOOL := python3
+
+# vim: syntax=make