From 92abb5fac10144032f37d90c98fd5ee37ea51a83 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Fri, 12 Jun 2020 17:41:58 +0300 Subject: python3-jsonpointer: Consolidate in a single file Consolidate inc and bb files into a single bb file. Signed-off-by: Leon Anavi Acked-by: Trevor Gamblin Signed-off-by: Khem Raj --- .../python/python3-jsonpointer_2.0.bb | 29 ++++++++++++++++++++-- 1 file changed, 27 insertions(+), 2 deletions(-) (limited to 'meta-python/recipes-devtools/python/python3-jsonpointer_2.0.bb') diff --git a/meta-python/recipes-devtools/python/python3-jsonpointer_2.0.bb b/meta-python/recipes-devtools/python/python3-jsonpointer_2.0.bb index 8d0a09b432..68bfe97166 100644 --- a/meta-python/recipes-devtools/python/python3-jsonpointer_2.0.bb +++ b/meta-python/recipes-devtools/python/python3-jsonpointer_2.0.bb @@ -1,2 +1,27 @@ -inherit setuptools3 -require python-jsonpointer.inc +SUMMARY = "Resolve JSON Pointers in Python" +HOMEPAGE = "https://github.com/stefankoegl/python-json-pointer" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=32b15c843b7a329130f4e266a281ebb3" + +inherit pypi ptest setuptools3 + +SRC_URI[md5sum] = "741b98d0e693b08b5e44e0a9da5a7bb7" +SRC_URI[sha256sum] = "c192ba86648e05fdae4f08a17ec25180a9aef5008d973407b581798a83975362" + +RDEPENDS_${PN} += " \ + ${PYTHON_PN}-json \ +" + +BBCLASSEXTEND = "native nativesdk" + +SRC_URI += " \ + file://run-ptest \ +" + +RDEPENDS_${PN}-ptest += " \ + ${PYTHON_PN}-pytest \ +" + +do_install_ptest() { + cp -f ${S}/tests.py ${D}${PTEST_PATH}/ +} -- cgit v1.2.3-54-g00ecf