diff options
Diffstat (limited to 'meta/recipes-devtools/python/python3-cython_3.1.0.bb')
| -rw-r--r-- | meta/recipes-devtools/python/python3-cython_3.1.0.bb | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3-cython_3.1.0.bb b/meta/recipes-devtools/python/python3-cython_3.1.0.bb new file mode 100644 index 0000000000..f93135b94b --- /dev/null +++ b/meta/recipes-devtools/python/python3-cython_3.1.0.bb | |||
| @@ -0,0 +1,44 @@ | |||
| 1 | SUMMARY = "The Cython language" | ||
| 2 | HOMEPAGE = "https://pypi.org/project/Cython/" | ||
| 3 | DESCRIPTION = "Cython is a language specially designed for writing Python extension modules. \ | ||
| 4 | It's designed to bridge the gap between the nice, high-level, easy-to-use world of Python \ | ||
| 5 | and the messy, low-level world of C." | ||
| 6 | SECTION = "devel/python" | ||
| 7 | LICENSE = "Apache-2.0" | ||
| 8 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=61c3ee8961575861fa86c7e62bc9f69c" | ||
| 9 | |||
| 10 | SRC_URI[sha256sum] = "1097dd60d43ad0fff614a57524bfd531b35c13a907d13bee2cc2ec152e6bf4a1" | ||
| 11 | |||
| 12 | inherit pypi setuptools3 cython | ||
| 13 | |||
| 14 | # No need to depend on self | ||
| 15 | DEPENDS:remove = "python3-cython-native" | ||
| 16 | |||
| 17 | do_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 | |||
| 24 | RDEPENDS:${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 | |||
| 34 | RDEPENDS:${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 | |||
| 44 | BBCLASSEXTEND = "native nativesdk" | ||
