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

* Re: [ptxdist] [PATCH] host-python3-cython: New package
  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
  0 siblings, 1 reply; 3+ messages in thread
From: Michael Olbrich @ 2019-11-15 13:46 UTC (permalink / raw)
  To: ptxdist; +Cc: Guillermo Rodríguez

On Mon, Nov 11, 2019 at 04:11:59PM +0100, Guillermo Rodríguez wrote:
> Cython is an optimising static compiler for both the Python
> programming language and the extended Cython programming language
> (based on Pyrex).

We already have host-cython3. I think that's the same, right?
So do a version bump instead?

Michael

> 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
> 

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

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

* Re: [ptxdist] [PATCH] host-python3-cython: New package
  2019-11-15 13:46 ` Michael Olbrich
@ 2019-11-18 10:59   ` Guillermo Rodriguez Garcia
  0 siblings, 0 replies; 3+ messages in thread
From: Guillermo Rodriguez Garcia @ 2019-11-18 10:59 UTC (permalink / raw)
  To: ptxdist


[-- Attachment #1.1: Type: text/plain, Size: 553 bytes --]

Hi Michael,

El vie., 15 nov. 2019 a las 14:46, Michael Olbrich (<
m.olbrich@pengutronix.de>) escribió:

> On Mon, Nov 11, 2019 at 04:11:59PM +0100, Guillermo Rodríguez wrote:
> > Cython is an optimising static compiler for both the Python
> > programming language and the extended Cython programming language
> > (based on Pyrex).
>
> We already have host-cython3. I think that's the same, right?
>

Right. I had missed that.


> So do a version bump instead?
>

Done.
-- 
Guillermo Rodriguez Garcia
guille.rodriguez@gmail.com

[-- Attachment #1.2: Type: text/html, Size: 1170 bytes --]

[-- Attachment #2: Type: text/plain, Size: 92 bytes --]

_______________________________________________
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