diff options
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-pyasn1-modules_0.4.0.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-pyasn1-modules_0.4.0.bb | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pyasn1-modules_0.4.0.bb b/meta-python/recipes-devtools/python/python3-pyasn1-modules_0.4.0.bb new file mode 100644 index 0000000000..34f3639e53 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pyasn1-modules_0.4.0.bb | |||
| @@ -0,0 +1,31 @@ | |||
| 1 | SUMMARY = "A collection of ASN.1-based protocols modules." | ||
| 2 | DESCRIPTION = "A collection of ASN.1 modules expressed in form of pyasn1\ | ||
| 3 | classes. Includes protocols PDUs definition (SNMP, LDAP etc.) and various\ | ||
| 4 | data structures (X.509, PKCS etc.)." | ||
| 5 | HOMEPAGE = "https://github.com/etingof/pyasn1-modules" | ||
| 6 | LICENSE = "BSD-2-Clause" | ||
| 7 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=190f79253908c986e6cacf380c3a5f6d" | ||
| 8 | |||
| 9 | SRC_URI[sha256sum] = "831dbcea1b177b28c9baddf4c6d1013c24c3accd14a1873fffaa6a2e905f17b6" | ||
| 10 | |||
| 11 | PYPI_PACKAGE = "pyasn1_modules" | ||
| 12 | |||
| 13 | inherit pypi ptest setuptools3 | ||
| 14 | |||
| 15 | RDEPENDS:${PN} = "python3-pyasn1" | ||
| 16 | |||
| 17 | BBCLASSEXTEND = "native nativesdk" | ||
| 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 | } | ||
