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: Sat, 17 Feb 2018 08:40:03
Message-Id: 1518856798.5fb6919fb2c68d8dd96cf94a5640785edb9365f6.jer@gentoo
1 commit: 5fb6919fb2c68d8dd96cf94a5640785edb9365f6
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Sat Feb 17 08:39:16 2018 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Sat Feb 17 08:39:58 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5fb6919f
7
8 net-analyzer/scapy: Update live ebuild.
9
10 Package-Manager: Portage-2.3.24, Repoman-2.3.6
11
12 net-analyzer/scapy/scapy-9999.ebuild | 46 +++++++++++++++++++++++-------------
13 1 file changed, 30 insertions(+), 16 deletions(-)
14
15 diff --git a/net-analyzer/scapy/scapy-9999.ebuild b/net-analyzer/scapy/scapy-9999.ebuild
16 index 7d971be6c7c..fd432de87da 100644
17 --- a/net-analyzer/scapy/scapy-9999.ebuild
18 +++ b/net-analyzer/scapy/scapy-9999.ebuild
19 @@ -1,28 +1,42 @@
20 -# Copyright 1999-2017 Gentoo Foundation
21 +# Copyright 1999-2018 Gentoo Foundation
22 # Distributed under the terms of the GNU General Public License v2
23
24 -EAPI=5
25 -
26 -PYTHON_COMPAT=( python2_7 )
27 -
28 -inherit eutils distutils-r1 git-r3
29 +EAPI=6
30 +PYTHON_COMPAT=( python{2_7,3_{4,5,6}} )
31 +inherit eutils distutils-r1 git-r3 readme.gentoo-r1
32
33 DESCRIPTION="A Python interactive packet manipulation program for mastering the network"
34 -HOMEPAGE="http://www.secdev.org/projects/scapy/"
35 +HOMEPAGE="http://www.secdev.org/projects/scapy/ https://github.com/secdev/scapy"
36 EGIT_REPO_URI="https://github.com/secdev/${PN}"
37
38 LICENSE="GPL-2"
39 SLOT="0"
40 KEYWORDS=""
41 -IUSE="gnuplot pyx crypt graphviz imagemagick visual tcpreplay"
42 -
43 RDEPEND="
44 net-analyzer/tcpdump
45 - gnuplot? ( dev-python/gnuplot-py[${PYTHON_USEDEP}] )
46 - pyx? ( dev-python/pyx[${PYTHON_USEDEP}] )
47 - crypt? ( dev-python/pycrypto[${PYTHON_USEDEP}] )
48 - graphviz? ( media-gfx/graphviz )
49 - imagemagick? ( virtual/imagemagick-tools )
50 - visual? ( dev-python/visual )
51 - tcpreplay? ( net-analyzer/tcpreplay )
52 "
53 +S=${WORKDIR}/${P/_/}
54 +DOC_CONTENTS="
55 +Scapy has optional support for the following packages:
56 +
57 + dev-python/cryptography
58 + dev-python/gnuplot-py
59 + dev-python/pyx
60 + dev-python/visual
61 + media-gfx/graphviz
62 + net-analyzer/tcpreplay
63 + virtual/imagemagick-tools
64 +
65 + See also ${EPREFIX}/usr/share/doc/${PF}/installation.rst
66 +"
67 +
68 +src_prepare() {
69 + default
70 + echo ${PV/_/} > ${PN}/VERSION
71 +}
72 +
73 +src_install() {
74 + default
75 + dodoc -r doc/${PN}/*
76 + DISABLE_AUTOFORMATTING=plz readme.gentoo_create_doc
77 +}