Gentoo Archives: gentoo-commits

From: Jeroen Roovers <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/scapy/
Date: Wed, 02 Sep 2020 19:15:33
Message-Id: 1599074127.1ee7db3586808b9b7df294a7a0cf50ccbccdf323.jer@gentoo
1 commit: 1ee7db3586808b9b7df294a7a0cf50ccbccdf323
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Wed Sep 2 19:12:11 2020 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Wed Sep 2 19:15:27 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ee7db35
7
8 net-analyzer/scapy: Drop RDEPEND altogether
9
10 This reverts commit a0db5374facd3f05682a52550d240eb6443ee59e.
11
12 The documentation says libpcap should only be needed when it is used
13 directly, so there is no need for a hard dependency. Add it to the
14 documentation instead. Similarly a hard dependency on tcpdump should not
15 be required to use scapy.
16
17 Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>
18
19 net-analyzer/scapy/scapy-2.4.4.ebuild | 6 ++----
20 net-analyzer/scapy/scapy-9999.ebuild | 6 ++----
21 2 files changed, 4 insertions(+), 8 deletions(-)
22
23 diff --git a/net-analyzer/scapy/scapy-2.4.4.ebuild b/net-analyzer/scapy/scapy-2.4.4.ebuild
24 index ffc07d0630c..503c24d45f1 100644
25 --- a/net-analyzer/scapy/scapy-2.4.4.ebuild
26 +++ b/net-analyzer/scapy/scapy-2.4.4.ebuild
27 @@ -12,10 +12,6 @@ SRC_URI="https://github.com/secdev/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
28 LICENSE="GPL-2"
29 SLOT="0"
30 KEYWORDS="~amd64 ~x86"
31 -RDEPEND="
32 - net-analyzer/tcpdump
33 - net-libs/libpcap
34 -"
35 DOC_CONTENTS="
36 Scapy has optional support for the following packages:
37
38 @@ -24,7 +20,9 @@ Scapy has optional support for the following packages:
39 dev-python/matplotlib
40 dev-python/pyx
41 media-gfx/graphviz
42 + net-analyzer/tcpdump
43 net-analyzer/tcpreplay
44 + net-libs/libpcap
45 virtual/imagemagick-tools
46
47 See also ""${EPREFIX}/usr/share/doc/${PF}/installation.rst""
48
49 diff --git a/net-analyzer/scapy/scapy-9999.ebuild b/net-analyzer/scapy/scapy-9999.ebuild
50 index 14629630479..a7ccbd8a5d2 100644
51 --- a/net-analyzer/scapy/scapy-9999.ebuild
52 +++ b/net-analyzer/scapy/scapy-9999.ebuild
53 @@ -12,10 +12,6 @@ EGIT_REPO_URI="https://github.com/secdev/${PN}"
54 LICENSE="GPL-2"
55 SLOT="0"
56 KEYWORDS=""
57 -RDEPEND="
58 - net-analyzer/tcpdump
59 - net-libs/libpcap
60 -"
61 S=${WORKDIR}/${P/_/}
62 DOC_CONTENTS="
63 Scapy has optional support for the following packages:
64 @@ -25,7 +21,9 @@ Scapy has optional support for the following packages:
65 dev-python/matplotlib
66 dev-python/pyx
67 media-gfx/graphviz
68 + net-analyzer/tcpdump
69 net-analyzer/tcpreplay
70 + net-libs/libpcap
71 virtual/imagemagick-tools
72
73 See also ""${EPREFIX}/usr/share/doc/${PF}/installation.rst""