From 273ea761e1446e69c118280266a75737a3d42a85 Mon Sep 17 00:00:00 2001 From: Derek Straka Date: Sat, 4 Apr 2020 14:21:03 -0400 Subject: python-pytest-runner: consolidate inc and bb files into a single bb file Signed-off-by: Derek Straka Signed-off-by: Khem Raj --- .../recipes-devtools/python/python-pytest-runner.inc | 16 ---------------- .../python/python3-pytest-runner_5.2.bb | 18 ++++++++++++++++-- 2 files changed, 16 insertions(+), 18 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python-pytest-runner.inc (limited to 'meta-python') diff --git a/meta-python/recipes-devtools/python/python-pytest-runner.inc b/meta-python/recipes-devtools/python/python-pytest-runner.inc deleted file mode 100644 index 0b443b3d61..0000000000 --- a/meta-python/recipes-devtools/python/python-pytest-runner.inc +++ /dev/null @@ -1,16 +0,0 @@ -SUMMARY = "Invoke py.test as distutils command with dependency resolution" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=a33f38bbf47d48c70fe0d40e5f77498e" - -SRC_URI[md5sum] = "e5f66b8e8e87f62c59631c35c919d321" -SRC_URI[sha256sum] = "96c7e73ead7b93e388c5d614770d2bae6526efd997757d3543fe17b557a0942b" - -inherit pypi - -DEPENDS += " \ - ${PYTHON_PN}-setuptools-scm-native" - -RDEPENDS_${PN} = "${PYTHON_PN}-py ${PYTHON_PN}-setuptools ${PYTHON_PN}-debugger ${PYTHON_PN}-json \ - ${PYTHON_PN}-io" - -BBCLASSEXTEND = "native nativesdk" diff --git a/meta-python/recipes-devtools/python/python3-pytest-runner_5.2.bb b/meta-python/recipes-devtools/python/python3-pytest-runner_5.2.bb index df56ba6d47..d00cd48739 100644 --- a/meta-python/recipes-devtools/python/python3-pytest-runner_5.2.bb +++ b/meta-python/recipes-devtools/python/python3-pytest-runner_5.2.bb @@ -1,2 +1,16 @@ -inherit setuptools3 -require python-pytest-runner.inc +SUMMARY = "Invoke py.test as distutils command with dependency resolution" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=a33f38bbf47d48c70fe0d40e5f77498e" + +SRC_URI[md5sum] = "e5f66b8e8e87f62c59631c35c919d321" +SRC_URI[sha256sum] = "96c7e73ead7b93e388c5d614770d2bae6526efd997757d3543fe17b557a0942b" + +inherit pypi setuptools3 + +DEPENDS += " \ + ${PYTHON_PN}-setuptools-scm-native" + +RDEPENDS_${PN} = "${PYTHON_PN}-py ${PYTHON_PN}-setuptools ${PYTHON_PN}-debugger ${PYTHON_PN}-json \ + ${PYTHON_PN}-io" + +BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf