From bfe063558830950a6b120bc247be416ae5fac197 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Mon, 24 Aug 2020 12:14:57 +0300 Subject: python3-attrs: Upgrade 19.3.0 -> 20.1.0 Upgrade to release 20.1.0: - Python 3.4 is not supported anymore. - Added attr.resolve_types(). It ensures that all forward-references and types in string form are resolved into concrete types. - Added @attr.s(collect_by_mro=False) argument that if set to True fixes the collection of attributes from base classes. - On Python 3, all generated methods now have a docstring explaining that they have been created by attrs. - Fixed a ValueError: Cell is empty bug that could happen in some rare edge cases. - Added attr.converters.pipe(). The feature allows combining multiple conversion callbacks into one by piping the value through all of them, and retuning the last result. - Provisionally added attr.field() that supplants attr.ib(). Signed-off-by: Leon Anavi Acked-by: Trevor Gamblin Signed-off-by: Khem Raj --- .../recipes-devtools/python/python3-attrs_20.1.0.bb | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-attrs_20.1.0.bb (limited to 'meta-python/recipes-devtools/python/python3-attrs_20.1.0.bb') diff --git a/meta-python/recipes-devtools/python/python3-attrs_20.1.0.bb b/meta-python/recipes-devtools/python/python3-attrs_20.1.0.bb new file mode 100644 index 0000000000..371f1f0422 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-attrs_20.1.0.bb @@ -0,0 +1,20 @@ +DESCRIPTION = "Classes Without Boilerplate" +HOMEPAGE = "http://www.attrs.org/" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=d4ab25949a73fe7d4fdee93bcbdbf8ff" + +SRC_URI[sha256sum] = "0ef97238856430dcf9228e07f316aefc17e8939fc8507e18c6501b761ef1a42a" +SRC_URI[md5sum] = "ab7533fc91c5db3d5b65e66be907444e" + +inherit pypi setuptools3 + +RDEPENDS_${PN}_class-target += " \ + ${PYTHON_PN}-crypt \ + ${PYTHON_PN}-ctypes \ +" +RDEPENDS_${PN}_class-nativesdk += " \ + ${PYTHON_PN}-crypt \ + ${PYTHON_PN}-ctypes \ +" + +BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf