meta-openembedded/meta-python/recipes-devtools/python/python3-attrs_20.1.0.bb
Leon Anavi bfe0635588 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 <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-08-25 10:34:00 -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] = "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"