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 <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Leon Anavi
2022-09-14 14:58:30 +03:00
committed by Khem Raj
parent 9f623d78e5
commit b8fcd1cebc

View File

@@ -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"