Files
poky/meta/recipes-devtools/python/python3-pyproject-metadata_0.8.0.bb
Trevor Gamblin 94597191f3 python3-pyproject-metadata: upgrade 0.7.1 -> 0.8.0
PYPI_PACKAGE is updated since the upstream now uses an underscore in the
package name.

Changelog (https://pep621.readthedocs.io/en/stable/changelog.html#id1):

  - Support specifying the metadata_version as 2.1, 2.2, or 2.3
  - Always normalize extras following PEP 685
  - Preserve the user-specified name style in the metadata. .canonical_name added to get the normalized name
  - Require “version” in the dynamic table if unset (following PEP 621)
  - Support extras using markers containing “or”
  - Support empty extras
  - Using .as_rfc822() no longer modifies the metadata object
  - Fix email-author listing for names containing commas
  - Separate core metadata keywords with commas, following the (modified) spec
  - An error message reported project.license instead of project.readme
  - Produce slightly cleaner tracebacks Fix a typo in an exception message
  - Subclasses now type check correctly
  - The build backend is now flit-core

(From OE-Core rev: 1379db3fd060a0407919fde680922045443913e0)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-23 11:26:39 +01:00

28 lines
862 B
BlitzBasic

SUMMARY = "PEP 621 metadata parsing"
DESCRIPTION = "Dataclass for PEP 621 metadata with support for core \
metadata generation \
\
This project does not implement the parsing of pyproject.toml containing \
PEP 621 metadata.\
\
Instead, given a Python data structure representing PEP 621 metadata \
(already parsed), it will validate this input and generate a \
PEP 643-compliant metadata file (e.g. PKG-INFO)."
HOMEPAGE = "https://github.com/FFY00/python-pyproject-metadata"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=310439af287b0fb4780b2ad6907c256c"
PYPI_PACKAGE = "pyproject_metadata"
inherit pypi python_setuptools_build_meta
SRC_URI[sha256sum] = "376d5a00764ac29440a54579f88e66b7d9cb7e629d35c35a1c7248bfebc9b455"
RDEPENDS:${PN} += " \
python3-logging \
python3-packaging \
python3-profile \
"
BBCLASSEXTEND = "native nativesdk"