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 <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
This commit is contained in:
Leon Anavi
2022-01-20 13:40:27 +02:00
committed by Khem Raj
parent 904c89eaa2
commit 20cf58d25e
2 changed files with 23 additions and 14 deletions
@@ -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"
@@ -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"