diff options
Diffstat (limited to 'meta-openembedded/meta-python/recipes-devtools/python/python3-wrapt_1.17.0.bb')
| -rw-r--r-- | meta-openembedded/meta-python/recipes-devtools/python/python3-wrapt_1.17.0.bb | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-wrapt_1.17.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-wrapt_1.17.0.bb new file mode 100644 index 0000000000..b72bafb6de --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-wrapt_1.17.0.bb @@ -0,0 +1,35 @@ +SUMMARY = "A Python module for decorators, wrappers and monkey patching." +HOMEPAGE = "http://wrapt.readthedocs.org/" +LICENSE = "BSD-2-Clause" +SECTION = "devel/python" +LIC_FILES_CHKSUM = "file://LICENSE;md5=dc34cbad60bc961452eb7ade801d25f7" + +SRC_URI[sha256sum] = "5f370f952971e7d17c7d1ead40e49f32345a7f7a5373571ef44d800d06b1899d" + +inherit setuptools3 ptest + +SRCREV = "e663d4910a81d666786ac773ad7c16199b01d31b" +SRC_URI += "git://github.com/GrahamDumpleton/wrapt;protocol=https;branch=develop \ + file://run-ptest \ +" + +S = "${WORKDIR}/git" + +# python3-misc for 'this' module +RDEPENDS:${PN}-ptest += " \ + python3-misc \ + python3-pytest \ + python3-unittest-automake-output \ +" + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/tests + cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ +} + +RDEPENDS:${PN}:class-target += "\ + python3-stringold \ + python3-threading \ +" + +BBCLASSEXTEND = "native" |
