python-cython: new package for host only
PATCH 1/1 python-cython: new package for host only
This patch adds an .mk file for Cython. The package is host-only, as it is a dependency to pre-process Cython code on the host and is not needed as Python package on the target. It was tested with Python packages that require Cython. Packages that require it can then just use:
PYTHON_FOO_DEPENDENCIES = host-python-cython
--- package/python-cython/python-cython.mk | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 package/python-cython/python-cython.mk
package/python-cython/python-cython.mk new file +14 -0
@@ -0,0 +1,14 @@ +################################################################################ +# +# python-cython +# +################################################################################ + +PYTHON_CYTHON_VERSION = 0.21.2 +PYTHON_CYTHON_SOURCE = Cython-$(PYTHON_CYTHON_VERSION).tar.gz +PYTHON_CYTHON_SITE = http://cython.org/release/ +PYTHON_CYTHON_SETUP_TYPE = distutils +PYTHON_CYTHON_LICENSE = Apache-2.0 +PYTHON_CYTHON_LICENSE_FILES = LICENSE.txt + +$(eval $(host-python-package))
Signature · 1 line
2.1.4
PATCH 1/1 python-cython: new package for host only
Dear Peter Bouda,
Quoted 6 lines · Peter Bouda
This patch adds an .mk file for Cython. The package is host-only, as it is a dependency to pre-process Cython code on the host and is not needed as Python package on the target. It was tested with Python packages that require Cython. Packages that require it can then just use:
Quoted 7 lines
PYTHON_FOO_DEPENDENCIES= host-python-cythonSigned-off-by Peter Bouda <[email protected]>--- package/python-cython/python-cython.mk | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 package/python-cython/python-cython.mk
Thanks for this contribution. It seems potentially useful, but we generally merge new host packages only when there is a target package that also needs them.
Could you resubmit this as a patch series that also adds a target package that needs this?
Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com