mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] host-python3-cython: New package
@ 2019-11-11 15:11 Guillermo Rodríguez
  2019-11-15 13:46 ` Michael Olbrich
  0 siblings, 1 reply; 3+ messages in thread
From: Guillermo Rodríguez @ 2019-11-11 15:11 UTC (permalink / raw)
  To: ptxdist; +Cc: Guillermo Rodríguez

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 <guille.rodriguez@gmail.com>
---
 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 <guille.rodriguez@gmail.com>
+#
+# 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
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-11-18 10:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-11 15:11 [ptxdist] [PATCH] host-python3-cython: New package Guillermo Rodríguez
2019-11-15 13:46 ` Michael Olbrich
2019-11-18 10:59   ` Guillermo Rodriguez Garcia

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox