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:
27
sources/poky/meta/classes-recipe/python_hatchling.bbclass
Normal file
27
sources/poky/meta/classes-recipe/python_hatchling.bbclass
Normal file
@@ -0,0 +1,27 @@
|
||||
#
|
||||
# Copyright OpenEmbedded Contributors
|
||||
#
|
||||
# SPDX-License-Identifier: MIT
|
||||
#
|
||||
|
||||
inherit python_pep517 python3native python3-dir setuptools3-base
|
||||
|
||||
DEPENDS += "python3-hatchling-native"
|
||||
|
||||
# delete nested, empty directories from the python site-packages path. Make
|
||||
# sure that we remove the native ones for target builds as well
|
||||
hatchling_rm_emptydirs:class-target () {
|
||||
find ${STAGING_LIBDIR}/${PYTHON_DIR}/site-packages/* -depth -type d -empty -delete
|
||||
find ${STAGING_LIBDIR_NATIVE}/${PYTHON_DIR}/site-packages/* -depth -type d -empty -delete
|
||||
}
|
||||
|
||||
hatchling_rm_emptydirs:class-native () {
|
||||
find ${STAGING_LIBDIR_NATIVE}/${PYTHON_DIR}/site-packages/* -depth -type d -empty -delete
|
||||
}
|
||||
|
||||
# Define a default empty version of hatchling_rm_emptydirs to appease bitbake
|
||||
hatchling_rm_emptydirs () {
|
||||
:
|
||||
}
|
||||
|
||||
do_prepare_recipe_sysroot[postfuncs] += " hatchling_rm_emptydirs"
|
||||
Reference in New Issue
Block a user