summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--recipes-security/scapy/python-scapy.inc7
1 files changed, 0 insertions, 7 deletions
diff --git a/recipes-security/scapy/python-scapy.inc b/recipes-security/scapy/python-scapy.inc
index 99f30a7..baa69b2 100644
--- a/recipes-security/scapy/python-scapy.inc
+++ b/recipes-security/scapy/python-scapy.inc
@@ -12,13 +12,6 @@ SRC_URI = "git://github.com/secdev/scapy.git"
12 12
13inherit ptest 13inherit ptest
14 14
15do_install_append() {
16 if [ "${PYTHON_PN}" = "python3" ]; then
17 sed -i -e 's/python/python3/' ${D}${bindir}/scapy
18 sed -i -e 's/python/python3/' ${D}${bindir}/UTscapy
19 fi
20}
21
22do_install_ptest() { 15do_install_ptest() {
23 install -m 0644 ${S}/test/regression.uts ${D}${PTEST_PATH} 16 install -m 0644 ${S}/test/regression.uts ${D}${PTEST_PATH}
24 sed -i 's,@PTEST_PATH@,${PTEST_PATH},' ${D}${PTEST_PATH}/run-ptest 17 sed -i 's,@PTEST_PATH@,${PTEST_PATH},' ${D}${PTEST_PATH}/run-ptest