summaryrefslogtreecommitdiff
path: root/meta-phosphor/recipes-devtools/python/python-pytest_%.bbappend
blob: e8dd736efa3c439290642fd9c9f95c0f6a366ccd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# python-pytest installs /usr/bin/pytest for both python2 and python3,
# which causes a bitbake QA failure.  Remove it from installation for the
# native target to avoid the collision.
#
# We don't currently use this as a target package and if we did, we shouldn't
# install both python2 and python3 variants.
#
# Once we are done with python2, we can delete this.

do_install_append_class-native() {
    rm ${D}${bindir}/py.test
    rm ${D}${bindir}/pytest
}