From 91d31b8670a7a221760dbf782e5311ff93a4f7a9 Mon Sep 17 00:00:00 2001 From: Trevor Gamblin Date: Fri, 5 May 2023 14:51:21 -0400 Subject: 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 Signed-off-by: Richard Purdie --- .../python/python3-trove-classifiers_2023.4.29.bb | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 meta/recipes-devtools/python/python3-trove-classifiers_2023.4.29.bb (limited to 'meta/recipes-devtools/python/python3-trove-classifiers_2023.4.29.bb') 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 @@ +SUMMARY = "Canonical source for classifiers on PyPI (pypi.org)." +HOMEPAGE = "https://github.com/pypa/trove-classifiers" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" + +SRC_URI[sha256sum] = "8adcc06f1eb7c495f0bdceb698bd9c044b3e57b0d5767d99ec4b6b17c9bbe957" + +inherit pypi python_setuptools_build_meta ptest + +DEPENDS += " python3-calver-native" + +SRC_URI += " \ + file://run-ptest \ +" + +RDEPENDS:${PN}-ptest += " \ + ${PYTHON_PN}-pytest \ + ${PYTHON_PN}-unittest-automake-output \ +" + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/tests + cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ +} + +BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf