From 7a19eeae41fa5eabc4413448db047064f5d20aaf Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Tue, 15 Sep 2020 12:02:57 +0300 Subject: python3-attrs: Upgrade 20.1.0 -> 20.2.0 Upgrade to release 20.2.0: - Backward-incompatible: attr.define(), attr.frozen(), attr.mutable(), and attr.field() remain provisional. - attr.define() et al now correct detect __eq__ and __ne__. - attr.define() et al's hybrid behavior now also works correctly when arguments are passed. - It's possible to define custom __setattr__ methods on slotted classes again. - In 20.1.0 we introduced the inherited attribute on the attr.Attribute class to differentiate attributes that have been inherited and those that have been defined directly on the class.It has shown to be problematic to involve that attribute when comparing instances of attr.Attribute though, because when sub-classing, attributes from base classes are suddenly not equal to themselves in a super class. Therefore the inherited attribute will now be ignored when hashing and comparing instances of attr.Attribute. - zope.interface is now a "soft dependency" when running the test suite; if zope.interface is not installed when running the test suite, the interface-related tests will be automatically skipped. - The ergonomics of creating frozen classes using @define(frozen=True) and sub-classing frozen classes has been improved: you don't have to set on_setattr=None anymore. #687 Signed-off-by: Leon Anavi Acked-by: Trevor Gamblin Signed-off-by: Khem Raj --- .../recipes-devtools/python/python3-attrs_20.1.0.bb | 20 -------------------- .../recipes-devtools/python/python3-attrs_20.2.0.bb | 20 ++++++++++++++++++++ 2 files changed, 20 insertions(+), 20 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-attrs_20.1.0.bb create mode 100644 meta-python/recipes-devtools/python/python3-attrs_20.2.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 deleted file mode 100644 index 371f1f0422..0000000000 --- a/meta-python/recipes-devtools/python/python3-attrs_20.1.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] = "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" 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 new file mode 100644 index 0000000000..c2a5b90515 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-attrs_20.2.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] = "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" -- cgit 1.2.3-korg