blob: 5d3b9d5baf76befb9dd7e45fdf5f3fd51f37e7ef [file] [log] [blame]
Patrick Williamsb48b7b42016-08-17 15:04:38 -05001DESCRIPTION = "Cython is a language specially designed for writing Python extension modules. \
2It's designed to bridge the gap between the nice, high-level, easy-to-use world of Python \
3and the messy, low-level world of C."
4SECTION = "devel/python"
5LICENSE = "Apache-2.0"
6LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=e23fadd6ceef8c618fc1c65191d846fa"
Patrick Williamsddad1a12017-02-23 20:36:32 -06007PYPI_PACKAGE = "Cython"
Brad Bishop316dfdd2018-06-25 12:45:53 -04008BBCLASSEXTEND = "native nativesdk"
Patrick Williamsb48b7b42016-08-17 15:04:38 -05009
Brad Bishop316dfdd2018-06-25 12:45:53 -040010SRC_URI[md5sum] = "0e0568d6bed4b09ad01afe0a38805305"
11SRC_URI[sha256sum] = "634e2f10fc8d026c633cffacb45cd8f4582149fa68e1428124e762dbc566e68a"
Patrick Williamsb48b7b42016-08-17 15:04:38 -050012
Patrick Williamsddad1a12017-02-23 20:36:32 -060013inherit pypi
Patrick Williamsb48b7b42016-08-17 15:04:38 -050014
Brad Bishop6e60e8b2018-02-01 10:27:11 -050015RDEPENDS_${PN}_class-target += "\
Brad Bishop316dfdd2018-06-25 12:45:53 -040016 ${PYTHON_PN}-misc \
Patrick Williamsb48b7b42016-08-17 15:04:38 -050017 ${PYTHON_PN}-netserver \
Brad Bishop316dfdd2018-06-25 12:45:53 -040018 ${PYTHON_PN}-pkgutil \
19 ${PYTHON_PN}-pyparsing \
20 ${PYTHON_PN}-setuptools \
Patrick Williamsb48b7b42016-08-17 15:04:38 -050021 ${PYTHON_PN}-shell \
Brad Bishop316dfdd2018-06-25 12:45:53 -040022 ${PYTHON_PN}-xml \
23"
24
25RDEPENDS_${PN}_class-nativesdk += "\
26 nativesdk-${PYTHON_PN}-misc \
27 nativesdk-${PYTHON_PN}-netserver \
28 nativesdk-${PYTHON_PN}-pkgutil \
29 nativesdk-${PYTHON_PN}-pyparsing \
30 nativesdk-${PYTHON_PN}-setuptools \
31 nativesdk-${PYTHON_PN}-shell \
32 nativesdk-${PYTHON_PN}-xml \
Patrick Williamsb48b7b42016-08-17 15:04:38 -050033"
Brad Bishopd7bf8c12018-02-25 22:55:05 -050034
35do_install_append() {
36 # Make sure we use /usr/bin/env python
37 for PYTHSCRIPT in `grep -rIl '^#!.*python' ${D}`; do
38 sed -i -e '1s|^#!.*|#!/usr/bin/env ${PYTHON_PN}|' $PYTHSCRIPT
39 done
40}