diff options
| author | Trevor Gamblin <tgamblin@baylibre.com> | 2024-05-21 13:04:41 -0400 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-05-23 11:26:39 +0100 |
| commit | 94597191f37753980a914b14d20712e4fef39d40 (patch) | |
| tree | 4936e8e318290e391389934f1e4ead7ef756786a /meta/recipes-devtools/python/python3-pyproject-metadata_0.8.0.bb | |
| parent | 7b7ffde50dbc20f101c83059c953347766fbfd5e (diff) | |
| download | poky-94597191f37753980a914b14d20712e4fef39d40.tar.gz | |
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>
Diffstat (limited to 'meta/recipes-devtools/python/python3-pyproject-metadata_0.8.0.bb')
| -rw-r--r-- | meta/recipes-devtools/python/python3-pyproject-metadata_0.8.0.bb | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3-pyproject-metadata_0.8.0.bb b/meta/recipes-devtools/python/python3-pyproject-metadata_0.8.0.bb new file mode 100644 index 0000000000..8d00826f86 --- /dev/null +++ b/meta/recipes-devtools/python/python3-pyproject-metadata_0.8.0.bb | |||
| @@ -0,0 +1,27 @@ | |||
| 1 | SUMMARY = "PEP 621 metadata parsing" | ||
| 2 | DESCRIPTION = "Dataclass for PEP 621 metadata with support for core \ | ||
| 3 | metadata generation \ | ||
| 4 | \ | ||
| 5 | This project does not implement the parsing of pyproject.toml containing \ | ||
| 6 | PEP 621 metadata.\ | ||
| 7 | \ | ||
| 8 | Instead, given a Python data structure representing PEP 621 metadata \ | ||
| 9 | (already parsed), it will validate this input and generate a \ | ||
| 10 | PEP 643-compliant metadata file (e.g. PKG-INFO)." | ||
| 11 | HOMEPAGE = "https://github.com/FFY00/python-pyproject-metadata" | ||
| 12 | LICENSE = "MIT" | ||
| 13 | LIC_FILES_CHKSUM = "file://LICENSE;md5=310439af287b0fb4780b2ad6907c256c" | ||
| 14 | |||
| 15 | PYPI_PACKAGE = "pyproject_metadata" | ||
| 16 | |||
| 17 | inherit pypi python_setuptools_build_meta | ||
| 18 | |||
| 19 | SRC_URI[sha256sum] = "376d5a00764ac29440a54579f88e66b7d9cb7e629d35c35a1c7248bfebc9b455" | ||
| 20 | |||
| 21 | RDEPENDS:${PN} += " \ | ||
| 22 | python3-logging \ | ||
| 23 | python3-packaging \ | ||
| 24 | python3-profile \ | ||
| 25 | " | ||
| 26 | |||
| 27 | BBCLASSEXTEND = "native nativesdk" | ||
