1SUMMARY = "The Cython language" 2HOMEPAGE = "https://pypi.org/project/Cython/" 3DESCRIPTION = "Cython is a language specially designed for writing Python extension modules. \ 4It's designed to bridge the gap between the nice, high-level, easy-to-use world of Python \ 5and the messy, low-level world of C." 6SECTION = "devel/python" 7LICENSE = "Apache-2.0" 8LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=61c3ee8961575861fa86c7e62bc9f69c" 9 10SRC_URI[sha256sum] = "1097dd60d43ad0fff614a57524bfd531b35c13a907d13bee2cc2ec152e6bf4a1" 11 12inherit pypi setuptools3 cython 13 14# No need to depend on self 15DEPENDS:remove = "python3-cython-native" 16 17do_install:append() { 18 # rename scripts that would conflict with the Python 2 build of Cython 19 mv ${D}${bindir}/cython ${D}${bindir}/cython3 20 mv ${D}${bindir}/cythonize ${D}${bindir}/cythonize3 21 mv ${D}${bindir}/cygdb ${D}${bindir}/cygdb3 22} 23 24RDEPENDS:${PN}:class-target += "\ 25 python3-misc \ 26 python3-netserver \ 27 python3-pkgutil \ 28 python3-pyparsing \ 29 python3-setuptools \ 30 python3-shell \ 31 python3-xml \ 32" 33 34RDEPENDS:${PN}:class-nativesdk += "\ 35 nativesdk-python3-misc \ 36 nativesdk-python3-netserver \ 37 nativesdk-python3-pkgutil \ 38 nativesdk-python3-pyparsing \ 39 nativesdk-python3-setuptools \ 40 nativesdk-python3-shell \ 41 nativesdk-python3-xml \ 42" 43 44BBCLASSEXTEND = "native nativesdk" 45