From 1120a6985c68f72dc72362cc75043ceda71f7661 Mon Sep 17 00:00:00 2001 From: Esben Haabendal <esben.haabendal@huawei.com> Date: Tue, 4 Jan 2022 10:59:45 +0100 Subject: [PATCH] python3-prompt-toolkit1: Inline python-prompt-toolkit.inc The python-prompt-toolkit.inc file were removed (consolidated with recipe file), so we need to inline it to be compatible with anything newer than dunfell. Signed-off-by: Esben Haabendal <esben.haabendal@huawei.com> --- .../python/python3-prompt-toolkit1_1.0.14.bb | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/recipes-devtools/python/python3-prompt-toolkit1_1.0.14.bb b/recipes-devtools/python/python3-prompt-toolkit1_1.0.14.bb index 3c60801..d9d43b7 100644 --- a/recipes-devtools/python/python3-prompt-toolkit1_1.0.14.bb +++ b/recipes-devtools/python/python3-prompt-toolkit1_1.0.14.bb @@ -3,16 +3,27 @@ # SPDX-License-Identifier: Apache-2.0 inherit pypi setuptools3 -require recipes-devtools/python/python-prompt-toolkit.inc SUMMARY = "Library for building powerful interactive command lines in Python (version 1.0)" HOMEPAGE = "https://github.com/prompt-toolkit/python-prompt-toolkit/" DOCS = "https://python-prompt-toolkit.readthedocs.io/en/1.0.14" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=b2cde7da89f0c1f3e49bf968d00d554f" + SRC_URI[md5sum] = "f24061ae133ed32c6b764e92bd48c496" SRC_URI[sha256sum] = "cc66413b1b4b17021675d9f2d15d57e640b06ddfd99bb724c73484126d22622f" -RDEPENDS_${PN} += "\ +PYPI_PACKAGE = "prompt_toolkit" + +RDEPENDS_${PN} += " \ + ${PYTHON_PN}-core \ + ${PYTHON_PN}-six \ + ${PYTHON_PN}-terminal \ + ${PYTHON_PN}-threading \ + ${PYTHON_PN}-wcwidth \ ${PYTHON_PN}-datetime \ ${PYTHON_PN}-shell \ " + +BBCLASSEXTEND = "native nativesdk" -- GitLab