summaryrefslogtreecommitdiff
path: root/poky/meta/recipes-devtools/python/python3-trove-classifiers_2024.7.2.bb
diff options
context:
space:
mode:
Diffstat (limited to 'poky/meta/recipes-devtools/python/python3-trove-classifiers_2024.7.2.bb')
-rw-r--r--poky/meta/recipes-devtools/python/python3-trove-classifiers_2024.7.2.bb28
1 files changed, 28 insertions, 0 deletions
diff --git a/poky/meta/recipes-devtools/python/python3-trove-classifiers_2024.7.2.bb b/poky/meta/recipes-devtools/python/python3-trove-classifiers_2024.7.2.bb
new file mode 100644
index 0000000000..934c6d4be0
--- /dev/null
+++ b/poky/meta/recipes-devtools/python/python3-trove-classifiers_2024.7.2.bb
@@ -0,0 +1,28 @@
+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] = "8328f2ac2ce3fd773cbb37c765a0ed7a83f89dc564c7d452f039b69249d0ac35"
+
+PYPI_PACKAGE = "trove_classifiers"
+
+inherit pypi python_setuptools_build_meta ptest
+
+DEPENDS += " python3-calver-native"
+
+SRC_URI += " \
+ file://run-ptest \
+"
+
+RDEPENDS:${PN}-ptest += " \
+ python3-pytest \
+ python3-unittest-automake-output \
+"
+
+do_install_ptest() {
+ install -d ${D}${PTEST_PATH}/tests
+ cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
+}
+
+BBCLASSEXTEND = "native nativesdk"