From 5eec5c33289f8035b16af2743321550ae3415d9d Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Tue, 14 Nov 2023 14:09:41 +0200 Subject: python3-polyline: upgrade 1.4.0 -> 2.0.1 Upgrade to version 2.0.1: - Relax setuptools version number License-Update: Copyright years changed Signed-off-by: Leon Anavi Signed-off-by: Khem Raj --- .../python/python3-polyline_2.0.1.bb | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-polyline_2.0.1.bb (limited to 'meta-python/recipes-devtools/python/python3-polyline_2.0.1.bb') diff --git a/meta-python/recipes-devtools/python/python3-polyline_2.0.1.bb b/meta-python/recipes-devtools/python/python3-polyline_2.0.1.bb new file mode 100644 index 0000000000..2eae0caf9c --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-polyline_2.0.1.bb @@ -0,0 +1,25 @@ +SUMMARY = "A Python implementation of Google's Encoded Polyline Algorithm Format" +HOMEPAGE = "https://github.com/frederickjansen/polyline" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=1fb8d1dc685695195bb3c1e48adfef48" + +SRC_URI[sha256sum] = "74cb5cea098dddf09d1a5a1f17af9184d371cbf3e9723de0194e530ec39ca1f6" + +inherit pypi python_setuptools_build_meta ptest + +RDEPENDS:${PN} += "python3-six" + +BBCLASSEXTEND = "native nativesdk" + +SRC_URI += " \ + file://run-ptest \ +" + +RDEPENDS:${PN}-ptest += " \ + ${PYTHON_PN}-pytest \ +" + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/test + cp -rf ${S}/tests/* ${D}${PTEST_PATH}/test/ +} -- cgit v1.2.3-54-g00ecf