From 763c3de2b460a5bcd8ea081ee57b231ffe2eb5aa Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Thu, 28 Nov 2024 12:38:54 +0200 Subject: python3-portion: Upgrade 2.5.0 -> 2.6.0 Upgrade to version 2.6.0: - The how function of combine can access the current interval if pass_interval Signed-off-by: Leon Anavi Signed-off-by: Khem Raj --- .../python/python3-portion_2.6.0.bb | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-portion_2.6.0.bb (limited to 'meta-python/recipes-devtools/python/python3-portion_2.6.0.bb') diff --git a/meta-python/recipes-devtools/python/python3-portion_2.6.0.bb b/meta-python/recipes-devtools/python/python3-portion_2.6.0.bb new file mode 100644 index 0000000000..31c6f07316 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-portion_2.6.0.bb @@ -0,0 +1,32 @@ +DESCRIPTION = "Python data structure and operations for intervals" +HOMEPAGE = "https://github.com/AlexandreDecan/portion" +SECTION = "devel/python" + +LICENSE = "LGPL-3.0-only" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3000208d539ec061b899bce1d9ce9404" + +inherit pypi python_setuptools_build_meta ptest + +SRC_URI[sha256sum] = "6fb538b57a92058f0edd360667694448aa3fc028ab97e41e3091359d14ba4dd5" + +SRC_URI += " \ + file://run-ptest \ +" + +RDEPENDS:${PN} += "\ + python3-sortedcontainers \ +" + +RDEPENDS:${PN}-ptest += " \ + python3-pytest \ + python3-unittest-automake-output \ +" + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/tests + # This file tests README.md and deleted as redundant. + rm -f ${S}/tests/test_doc.py + cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ +} + +BBCLASSEXTEND = "native" -- cgit v1.2.3-54-g00ecf