python3-pdm: add recipe

Add pdm, a modern Python package and dependency manager supporting
the latest PEP standards. Version 2.10.1 brings:

- Fix list index out of range when build error message is empty
- Fix find_link sources being exported as --extra--index-url
- Fix an installation failure when install.cache = true
- Fix a resolution issue that extra dependencies are not resolved
  when the bare dependency has more specific version constraint

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Leon Anavi 2023-11-07 13:08:47 +02:00 committed by Khem Raj
parent 3ca88006d9
commit 0fd1c5280e

View File

@ -0,0 +1,15 @@
SUMMARY = "A modern Python package and dependency manager supporting the latest PEP standards"
HOMEPAGE = "https://pdm-project.org/latest/"
LICENSE = "MIT"
SECTION = "devel/python"
LIC_FILES_CHKSUM = "file://LICENSE;md5=2eb31a2cc1a758c34b499f287dd04ef2"
SRC_URI[sha256sum] = "d166531c659fc4905933546544dd2e16cf648c2ba6d898c82126ad6a42117a81"
inherit pypi python_setuptools_build_meta
DEPENDS += " \
${PYTHON_PN}-pdm-backend-native \
"
BBCLASSEXTEND = "native nativesdk"