commit:     9039a8bbd737eabb1942d12ad9b321bbdd93ca63
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Thu May  8 17:14:28 2025 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Thu May  8 17:14:28 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9039a8bb

net-analyzer/scapy: drop 2.5.0

Closes: https://bugs.gentoo.org/910000
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 net-analyzer/scapy/Manifest           |  1 -
 net-analyzer/scapy/scapy-2.5.0.ebuild | 86 -----------------------------------
 2 files changed, 87 deletions(-)

diff --git a/net-analyzer/scapy/Manifest b/net-analyzer/scapy/Manifest
index 1571662b2675..e588041439d2 100644
--- a/net-analyzer/scapy/Manifest
+++ b/net-analyzer/scapy/Manifest
@@ -1,2 +1 @@
-DIST scapy-2.5.0.tar.gz 6082895 BLAKE2B 
2673de913d46532760dce93914916b909a4706d846e1e699c16f35b738cac8a073e23b194f9ed4647ade41170a04849ebd33ab3d0ba5b7f09fea8fa527e14c5d
 SHA512 
4e5cacff0bbf6fd991ea24f4680049d042082fae4b349c8082078e6f01b38c09bb5c8276bfba15d4a88a1eb5af92c505848ec98556b10eecbd803f134a5b244a
 DIST scapy-2.6.1.tar.gz 7048560 BLAKE2B 
5c930c3aa2d0a4d545cf64f10abd3aa962755e3fb712ea1613c4f49b159202a55e5ffadc527d429118958bad6e93f9626084d3ee974caaa6cb1733f05080d3f2
 SHA512 
4ab02f5b9dfcf329ee4f4837655066227b1e162e695d6cbe84ada4e2ff44589462a9843b0f16699ec974dcf6e0a81af3c5b088ceac48a679e9591f4cec0eedc8

diff --git a/net-analyzer/scapy/scapy-2.5.0.ebuild 
b/net-analyzer/scapy/scapy-2.5.0.ebuild
deleted file mode 100644
index 3d5ed9897729..000000000000
--- a/net-analyzer/scapy/scapy-2.5.0.ebuild
+++ /dev/null
@@ -1,86 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-# See https://github.com/secdev/scapy/pull/3958#discussion_r1161302244 on next
-# bump (>2.5.0)!
-
-PYTHON_COMPAT=( python3_{10..12} )
-inherit distutils-r1 readme.gentoo-r1
-
-DESCRIPTION="A Python interactive packet manipulation program for mastering 
the network"
-HOMEPAGE="https://scapy.net/ https://github.com/secdev/scapy";
-SRC_URI="https://github.com/secdev/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-BDEPEND="
-       test? (
-               dev-python/mock[${PYTHON_USEDEP}]
-               dev-python/zstandard[${PYTHON_USEDEP}]
-               net-libs/libpcap
-       )
-"
-
-DOC_CONTENTS="
-Scapy has optional support for the following packages:
-
-       dev-python/cryptography
-       dev-python/ipython
-       dev-python/matplotlib
-       dev-python/pyx
-       media-gfx/graphviz
-       net-analyzer/tcpdump
-       net-analyzer/tcpreplay
-       net-libs/libpcap
-       virtual/imagemagick-tools
-
-       See also ""${EPREFIX}/usr/share/doc/${PF}/installation.rst""
-"
-
-PATCHES=(
-       "${FILESDIR}"/${PN}-2.5.0-no-install-tests.patch
-)
-
-src_prepare() {
-       if ! [[ -f ${PN}/VERSION ]]; then
-               echo ${PV} > ${PN}/VERSION || die
-       else
-               die
-       fi
-
-       # Drop tests which need network
-       rm \
-               test/nmap.uts \
-               test/p0f.uts \
-               test/p0fv2.uts \
-               test/regression.uts \
-               test/scapy/layers/inet6.uts || die
-       # Timed out
-       rm test/tftp.uts || die
-       # Needs ipython
-       rm test/scapy/layers/dhcp.uts || die
-       # Import failure?
-       rm test/contrib/isotp_native_socket.uts \
-               test/contrib/isotpscan.uts \
-               test/contrib/isotp_soft_socket.uts || die
-
-       distutils-r1_src_prepare
-}
-
-python_test() {
-       # https://github.com/secdev/scapy/blob/master/tox.ini
-       "${EPYTHON}" -m scapy.tools.UTscapy -c ./test/configs/linux.utsc -N || 
die
-}
-
-src_install() {
-       distutils-r1_src_install
-
-       dodoc -r doc/${PN}/*
-       DISABLE_AUTOFORMATTING=1 readme.gentoo_create_doc
-}

Reply via email to