From 70b03bf984041bacb3d6ea9b3cf05d99d87c0dd6 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Sat, 22 Aug 2020 02:45:01 +0300 Subject: python3-nocaselist: Add recipe MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add recipe for nocaselist, a case-insensitive list for Python. Changelog for 1.0.1: - Fixed the incorrect behavior of the ‘+’ and ‘+=’ operators to now (correctly) treat the right hand operand as an iterable of items to be added, instead of (incorrectly) as a single item. For ‘+’, the right hand operand now must be a list, consistent with the built-in list class. - Fixed the incorrect behavior of the * and *= operators to now validate that the number is an integer and raise TypeError otherwise, consistent with the built-in list class. Signed-off-by: Leon Anavi Acked-by: Trevor Gamblin Signed-off-by: Khem Raj --- meta-python/recipes-devtools/python/python3-nocaselist_1.0.1.bb | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-nocaselist_1.0.1.bb (limited to 'meta-python/recipes-devtools/python') diff --git a/meta-python/recipes-devtools/python/python3-nocaselist_1.0.1.bb b/meta-python/recipes-devtools/python/python3-nocaselist_1.0.1.bb new file mode 100644 index 0000000000..9a6b24e758 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-nocaselist_1.0.1.bb @@ -0,0 +1,9 @@ +SUMMARY = "A case-insensitive list for Python" +HOMEPAGE = "https://nocaselist.readthedocs.io/en/latest/" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" + +SRC_URI[md5sum] = "a2654766ee683906ba6c77ac1e89f556" +SRC_URI[sha256sum] = "87dc37f97cf52f6e10e1e4a82f56359067462a713222b52976045bf227a40eda" + +inherit pypi setuptools3 -- cgit v1.2.3-54-g00ecf