summaryrefslogtreecommitdiffstats
path: root/meta-python
diff options
context:
space:
mode:
authorJasper Orschulko <jasper@fancydomain.eu>2023-06-26 13:45:33 +0200
committerKhem Raj <raj.khem@gmail.com>2023-06-26 05:12:55 -0700
commita3c5ac33f96149657cdad45590c330a8c95c989e (patch)
tree9b4a0db38d29f81752bc5bfd8d8dbb60c25c9614 /meta-python
parente5dc8ed33ccff7f5c9212d5ed9f1baabf9af06d6 (diff)
downloadmeta-openembedded-a3c5ac33f96149657cdad45590c330a8c95c989e.tar.gz
python3-tox: Add initial recipe 4.6.0
From the project description: Tox aims to 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). tox is a generic virtual environment management and test command line tool you can use for: - checking your package builds and installs correctly under different environments (such as different Python implementations, versions or installation dependencies), - running your tests in each of the environments with the test tool of choice, - acting as a frontend to continuous integration servers, greatly reducing boilerplate and merging CI and shell-based testing. Signed-off-by: Jasper Orschulko <jasper@fancydomain.eu> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python')
-rw-r--r--meta-python/recipes-devtools/python/python3-tox_4.6.0.bb34
1 files changed, 34 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-tox_4.6.0.bb b/meta-python/recipes-devtools/python/python3-tox_4.6.0.bb
new file mode 100644
index 0000000000..e83587528c
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-tox_4.6.0.bb
@@ -0,0 +1,34 @@
1# SPDX-License-Identifier: MIT
2# Copyright (C) 2023 iris-GmbH infrared & intelligent sensors
3
4SUMMARY = "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)."
5HOMEPAGE = "http://tox.readthedocs.org/"
6LICENSE = "MIT"
7LIC_FILES_CHKSUM = "file://LICENSE;md5=11610a9d8fd95649cf8159be12b98cb7"
8
9SRC_URI[sha256sum] = "954f1f647f67f481d239a193288983242a6152b67503c4a56b19a4aafaa29736"
10
11BBCLASSEXTEND = "native nativesdk"
12inherit pypi python_hatchling
13
14DEPENDS += "\
15 ${PYTHON_PN}-hatch-vcs-native \
16"
17
18RDEPENDS:${PN} += "\
19 ${PYTHON_PN}-cachetools \
20 ${PYTHON_PN}-chardet \
21 ${PYTHON_PN}-colorama \
22 ${PYTHON_PN}-filelock \
23 ${PYTHON_PN}-packaging \
24 ${PYTHON_PN}-platformdirs \
25 ${PYTHON_PN}-pluggy \
26 ${PYTHON_PN}-pyproject-api \
27 ${PYTHON_PN}-tomli \
28 ${PYTHON_PN}-virtualenv \
29"
30
31# Install all built-in python3 modules, as the software tested with tox might
32# depend on it. Tox will attempt to install all required dependencies
33# in a virtualenv using pip, but this obviously does not include the built-in modules.
34RDEPENDS:${PN} += "${PYTHON_PN}-modules"