From 3b64db47223006c6f6b4437a278bed0f3b568d42 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Wed, 23 Feb 2022 15:17:17 +0200 Subject: python3-ordered-set: Upgrade 4.0.2 -> 4.1.0 Upgrade to release 4.1.0: - Packaged using flit. Wheels now exist, and setuptools is no longer required. - This package now has a typical package structure, instead of being a single module. The code is in ordered_set/__init__.py instead of ordered_set.py. - There is an ordered_set/py.typed so that type checkers know about the types. - Use the type aliases SetLike[T] and OrderedSetInitializer[T] to simplify some types. - Updated the way overloaded type signatures are written to what MyPy currently expects. - Minimum Python version is 3.7. License-Update: Update years Signed-off-by: Leon Anavi Signed-off-by: Khem Raj Signed-off-by: Trevor Gamblin --- .../python/python3-ordered-set_4.1.0.bb | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-ordered-set_4.1.0.bb (limited to 'meta-python/recipes-devtools/python/python3-ordered-set_4.1.0.bb') diff --git a/meta-python/recipes-devtools/python/python3-ordered-set_4.1.0.bb b/meta-python/recipes-devtools/python/python3-ordered-set_4.1.0.bb new file mode 100644 index 0000000000..2740b33551 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-ordered-set_4.1.0.bb @@ -0,0 +1,22 @@ +SUMMARY = "A MutableSet that remembers its order, so that every entry has an index." +HOMEPAGE = "http://github.com/LuminosoInsight/ordered-set" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://MIT-LICENSE;md5=3bf5e1ad64c0d99032c3143361fa234e" + +SRC_URI[sha256sum] = "694a8e44c87657c59292ede72891eb91d34131f6531463aab3009191c77364a8" + +inherit pypi setuptools3 ptest + +DEPENDS += "python3-pytest-runner-native" + +SRC_URI += " \ + file://run-ptest \ +" + +RDEPENDS:${PN}-ptest += " \ + ${PYTHON_PN}-pytest \ +" + +do_install_ptest() { + cp -f ${S}/test/test_ordered_set.py ${D}${PTEST_PATH}/ +} -- cgit v1.2.3-54-g00ecf