summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python-pyasn1.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/python/python-pyasn1.inc')
-rw-r--r--meta/recipes-devtools/python/python-pyasn1.inc31
1 files changed, 31 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python-pyasn1.inc b/meta/recipes-devtools/python/python-pyasn1.inc
new file mode 100644
index 0000000000..7b269f2940
--- /dev/null
+++ b/meta/recipes-devtools/python/python-pyasn1.inc
@@ -0,0 +1,31 @@
1SUMMARY = "Python library implementing ASN.1 types."
2HOMEPAGE = "http://pyasn1.sourceforge.net/"
3LICENSE = "BSD-2-Clause"
4LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=190f79253908c986e6cacf380c3a5f6d"
5
6SRC_URI[sha256sum] = "3a35ab2c4b5ef98e17dfdec8ab074046fbda76e281c5a706ccd82328cfc8f64c"
7
8RDEPENDS:${PN}:class-target += " \
9 python3-codecs \
10 python3-logging \
11 python3-math \
12 python3-shell \
13"
14
15BBCLASSEXTEND = "native nativesdk"
16
17inherit ptest
18
19SRC_URI += " \
20 file://run-ptest \
21 "
22
23RDEPENDS:${PN}-ptest += " \
24 python3-pytest \
25 python3-unittest-automake-output \
26"
27
28do_install_ptest() {
29 install -d ${D}${PTEST_PATH}/tests
30 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
31}