mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-11-26 08:07:06 +00:00
Add hatch-fancy-pypi-readme to DEPENDS, now required by the build. Changes: - Bug-fix series (4.67.2 to 4.67.13), no new dependencies noted. - Package staging and work dir permissions hardened: owner-only staging directories, works under umask 0002, stale group/world- writable .tox is made private and emptied (needed on shared CI). - Hardening of inputs: requirement/constraint files limited to 10 MiB, PEP 723 metadata parsed strictly, inline script dependencies validated, symlink/junction meta_dir refused, args_are_paths no longer turns file names starting with "-" into options. - Fixed set_env quoting with trailing backslashes, glob patterns when tox_root contains [, * or ?, factor names like py-django-4-2, --config-settings in requirement files, --runner choices. AI-Generated: Uses Claude Code Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
37 lines
1.2 KiB
BlitzBasic
37 lines
1.2 KiB
BlitzBasic
# SPDX-License-Identifier: MIT
|
|
# Copyright (C) 2023 iris-GmbH infrared & intelligent sensors
|
|
|
|
SUMMARY = "Automate and standardize testing in Python. It is part of a larger vision of easing the packaging, testing and release process of Python software (alongside pytest and devpi)."
|
|
HOMEPAGE = "https://tox.readthedocs.org/"
|
|
LICENSE = "MIT"
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=11610a9d8fd95649cf8159be12b98cb7"
|
|
|
|
SRC_URI[sha256sum] = "9f70b44ca2e31d91d8fe2e2917f505554950adc3961c0ee70bb42db16d903f62"
|
|
|
|
BBCLASSEXTEND = "native nativesdk"
|
|
inherit pypi python_hatchling
|
|
|
|
DEPENDS += "\
|
|
python3-hatch-fancy-pypi-readme-native \
|
|
python3-hatch-vcs-native \
|
|
python3-docutils-native \
|
|
"
|
|
|
|
RDEPENDS:${PN} += "\
|
|
python3-cachetools \
|
|
python3-chardet \
|
|
python3-colorama \
|
|
python3-filelock \
|
|
python3-packaging \
|
|
python3-platformdirs \
|
|
python3-pluggy \
|
|
python3-pyproject-api \
|
|
python3-tomli \
|
|
python3-virtualenv \
|
|
"
|
|
|
|
# Install all built-in python3 modules, as the software tested with tox might
|
|
# depend on it. Tox will attempt to install all required dependencies
|
|
# in a virtualenv using pip, but this obviously does not include the built-in modules.
|
|
RDEPENDS:${PN} += "python3-modules"
|