mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
python3-pyasn1: Add from meta-oe/meta-python
(From OE-Core rev: eff589862d6f98845531b9870c0b727e2e7bf0d3) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
31
meta/recipes-devtools/python/python-pyasn1.inc
Normal file
31
meta/recipes-devtools/python/python-pyasn1.inc
Normal file
@@ -0,0 +1,31 @@
|
||||
SUMMARY = "Python library implementing ASN.1 types."
|
||||
HOMEPAGE = "http://pyasn1.sourceforge.net/"
|
||||
LICENSE = "BSD-2-Clause"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=a14482d15c2249de3b6f0e8a47e021fd"
|
||||
|
||||
SRC_URI[md5sum] = "dffae4ff9f997a83324b3f33fe62be54"
|
||||
SRC_URI[sha256sum] = "aef77c9fb94a3ac588e87841208bdec464471d9871bd5050a287cc9a475cd0ba"
|
||||
|
||||
RDEPENDS:${PN}:class-target += " \
|
||||
${PYTHON_PN}-codecs \
|
||||
${PYTHON_PN}-logging \
|
||||
${PYTHON_PN}-math \
|
||||
${PYTHON_PN}-shell \
|
||||
"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
||||
inherit ptest
|
||||
|
||||
SRC_URI += " \
|
||||
file://run-ptest \
|
||||
"
|
||||
|
||||
RDEPENDS:${PN}-ptest += " \
|
||||
${PYTHON_PN}-pytest \
|
||||
"
|
||||
|
||||
do_install_ptest() {
|
||||
install -d ${D}${PTEST_PATH}/tests
|
||||
cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
|
||||
}
|
||||
Reference in New Issue
Block a user