From 7d3f4a0fcc3906b409622f22dc9304bb4fd347b8 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Tue, 20 Feb 2024 16:54:35 +0800 Subject: python3-tox: upgrade 4.12.1 -> 4.13.0 Changelog: ========== -Document usage of Pytest with Tox as a FAQ entry -docs/config.rst: State in config directive sections their ini file sections -.gitignore: Add /tests/demo_pkg_inline/.tox/ -docs/development: Summarise important points experienced devs need to know -Add tests for CliEnv -Document how CliEnv works -docs/development "Key points": Two updates and general improvement -session.env_select.CliEnv: Document and test spaces behaviour -config.cli.test_cli_ini: Re-order for clarity (textual moves only) -Revert previous "precommit autoupdate (#3214)" commit; it's broken -Extract packaging virtualenv code to its own class Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- .../recipes-devtools/python/python3-tox_4.13.0.bb | 34 ++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-tox_4.13.0.bb (limited to 'meta-python/recipes-devtools/python/python3-tox_4.13.0.bb') diff --git a/meta-python/recipes-devtools/python/python3-tox_4.13.0.bb b/meta-python/recipes-devtools/python/python3-tox_4.13.0.bb new file mode 100644 index 0000000000..dd352e4848 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-tox_4.13.0.bb @@ -0,0 +1,34 @@ +# 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 = "http://tox.readthedocs.org/" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=11610a9d8fd95649cf8159be12b98cb7" + +SRC_URI[sha256sum] = "dd789a554c16c4b532924ba393c92fc8991323c4b3d466712bfecc8c9b9f24f7" + +BBCLASSEXTEND = "native nativesdk" +inherit pypi python_hatchling + +DEPENDS += "\ + python3-hatch-vcs-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" -- cgit v1.2.3-54-g00ecf