diff mbox series

[06/10] python3-pyproject-metadata: upgrade 0.7.1 -> 0.8.0

Message ID 20240521170445.1892398-6-tgamblin@baylibre.com
State Accepted, archived
Commit 1379db3fd060a0407919fde680922045443913e0
Headers show
Series [01/10] python3-hypothesis: upgrade 6.100.1 -> 6.102.4 | expand

Commit Message

Trevor Gamblin May 21, 2024, 5:04 p.m. UTC
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

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
---
 ...-metadata_0.7.1.bb => python3-pyproject-metadata_0.8.0.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-devtools/python/{python3-pyproject-metadata_0.7.1.bb => python3-pyproject-metadata_0.8.0.bb} (85%)
diff mbox series

Patch

diff --git a/meta/recipes-devtools/python/python3-pyproject-metadata_0.7.1.bb b/meta/recipes-devtools/python/python3-pyproject-metadata_0.8.0.bb
similarity index 85%
rename from meta/recipes-devtools/python/python3-pyproject-metadata_0.7.1.bb
rename to meta/recipes-devtools/python/python3-pyproject-metadata_0.8.0.bb
index 8b9549f3d07..8d00826f86c 100644
--- a/meta/recipes-devtools/python/python3-pyproject-metadata_0.7.1.bb
+++ b/meta/recipes-devtools/python/python3-pyproject-metadata_0.8.0.bb
@@ -12,11 +12,11 @@  HOMEPAGE = "https://github.com/FFY00/python-pyproject-metadata"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=310439af287b0fb4780b2ad6907c256c"
 
-PYPI_PACKAGE = "pyproject-metadata"
+PYPI_PACKAGE = "pyproject_metadata"
 
 inherit pypi python_setuptools_build_meta
 
-SRC_URI[sha256sum] = "0a94f18b108b9b21f3a26a3d541f056c34edcb17dc872a144a15618fed7aef67"
+SRC_URI[sha256sum] = "376d5a00764ac29440a54579f88e66b7d9cb7e629d35c35a1c7248bfebc9b455"
 
 RDEPENDS:${PN} += " \
     python3-logging \