python-pytest-runner: consolidate inc and bb files into a single bb file

Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Derek Straka 2020-04-04 14:21:03 -04:00 committed by Khem Raj
parent a874c6e281
commit 273ea761e1
2 changed files with 16 additions and 18 deletions

View File

@ -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"

View File

@ -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"