mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
If pytest fallsback to pdb, it needs python-doctest module or
else it fails with:
Traceback (most recent call last):
File \"/usr/bin/pytest\", line 11, in <module>
load_entry_point('pytest==3.4.1', 'console_scripts', 'pytest')()
File \"/usr/lib64/python3.5/site-packages/pkg_resources/__init__.py\", line 572, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File \"/usr/lib64/python3.5/site-packages/pkg_resources/__init__.py\", line 2755, in load_entry_point
return ep.load()
File \"/usr/lib64/python3.5/site-packages/pkg_resources/__init__.py\", line 2408, in load
return self.resolve()
File \"/usr/lib64/python3.5/site-packages/pkg_resources/__init__.py\", line 2414, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File \"/usr/lib64/python3.5/site-packages/pytest.py\", line 17, in <module>
from _pytest.debugging import pytestPDB as __pytestPDB
File \"/usr/lib64/python3.5/site-packages/_pytest/debugging.py\", line 5, in <module>
from doctest import UnexpectedException
ImportError: No module named 'doctest'
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
26 lines
791 B
PHP
26 lines
791 B
PHP
SUMMARY = "Simple powerful teting with python"
|
|
HOMEPAGE = "http://pytest.org"
|
|
LICENSE = "MIT"
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=c39b24965f4aef64222cb35de9d47cc4"
|
|
|
|
SRC_URI[md5sum] = "6768537cbb150022387c565051904a1c"
|
|
SRC_URI[sha256sum] = "9ddcb879c8cc859d2540204b5399011f842e5e8823674bf429f70ada281b3cc6"
|
|
|
|
SRC_URI_append = " file://0001-setup.py-remove-the-setup_requires-for-setuptools-scm.patch \
|
|
file://pytest_version_fix.patch "
|
|
|
|
RDEPENDS_${PN}_class-target += " \
|
|
${PYTHON_PN}-attrs \
|
|
${PYTHON_PN}-debugger \
|
|
${PYTHON_PN}-doctest \
|
|
${PYTHON_PN}-json \
|
|
${PYTHON_PN}-pluggy \
|
|
${PYTHON_PN}-py \
|
|
${PYTHON_PN}-setuptools \
|
|
${PYTHON_PN}-six \
|
|
"
|
|
|
|
FILESEXTRAPATHS_prepend := "${THISDIR}/python-pytest:"
|
|
|
|
BBCLASSEXTEND = "native nativesdk"
|