mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-04-20 11:38:34 +00:00
python-cmd2: Add python3 version
Providing a python3 version of python-cmd2. Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
13
meta-python/recipes-devtools/python/python-cmd2.inc
Normal file
13
meta-python/recipes-devtools/python/python-cmd2.inc
Normal file
@@ -0,0 +1,13 @@
|
||||
SUMMARY = "Extra features for standard library's cmd module"
|
||||
HOMEPAGE = "http://packages.python.org/cmd2/"
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=01aeabea7ae1529a8e4b674b7107d6bc"
|
||||
|
||||
SRC_URI[md5sum] = "df35bb2dca8f5e1f6090e1f0aa02960a"
|
||||
SRC_URI[sha256sum] = "4b78379d53aff811d1deac720bbe71661769822a5fb2d830cd730656d180fb3d"
|
||||
|
||||
inherit pypi
|
||||
|
||||
DEPENDS += "${PYTHON_PN}-setuptools-scm-native"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
@@ -1,14 +1,5 @@
|
||||
SUMMARY = "Extra features for standard library's cmd module"
|
||||
HOMEPAGE = "http://packages.python.org/cmd2/"
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=01aeabea7ae1529a8e4b674b7107d6bc"
|
||||
|
||||
SRC_URI[md5sum] = "df35bb2dca8f5e1f6090e1f0aa02960a"
|
||||
SRC_URI[sha256sum] = "4b78379d53aff811d1deac720bbe71661769822a5fb2d830cd730656d180fb3d"
|
||||
|
||||
inherit pypi setuptools
|
||||
|
||||
DEPENDS += "${PYTHON_PN}-setuptools-scm-native"
|
||||
inherit setuptools
|
||||
require python-cmd2.inc
|
||||
|
||||
RDEPENDS_${PN} += "\
|
||||
${PYTHON_PN}-doctest \
|
||||
@@ -21,5 +12,3 @@ RDEPENDS_${PN} += "\
|
||||
${PYTHON_PN}-threading \
|
||||
${PYTHON_PN}-textutils \
|
||||
"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
inherit setuptools3
|
||||
require python-cmd2.inc
|
||||
|
||||
RDEPENDS_${PN} += "\
|
||||
${PYTHON_PN}-pyperclip \
|
||||
${PYTHON_PN}-colorama \
|
||||
${PYTHON_PN}-attrs \
|
||||
${PYTHON_PN}-wcwidth \
|
||||
"
|
||||
Reference in New Issue
Block a user