mirror of
https://git.yoctoproject.org/poky
synced 2026-04-04 23:02:22 +02:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
7b7ffde50d
commit
94597191f3
@@ -0,0 +1,27 @@
|
||||
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"
|
||||
Reference in New Issue
Block a user