mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-12-14 14:25:53 +01:00
python3-parse-type: Do not ask for 2to3
It seems to work fine with py3 Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
This commit is contained in:
parent
bf9c1d7b2e
commit
c0113a4afa
|
|
@ -19,6 +19,11 @@ RDEPENDS:${PN}-ptest += " \
|
||||||
${PYTHON_PN}-pytest \
|
${PYTHON_PN}-pytest \
|
||||||
"
|
"
|
||||||
|
|
||||||
|
do_configure:prepend() {
|
||||||
|
sed -i -e "/python_version >= 3.0/d" ${S}/setup.py
|
||||||
|
sed -i -e "/use_2to3/d" ${S}/setup.py
|
||||||
|
}
|
||||||
|
|
||||||
do_install_ptest() {
|
do_install_ptest() {
|
||||||
install -d ${D}${PTEST_PATH}/tests
|
install -d ${D}${PTEST_PATH}/tests
|
||||||
cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
|
cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user