python3-cmd2: consolidate inc and bb files into a single bb file

Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Derek Straka
2020-02-14 17:56:59 -05:00
committed by Khem Raj
parent d5df1fe869
commit 90ca842c7a
2 changed files with 16 additions and 17 deletions

View File

@@ -1,13 +0,0 @@
SUMMARY = "Extra features for standard library's cmd module"
HOMEPAGE = "http://packages.python.org/cmd2/"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=9791cd24ca7d1807388ccd55cd066def"
SRC_URI[md5sum] = "6db66a06210d5f1edb44693b887ed62b"
SRC_URI[sha256sum] = "8ad12ef3cc46d03073c545b6e80a3f84a5921f6653073a60e7d9a7ff3b352c9e"
inherit pypi
DEPENDS += "${PYTHON_PN}-setuptools-scm-native"
BBCLASSEXTEND = "native nativesdk"

View File

@@ -1,9 +1,21 @@
inherit setuptools3
require python-cmd2.inc
SUMMARY = "Extra features for standard library's cmd module"
HOMEPAGE = "http://packages.python.org/cmd2/"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=9791cd24ca7d1807388ccd55cd066def"
DEPENDS += "${PYTHON_PN}-setuptools-scm-native"
SRC_URI[md5sum] = "6db66a06210d5f1edb44693b887ed62b"
SRC_URI[sha256sum] = "8ad12ef3cc46d03073c545b6e80a3f84a5921f6653073a60e7d9a7ff3b352c9e"
inherit pypi setuptools3
RDEPENDS_${PN} += "\
${PYTHON_PN}-attrs \
${PYTHON_PN}-colorama \
${PYTHON_PN}-pyperclip \
${PYTHON_PN}-colorama \
${PYTHON_PN}-attrs \
${PYTHON_PN}-wcwidth \
"
"
BBCLASSEXTEND = "native nativesdk"