Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 1 | DESCRIPTION = "Cython is a language specially designed for writing Python extension modules. \ |
| 2 | It's designed to bridge the gap between the nice, high-level, easy-to-use world of Python \ |
| 3 | and the messy, low-level world of C." |
| 4 | SECTION = "devel/python" |
| 5 | LICENSE = "Apache-2.0" |
| 6 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=e23fadd6ceef8c618fc1c65191d846fa" |
Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 7 | PYPI_PACKAGE = "Cython" |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 8 | BBCLASSEXTEND = "native" |
| 9 | |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame^] | 10 | SRC_URI[md5sum] = "b93750b34382b025d678bea819b7491b" |
| 11 | SRC_URI[sha256sum] = "e6840a2ba2704f4ffb40e454c36f73aeb440a4005453ee8d7ff6a00d812ba176" |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 12 | |
Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 13 | inherit pypi |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 14 | |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 15 | RDEPENDS_${PN}_class-target += "\ |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 16 | ${PYTHON_PN}-netserver \ |
| 17 | ${PYTHON_PN}-subprocess \ |
| 18 | ${PYTHON_PN}-shell \ |
| 19 | " |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame^] | 20 | |
| 21 | do_install_append() { |
| 22 | # Make sure we use /usr/bin/env python |
| 23 | for PYTHSCRIPT in `grep -rIl '^#!.*python' ${D}`; do |
| 24 | sed -i -e '1s|^#!.*|#!/usr/bin/env ${PYTHON_PN}|' $PYTHSCRIPT |
| 25 | done |
| 26 | } |