diff options
Diffstat (limited to 'meta/recipes-devtools/python/python-pyasn1.inc')
-rw-r--r-- | meta/recipes-devtools/python/python-pyasn1.inc | 31 |
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 @@ | |||
1 | SUMMARY = "Python library implementing ASN.1 types." | ||
2 | HOMEPAGE = "http://pyasn1.sourceforge.net/" | ||
3 | LICENSE = "BSD-2-Clause" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=190f79253908c986e6cacf380c3a5f6d" | ||
5 | |||
6 | SRC_URI[sha256sum] = "3a35ab2c4b5ef98e17dfdec8ab074046fbda76e281c5a706ccd82328cfc8f64c" | ||
7 | |||
8 | RDEPENDS:${PN}:class-target += " \ | ||
9 | python3-codecs \ | ||
10 | python3-logging \ | ||
11 | python3-math \ | ||
12 | python3-shell \ | ||
13 | " | ||
14 | |||
15 | BBCLASSEXTEND = "native nativesdk" | ||
16 | |||
17 | inherit ptest | ||
18 | |||
19 | SRC_URI += " \ | ||
20 | file://run-ptest \ | ||
21 | " | ||
22 | |||
23 | RDEPENDS:${PN}-ptest += " \ | ||
24 | python3-pytest \ | ||
25 | python3-unittest-automake-output \ | ||
26 | " | ||
27 | |||
28 | do_install_ptest() { | ||
29 | install -d ${D}${PTEST_PATH}/tests | ||
30 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
31 | } | ||