commit:     1ee7db3586808b9b7df294a7a0cf50ccbccdf323
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Wed Sep  2 19:12:11 2020 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Wed Sep  2 19:15:27 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ee7db35

net-analyzer/scapy: Drop RDEPEND altogether

This reverts commit a0db5374facd3f05682a52550d240eb6443ee59e.

The documentation says libpcap should only be needed when it is used
directly, so there is no need for a hard dependency. Add it to the
documentation instead. Similarly a hard dependency on tcpdump should not
be required to use scapy.

Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>

 net-analyzer/scapy/scapy-2.4.4.ebuild | 6 ++----
 net-analyzer/scapy/scapy-9999.ebuild  | 6 ++----
 2 files changed, 4 insertions(+), 8 deletions(-)

diff --git a/net-analyzer/scapy/scapy-2.4.4.ebuild 
b/net-analyzer/scapy/scapy-2.4.4.ebuild
index ffc07d0630c..503c24d45f1 100644
--- a/net-analyzer/scapy/scapy-2.4.4.ebuild
+++ b/net-analyzer/scapy/scapy-2.4.4.ebuild
@@ -12,10 +12,6 @@ 
SRC_URI="https://github.com/secdev/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-RDEPEND="
-       net-analyzer/tcpdump
-       net-libs/libpcap
-"
 DOC_CONTENTS="
 Scapy has optional support for the following packages:
 
@@ -24,7 +20,9 @@ Scapy has optional support for the following packages:
        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""

diff --git a/net-analyzer/scapy/scapy-9999.ebuild 
b/net-analyzer/scapy/scapy-9999.ebuild
index 14629630479..a7ccbd8a5d2 100644
--- a/net-analyzer/scapy/scapy-9999.ebuild
+++ b/net-analyzer/scapy/scapy-9999.ebuild
@@ -12,10 +12,6 @@ EGIT_REPO_URI="https://github.com/secdev/${PN}";
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS=""
-RDEPEND="
-       net-analyzer/tcpdump
-       net-libs/libpcap
-"
 S=${WORKDIR}/${P/_/}
 DOC_CONTENTS="
 Scapy has optional support for the following packages:
@@ -25,7 +21,9 @@ Scapy has optional support for the following packages:
        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""

Reply via email to