meta-openembedded/meta-python/recipes-devtools/python/python3-attrs_20.2.0.bb
Leon Anavi 7a19eeae41 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 <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-09-16 09:15:41 -07:00

21 lines
552 B
BlitzBasic

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"