python3-scapy: upgrade 2.6.1 -> 2.7.0

Bump to the v2.7.0 tag. Rebase the ptest ICMPv6 skip patch: upstream
added a "needs_root" tag to the "Sending and receiving an
ICMPv6EchoRequest" test's tag line in test/regression.uts, so the
"skipped_ptest" tag now needs to be appended after "needs_root"
rather than replacing the whole line. With this rebase both hunks
apply with offset only (no fuzz).

Build-verified: python3-scapy builds and packages (including
-ptest) successfully.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
Khem Raj
2026-08-06 12:37:42 +00:00
parent b1568857c9
commit 47bdb0ff5f
2 changed files with 3 additions and 3 deletions
@@ -43,8 +43,8 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
sck.close()
= Sending and receiving an ICMPv6EchoRequest
-~ netaccess ipv6
+~ netaccess ipv6 skipped_ptest
-~ netaccess ipv6 needs_root
+~ netaccess ipv6 needs_root skipped_ptest
def _test():
with no_debug_dissector():
x = sr1(IPv6(dst="www.google.com")/ICMPv6EchoRequest(),timeout=3)
@@ -16,7 +16,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263"
# If you want ptest support, use the git repo
# UTscapy does not exist in the pypi pkg
#
SRCREV = "8e08cbf759de6709a5b4af6bea3655d293129bb4"
SRCREV = "1de09fe85fe5c9d60ea5c6de130374e170b5bc28"
SRC_URI = "git://github.com/secdev/scapy.git;branch=master;protocol=https;tag=v${PV} \
file://0001-python3-scapy-skip-ICMP-regression-tests-in-ptest.patch \
file://run-ptest"