From 4642dd56b70e82d40ce68cf64605d8760997bac3 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Thu, 12 Nov 2020 12:56:18 +0200 Subject: python3-attrs: 20.2.0 -> 20.3.0 Upgrade to release 20.3.0: - attr.define(), attr.frozen(), attr.mutable(), and attr.field() remain provisional. - attr.s() now has a field_transformer hook that is called for all Attributes and returns a (modified or updated) list of Attribute instances. attr.asdict() has a value_serializer hook that can change the way values are converted. Both hooks are meant to help with data (de-)serialization workflows. - kw_only=True now works on Python 2. - raise from now works on frozen classes on PyPy. - attr.asdict() and attr.astuple() now treat frozensets like sets with regards to the retain_collection_types argument. - The type stubs for attr.s() and attr.make_class() are not missing the collect_by_mro argument anymore. Signed-off-by: Leon Anavi Acked-by: Trevor Gamblin Signed-off-by: Khem Raj --- .../recipes-devtools/python/python3-attrs_20.2.0.bb | 20 -------------------- .../recipes-devtools/python/python3-attrs_20.3.0.bb | 20 ++++++++++++++++++++ 2 files changed, 20 insertions(+), 20 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-attrs_20.2.0.bb create mode 100644 meta-python/recipes-devtools/python/python3-attrs_20.3.0.bb (limited to 'meta-python/recipes-devtools/python') diff --git a/meta-python/recipes-devtools/python/python3-attrs_20.2.0.bb b/meta-python/recipes-devtools/python/python3-attrs_20.2.0.bb deleted file mode 100644 index c2a5b90515..0000000000 --- a/meta-python/recipes-devtools/python/python3-attrs_20.2.0.bb +++ /dev/null @@ -1,20 +0,0 @@ -DESCRIPTION = "Classes Without Boilerplate" -HOMEPAGE = "http://www.attrs.org/" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=d4ab25949a73fe7d4fdee93bcbdbf8ff" - -SRC_URI[sha256sum] = "26b54ddbbb9ee1d34d5d3668dd37d6cf74990ab23c828c2888dccdceee395594" -SRC_URI[md5sum] = "7be95e1b35e9385d71a0017a48217efc" - -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" diff --git a/meta-python/recipes-devtools/python/python3-attrs_20.3.0.bb b/meta-python/recipes-devtools/python/python3-attrs_20.3.0.bb new file mode 100644 index 0000000000..55cfda7180 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-attrs_20.3.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] = "832aa3cde19744e49938b91fea06d69ecb9e649c93ba974535d08ad92164f700" +SRC_URI[md5sum] = "4fe38f89297b2b446d83190fce189f29" + +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