summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2018-02-17 09:39:16 +0100
committerJeroen Roovers <jer@gentoo.org>2018-02-17 09:39:58 +0100
commit5fb6919fb2c68d8dd96cf94a5640785edb9365f6 (patch)
treefa811e9b14acb66549bbbe5cee5065afe77695c8 /net-analyzer/scapy
parentwww-apache/passenger: remove unused patch (diff)
downloadgentoo-5fb6919fb2c68d8dd96cf94a5640785edb9365f6.tar.gz
gentoo-5fb6919fb2c68d8dd96cf94a5640785edb9365f6.tar.bz2
gentoo-5fb6919fb2c68d8dd96cf94a5640785edb9365f6.zip
net-analyzer/scapy: Update live ebuild.
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'net-analyzer/scapy')
-rw-r--r--net-analyzer/scapy/scapy-9999.ebuild46
1 files changed, 30 insertions, 16 deletions
diff --git a/net-analyzer/scapy/scapy-9999.ebuild b/net-analyzer/scapy/scapy-9999.ebuild
index 7d971be6c7c6..fd432de87da6 100644
--- a/net-analyzer/scapy/scapy-9999.ebuild
+++ b/net-analyzer/scapy/scapy-9999.ebuild
@@ -1,28 +1,42 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 )
-
-inherit eutils distutils-r1 git-r3
+EAPI=6
+PYTHON_COMPAT=( python{2_7,3_{4,5,6}} )
+inherit eutils distutils-r1 git-r3 readme.gentoo-r1
DESCRIPTION="A Python interactive packet manipulation program for mastering the network"
-HOMEPAGE="http://www.secdev.org/projects/scapy/"
+HOMEPAGE="http://www.secdev.org/projects/scapy/ https://github.com/secdev/scapy"
EGIT_REPO_URI="https://github.com/secdev/${PN}"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS=""
-IUSE="gnuplot pyx crypt graphviz imagemagick visual tcpreplay"
-
RDEPEND="
net-analyzer/tcpdump
- gnuplot? ( dev-python/gnuplot-py[${PYTHON_USEDEP}] )
- pyx? ( dev-python/pyx[${PYTHON_USEDEP}] )
- crypt? ( dev-python/pycrypto[${PYTHON_USEDEP}] )
- graphviz? ( media-gfx/graphviz )
- imagemagick? ( virtual/imagemagick-tools )
- visual? ( dev-python/visual )
- tcpreplay? ( net-analyzer/tcpreplay )
"
+S=${WORKDIR}/${P/_/}
+DOC_CONTENTS="
+Scapy has optional support for the following packages:
+
+ dev-python/cryptography
+ dev-python/gnuplot-py
+ dev-python/pyx
+ dev-python/visual
+ media-gfx/graphviz
+ net-analyzer/tcpreplay
+ virtual/imagemagick-tools
+
+ See also ${EPREFIX}/usr/share/doc/${PF}/installation.rst
+"
+
+src_prepare() {
+ default
+ echo ${PV/_/} > ${PN}/VERSION
+}
+
+src_install() {
+ default
+ dodoc -r doc/${PN}/*
+ DISABLE_AUTOFORMATTING=plz readme.gentoo_create_doc
+}