diff --git a/recipes-security/scapy/files/run-ptest b/recipes-security/scapy/files/run-ptest deleted file mode 100755 index 91b29f9..0000000 --- a/recipes-security/scapy/files/run-ptest +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -UTscapy -t regression.uts -f text -l -C \ - -o @PTEST_PATH@/scapy_ptest_$(date +%Y%m%d-%H%M%S).log \ - 2>&1 | sed -e 's/^passed None/PASS:/' -e 's/^failed None/FAIL:/' diff --git a/recipes-security/scapy/python-scapy.inc b/recipes-security/scapy/python-scapy.inc index 5abe7db..95e5312 100644 --- a/recipes-security/scapy/python-scapy.inc +++ b/recipes-security/scapy/python-scapy.inc @@ -5,15 +5,10 @@ LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://bin/scapy;beginline=9;endline=13;md5=1d5249872cc54cd4ca3d3879262d0c69" -SRC_URI[md5sum] = "d7d3c4294f5a718e234775d38dbeb7ec" -SRC_URI[sha256sum] = "452f714f5c2eac6fd0a6146b1dbddfc24dd5f4103f3ed76227995a488cfb2b73" +SRC_URI[md5sum] = "e6a03d8c924a6bbde1e86fc58bd2b9d6" +SRC_URI[sha256sum] = "1baa048936207ceb1a4281a0e1e3b4317667c754872a0bb4734c5213c468e86a" -inherit pypi ptest - -do_install_ptest() { - install -m 0644 ${S}/test/regression.uts ${D}${PTEST_PATH} - sed -i 's,@PTEST_PATH@,${PTEST_PATH},' ${D}${PTEST_PATH}/run-ptest -} +inherit pypi RDEPENDS_${PN} = "tcpdump ${PYTHON_PN}-compression ${PYTHON_PN}-netclient \ ${PYTHON_PN}-netserver ${PYTHON_PN}-pydoc ${PYTHON_PN}-pkgutil ${PYTHON_PN}-shell \ diff --git a/recipes-security/scapy/python-scapy_2.4.0.bb b/recipes-security/scapy/python-scapy_2.4.2.bb similarity index 74% rename from recipes-security/scapy/python-scapy_2.4.0.bb rename to recipes-security/scapy/python-scapy_2.4.2.bb index 98db1fd..ea8764a 100644 --- a/recipes-security/scapy/python-scapy_2.4.0.bb +++ b/recipes-security/scapy/python-scapy_2.4.2.bb @@ -1,6 +1,4 @@ inherit setuptools require python-scapy.inc -SRC_URI += "file://run-ptest" - RDEPENDS_${PN} += "${PYTHON_PN}-subprocess" diff --git a/recipes-security/scapy/python3-scapy_2.4.0.bb b/recipes-security/scapy/python3-scapy_2.4.2.bb similarity index 59% rename from recipes-security/scapy/python3-scapy_2.4.0.bb rename to recipes-security/scapy/python3-scapy_2.4.2.bb index 93ca7be..34eb2a3 100644 --- a/recipes-security/scapy/python3-scapy_2.4.0.bb +++ b/recipes-security/scapy/python3-scapy_2.4.2.bb @@ -1,4 +1,2 @@ inherit setuptools3 require python-scapy.inc - -SRC_URI += "file://run-ptest"