From 8db92318771d4ecbc093038081a4a00fdf7d3521 Mon Sep 17 00:00:00 2001 From: Oleksandr Kravchuk Date: Sat, 16 Oct 2021 00:57:04 +0200 Subject: python3-iso3166: update to 2.0.2 Signed-off-by: Oleksandr Kravchuk Signed-off-by: Khem Raj Signed-off-by: Trevor Gamblin --- .../python/python3-iso3166_2.0.2.bb | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-iso3166_2.0.2.bb (limited to 'meta-python/recipes-devtools/python/python3-iso3166_2.0.2.bb') diff --git a/meta-python/recipes-devtools/python/python3-iso3166_2.0.2.bb b/meta-python/recipes-devtools/python/python3-iso3166_2.0.2.bb new file mode 100644 index 0000000000..bc05f066a6 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-iso3166_2.0.2.bb @@ -0,0 +1,25 @@ +SUMMARY = "Self-contained ISO 3166-1 country definitions" +HOMEPAGE = "https://pypi.org/project/iso3166/" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=5e2f4edc7e7408a82e4a1d05f229b695" + +SRC_URI[sha256sum] = "04d02cfcfc18a6f8a9a4edb4d0a55e2e4fc575626c29d702f750de415e88d372" + +inherit pypi setuptools3 ptest + +SRC_URI += " \ + file://run-ptest \ +" + +RDEPENDS:${PN}-ptest += " \ + ${PYTHON_PN}-pytest \ +" + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/tests + cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ +} + +RDEPENDS:${PN} += "python3-numbers" + +BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf