diff options
| author | Trevor Gamblin <tgamblin@baylibre.com> | 2023-05-05 14:51:21 -0400 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-05-11 17:08:29 +0100 |
| commit | 91d31b8670a7a221760dbf782e5311ff93a4f7a9 (patch) | |
| tree | 59e12a98e6aa2e294d2c6dcb3754443694d43c1b /meta/recipes-devtools/python/python3-trove-classifiers_2023.4.29.bb | |
| parent | b6557a5d9f3e0cd584bd3b3d50003f9460f2672e (diff) | |
| download | poky-91d31b8670a7a221760dbf782e5311ff93a4f7a9.tar.gz | |
python3-trove-classifiers: Add recipe
python3-trove-classifiers is "Canonical source for classifiers on
PyPI.". It is required to update python3-hatchling from the current
version (1.13.0) in oe-core, and depends on python3-calver (another new
recipe). Also add ptests.
(From OE-Core rev: 1b417898c296b5732eac14465ba459411ebe4902)
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python3-trove-classifiers_2023.4.29.bb')
| -rw-r--r-- | meta/recipes-devtools/python/python3-trove-classifiers_2023.4.29.bb | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3-trove-classifiers_2023.4.29.bb b/meta/recipes-devtools/python/python3-trove-classifiers_2023.4.29.bb new file mode 100644 index 0000000000..4bbcea5489 --- /dev/null +++ b/meta/recipes-devtools/python/python3-trove-classifiers_2023.4.29.bb | |||
| @@ -0,0 +1,26 @@ | |||
| 1 | SUMMARY = "Canonical source for classifiers on PyPI (pypi.org)." | ||
| 2 | HOMEPAGE = "https://github.com/pypa/trove-classifiers" | ||
| 3 | LICENSE = "Apache-2.0" | ||
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" | ||
| 5 | |||
| 6 | SRC_URI[sha256sum] = "8adcc06f1eb7c495f0bdceb698bd9c044b3e57b0d5767d99ec4b6b17c9bbe957" | ||
| 7 | |||
| 8 | inherit pypi python_setuptools_build_meta ptest | ||
| 9 | |||
| 10 | DEPENDS += " python3-calver-native" | ||
| 11 | |||
| 12 | SRC_URI += " \ | ||
| 13 | file://run-ptest \ | ||
| 14 | " | ||
| 15 | |||
| 16 | RDEPENDS:${PN}-ptest += " \ | ||
| 17 | ${PYTHON_PN}-pytest \ | ||
| 18 | ${PYTHON_PN}-unittest-automake-output \ | ||
| 19 | " | ||
| 20 | |||
| 21 | do_install_ptest() { | ||
| 22 | install -d ${D}${PTEST_PATH}/tests | ||
| 23 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
| 24 | } | ||
| 25 | |||
| 26 | BBCLASSEXTEND = "native nativesdk" | ||
