Complete Yocto mirror with license table for TQMa6UL (2038-compliance)
- 264 license table entries with exact download URLs (224/264 resolved) - Complete sources/ directory with all BitBake recipes - Build configuration: tqma6ul-multi-mba6ulx, spaetzle (musl) - Full traceability for Softwarefreigabeantrag - GCC 13.4.0, Linux 6.6.102, U-Boot 2023.04, musl 1.2.4 - License distribution: GPL-2.0 (24), MIT (23), GPL-2.0+ (18), BSD-3 (16)
This commit is contained in:
45
sources/poky/meta/recipes-devtools/python/python-cython.inc
Normal file
45
sources/poky/meta/recipes-devtools/python/python-cython.inc
Normal file
@@ -0,0 +1,45 @@
|
||||
SUMMARY = "The Cython language"
|
||||
HOMEPAGE = "https://pypi.org/project/Cython/"
|
||||
DESCRIPTION = "Cython is a language specially designed for writing Python extension modules. \
|
||||
It's designed to bridge the gap between the nice, high-level, easy-to-use world of Python \
|
||||
and the messy, low-level world of C."
|
||||
SECTION = "devel/python"
|
||||
LICENSE = "Apache-2.0"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=61c3ee8961575861fa86c7e62bc9f69c"
|
||||
PYPI_PACKAGE = "Cython"
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
||||
SRC_URI[sha256sum] = "8333423d8fd5765e7cceea3a9985dd1e0a5dfeb2734629e1a2ed2d6233d39de6"
|
||||
UPSTREAM_CHECK_REGEX = "Cython-(?P<pver>.*)\.tar"
|
||||
|
||||
inherit pypi
|
||||
|
||||
RDEPENDS:${PN}:class-target += "\
|
||||
python3-misc \
|
||||
python3-netserver \
|
||||
python3-pkgutil \
|
||||
python3-pyparsing \
|
||||
python3-setuptools \
|
||||
python3-shell \
|
||||
python3-xml \
|
||||
"
|
||||
|
||||
RDEPENDS:${PN}:class-nativesdk += "\
|
||||
nativesdk-python3-misc \
|
||||
nativesdk-python3-netserver \
|
||||
nativesdk-python3-pkgutil \
|
||||
nativesdk-python3-pyparsing \
|
||||
nativesdk-python3-setuptools \
|
||||
nativesdk-python3-shell \
|
||||
nativesdk-python3-xml \
|
||||
"
|
||||
|
||||
do_install:append() {
|
||||
# Make sure we use /usr/bin/env python
|
||||
for PYTHSCRIPT in `grep -rIl '^#!.*python' ${D}`; do
|
||||
sed -i -e '1s|^#!.*|#!/usr/bin/env python3|' $PYTHSCRIPT
|
||||
done
|
||||
|
||||
# remove build paths from generated sources
|
||||
sed -i -e 's|${WORKDIR}||' ${S}/Cython/*.c ${S}/Cython/Compiler/*.c ${S}/Cython/Plex/*.c
|
||||
}
|
||||
Reference in New Issue
Block a user