From 94597191f37753980a914b14d20712e4fef39d40 Mon Sep 17 00:00:00 2001 From: Trevor Gamblin Date: Tue, 21 May 2024 13:04:41 -0400 Subject: python3-pyproject-metadata: upgrade 0.7.1 -> 0.8.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Signed-off-by: Richard Purdie --- .../python/python3-pyproject-metadata_0.7.1.bb | 27 ---------------------- .../python/python3-pyproject-metadata_0.8.0.bb | 27 ++++++++++++++++++++++ 2 files changed, 27 insertions(+), 27 deletions(-) delete mode 100644 meta/recipes-devtools/python/python3-pyproject-metadata_0.7.1.bb create mode 100644 meta/recipes-devtools/python/python3-pyproject-metadata_0.8.0.bb diff --git a/meta/recipes-devtools/python/python3-pyproject-metadata_0.7.1.bb b/meta/recipes-devtools/python/python3-pyproject-metadata_0.7.1.bb deleted file mode 100644 index 8b9549f3d0..0000000000 --- a/meta/recipes-devtools/python/python3-pyproject-metadata_0.7.1.bb +++ /dev/null @@ -1,27 +0,0 @@ -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] = "0a94f18b108b9b21f3a26a3d541f056c34edcb17dc872a144a15618fed7aef67" - -RDEPENDS:${PN} += " \ - python3-logging \ - python3-packaging \ - python3-profile \ -" - -BBCLASSEXTEND = "native nativesdk" 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 @@ +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" -- cgit v1.2.3-54-g00ecf