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:
38
sources/poky/meta/classes-recipe/setuptools3.bbclass
Normal file
38
sources/poky/meta/classes-recipe/setuptools3.bbclass
Normal file
@@ -0,0 +1,38 @@
|
||||
#
|
||||
# Copyright OpenEmbedded Contributors
|
||||
#
|
||||
# SPDX-License-Identifier: MIT
|
||||
#
|
||||
|
||||
inherit setuptools3-base python_pep517
|
||||
|
||||
DEPENDS += "python3-setuptools-native python3-wheel-native"
|
||||
|
||||
SETUPTOOLS_BUILD_ARGS ?= ""
|
||||
|
||||
SETUPTOOLS_SETUP_PATH ?= "${S}"
|
||||
|
||||
setuptools3_do_configure() {
|
||||
:
|
||||
}
|
||||
|
||||
setuptools3_do_compile() {
|
||||
cd ${SETUPTOOLS_SETUP_PATH}
|
||||
NO_FETCH_BUILD=1 \
|
||||
STAGING_INCDIR=${STAGING_INCDIR} \
|
||||
STAGING_LIBDIR=${STAGING_LIBDIR} \
|
||||
${STAGING_BINDIR_NATIVE}/python3-native/python3 setup.py \
|
||||
bdist_wheel --verbose --dist-dir ${PEP517_WHEEL_PATH} ${SETUPTOOLS_BUILD_ARGS} || \
|
||||
bbfatal_log "'python3 setup.py bdist_wheel ${SETUPTOOLS_BUILD_ARGS}' execution failed."
|
||||
}
|
||||
setuptools3_do_compile[vardepsexclude] = "MACHINE"
|
||||
do_compile[cleandirs] += "${PEP517_WHEEL_PATH}"
|
||||
|
||||
# This could be removed in the future but some recipes in meta-oe still use it
|
||||
setuptools3_do_install() {
|
||||
python_pep517_do_install
|
||||
}
|
||||
|
||||
EXPORT_FUNCTIONS do_configure do_compile do_install
|
||||
|
||||
export LDSHARED="${CCLD} -shared"
|
||||
Reference in New Issue
Block a user