commit:     625680dea1a5b93c1411817ef8dffafe8be13427
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 17 08:35:26 2018 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Sat Feb 17 08:35:48 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=625680de

net-analyzer/scapy: Version 2.4.0_rc4.

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 net-analyzer/scapy/Manifest               |  1 +
 net-analyzer/scapy/scapy-2.4.0_rc4.ebuild | 42 +++++++++++++++++++++++++++++++
 2 files changed, 43 insertions(+)

diff --git a/net-analyzer/scapy/Manifest b/net-analyzer/scapy/Manifest
index 388a178d7fb..5af32bb2417 100644
--- a/net-analyzer/scapy/Manifest
+++ b/net-analyzer/scapy/Manifest
@@ -1,2 +1,3 @@
 DIST scapy-2.3.2.tar.gz 1166056 BLAKE2B 
bce5f37bd833dc457089cdfebd2dc019c4f7bed636935b4a6b51a2cf7355f5761fadaa304e93c276daa2200c48ab0e1c0a08bd278e30dfea1faa01321a0b957e
 SHA512 
6b15e102708d1bd0ca0c910e2d82416cd172634409f93c506542a7dc6b69ddc9c9afef6ec07929f70cc0f8f4c455cdc84d9b35bc2c5b72f79dd7e6785306dc7a
 DIST scapy-2.3.3.tar.gz 1459132 BLAKE2B 
442e13853cfd4bac4984571367990ce03a2fc1a634564ed7e05641130d435818f161687c530f17280a20f1063aafeeeea35cb867fc2f7d78a4f3ae257dbb6f90
 SHA512 
47ca2eceafe7b693c569a92c106782037d869c323aaaec41cace07dfdeb3c6a7e9f7bc8ca1150b3c0daea54e6665f93eb1dfc3c511419cfa28eb2e0753bf9ba4
+DIST scapy-2.4.0_rc4.tar.gz 2472251 BLAKE2B 
720777e7d19ae1a312ccd78c6d005cf6f1f42fcac8f11956b2fb5521dac17ef477106cef2ee9a9384f764dd1aef337b010faed61f2fb34c3458b3a9c836eb4ed
 SHA512 
003d573fb8ec83029eca93fa9f6333f9a4b4a166ab355a19339194b6a7b8a772d692afeed8d19e0f9422caae326167f1acf819319327f3495dc389fc9a2ea811

diff --git a/net-analyzer/scapy/scapy-2.4.0_rc4.ebuild 
b/net-analyzer/scapy/scapy-2.4.0_rc4.ebuild
new file mode 100644
index 00000000000..7d578f7c086
--- /dev/null
+++ b/net-analyzer/scapy/scapy-2.4.0_rc4.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python{2_7,3_{4,5,6}} )
+inherit eutils distutils-r1 readme.gentoo-r1
+
+DESCRIPTION="A Python interactive packet manipulation program for mastering 
the network"
+HOMEPAGE="http://www.secdev.org/projects/scapy/ 
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 ~x86"
+RDEPEND="
+       net-analyzer/tcpdump
+"
+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
+}

Reply via email to