From 20cf58d25e0bdedb94c0c03e1a4eeeccee79731b Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Thu, 20 Jan 2022 13:40:27 +0200 Subject: python3-twine: Upgrade 3.4.1 -> 3.7.1 Upgrade to release 3.7.1: - Fix broken link to packaging tutorial - Add support for core metadata version 2.2, defined in PEP 643. - Add support for Python 3.10 - Show more helpful messages for invalid passwords - Allow the --skip-existing option to work with GCP Artifact Registry - Add a helpful error message when an upload fails due to missing a trailing slash in the URL - Generalize --verbose suggestion when an upload fails Signed-off-by: Leon Anavi Signed-off-by: Khem Raj Signed-off-by: Trevor Gamblin --- .../recipes-devtools/python/python3-twine_3.4.1.bb | 14 ------------- .../recipes-devtools/python/python3-twine_3.7.1.bb | 23 ++++++++++++++++++++++ 2 files changed, 23 insertions(+), 14 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-twine_3.4.1.bb create mode 100644 meta-python/recipes-devtools/python/python3-twine_3.7.1.bb (limited to 'meta-python/recipes-devtools/python') diff --git a/meta-python/recipes-devtools/python/python3-twine_3.4.1.bb b/meta-python/recipes-devtools/python/python3-twine_3.4.1.bb deleted file mode 100644 index 111366dba0..0000000000 --- a/meta-python/recipes-devtools/python/python3-twine_3.4.1.bb +++ /dev/null @@ -1,14 +0,0 @@ -DESCRIPTION = "Utilities for interacting with PyPI" -HOMEPAGE = "https://twine.readthedocs.io/" -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://LICENSE;md5=a3d1106b253a8d50dd82a4202a045b4c" - -SRC_URI[sha256sum] = "a56c985264b991dc8a8f4234eb80c5af87fa8080d0c224ad8f2cd05a2c22e83b" - -inherit pypi setuptools3 - -DEPENDS += "\ - ${PYTHON_PN}-setuptools-scm-native \ -" - -BBCLASSEXTEND = "native" diff --git a/meta-python/recipes-devtools/python/python3-twine_3.7.1.bb b/meta-python/recipes-devtools/python/python3-twine_3.7.1.bb new file mode 100644 index 0000000000..bcc881e44f --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-twine_3.7.1.bb @@ -0,0 +1,23 @@ +DESCRIPTION = "Utilities for interacting with PyPI" +HOMEPAGE = "https://twine.readthedocs.io/" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=a3d1106b253a8d50dd82a4202a045b4c" + +SRC_URI[sha256sum] = "28460a3db6b4532bde6a5db6755cf2dce6c5020bada8a641bb2c5c7a9b1f35b8" + +inherit pypi setuptools3 + +DEPENDS += "\ + ${PYTHON_PN}-setuptools-scm-native \ +" + +RDEPENDS:${PN} += " \ + ${PYTHON_PN}-importlib-metadata \ +" + +do_compile:prepend() { + echo "from setuptools import setup" > ${S}/setup.py + echo "setup()" >> ${S}/setup.py +} + +BBCLASSEXTEND = "native" -- cgit v1.2.3-54-g00ecf