diff options
Diffstat (limited to 'meta-python/recipes-devtools/python')
-rw-r--r-- | meta-python/recipes-devtools/python/python3-parse-type_0.5.2.bb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-parse-type_0.5.2.bb b/meta-python/recipes-devtools/python/python3-parse-type_0.5.2.bb index 39812a17cd..7eebbfb503 100644 --- a/meta-python/recipes-devtools/python/python3-parse-type_0.5.2.bb +++ b/meta-python/recipes-devtools/python/python3-parse-type_0.5.2.bb | |||
@@ -19,6 +19,11 @@ RDEPENDS:${PN}-ptest += " \ | |||
19 | ${PYTHON_PN}-pytest \ | 19 | ${PYTHON_PN}-pytest \ |
20 | " | 20 | " |
21 | 21 | ||
22 | do_configure:prepend() { | ||
23 | sed -i -e "/python_version >= 3.0/d" ${S}/setup.py | ||
24 | sed -i -e "/use_2to3/d" ${S}/setup.py | ||
25 | } | ||
26 | |||
22 | do_install_ptest() { | 27 | do_install_ptest() { |
23 | install -d ${D}${PTEST_PATH}/tests | 28 | install -d ${D}${PTEST_PATH}/tests |
24 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | 29 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ |