From b8fcd1cebc947545d90313fdb498b58f4e216d57 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Wed, 14 Sep 2022 14:58:30 +0300 Subject: python3-portion: Upgrade 2.2.0 -> 2.3.0 Upgrade to release 2.3.0: - Support Python 3.10. - IntervalDict.as_dict has an optional atomic=False parameter that, if set to True, returns intervals that are atomic. - Experimental support for structural pattern matching (on left, lower, upper and right). - (breaking) For consistency, the empty interval is never <, >, <=, nor >= when compared to another interval. - Comparing an interval and a value is deprecated since it is ill-defined when the value is on the left of <= or >=. Convert values to singletons first. Signed-off-by: Leon Anavi Signed-off-by: Khem Raj --- .../recipes-devtools/python/python3-portion_2.3.0.bb | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-portion_2.3.0.bb (limited to 'meta-python/recipes-devtools/python/python3-portion_2.3.0.bb') diff --git a/meta-python/recipes-devtools/python/python3-portion_2.3.0.bb b/meta-python/recipes-devtools/python/python3-portion_2.3.0.bb new file mode 100644 index 0000000000..1638d64c32 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-portion_2.3.0.bb @@ -0,0 +1,16 @@ +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=05f1e16a8e59ce3e9a979e881816c2ab" + +inherit pypi setuptools3 + +SRC_URI[sha256sum] = "0e9d42838099263201b25517e4c1bd57042b5fe44432d6df38cef72d84d1eb1f" + +RDEPENDS:${PN} = "\ + ${PYTHON_PN}-sortedcontainers \ +" + +BBCLASSEXTEND = "native" -- cgit v1.2.3-54-g00ecf