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 <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
This commit is contained in:
Leon Anavi 2022-02-23 15:17:17 +02:00 committed by Khem Raj
parent d076ac1d8f
commit 3b64db4722
2 changed files with 4 additions and 5 deletions

View File

@ -1,3 +1,3 @@
#!/bin/sh
pytest test.py
pytest test_ordered_set.py

View File

@ -1,10 +1,9 @@
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=2b36be0d99854aa2ae292a800a7c1d4e"
LIC_FILES_CHKSUM = "file://MIT-LICENSE;md5=3bf5e1ad64c0d99032c3143361fa234e"
SRC_URI[md5sum] = "5d88f3870c32d4868b28c8fe833f7e74"
SRC_URI[sha256sum] = "ba93b2df055bca202116ec44b9bead3df33ea63a7d5827ff8e16738b97f33a95"
SRC_URI[sha256sum] = "694a8e44c87657c59292ede72891eb91d34131f6531463aab3009191c77364a8"
inherit pypi setuptools3 ptest
@ -19,5 +18,5 @@ RDEPENDS:${PN}-ptest += " \
"
do_install_ptest() {
cp -f ${S}/test.py ${D}${PTEST_PATH}/
cp -f ${S}/test/test_ordered_set.py ${D}${PTEST_PATH}/
}