1 |
commit: 8435230fb40a2f6cd10dc4c7523fd730cb421aa8 |
2 |
Author: Mike Auty <ikelos <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat May 4 14:33:19 2019 +0000 |
4 |
Commit: Mike Auty <ikelos <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat May 4 14:33:19 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8435230f |
7 |
|
8 |
net-analyzer/scapy: Bump to 2.4.2 for python3.7 support. |
9 |
|
10 |
Package-Manager: Portage-2.3.66, Repoman-2.3.12 |
11 |
Signed-off-by: Mike Auty <ikelos <AT> gentoo.org> |
12 |
|
13 |
net-analyzer/scapy/Manifest | 1 + |
14 |
net-analyzer/scapy/scapy-2.4.2.ebuild | 42 +++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 43 insertions(+) |
16 |
|
17 |
diff --git a/net-analyzer/scapy/Manifest b/net-analyzer/scapy/Manifest |
18 |
index 44a294809cc..d5967a0f305 100644 |
19 |
--- a/net-analyzer/scapy/Manifest |
20 |
+++ b/net-analyzer/scapy/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST scapy-2.3.2.tar.gz 1166056 BLAKE2B bce5f37bd833dc457089cdfebd2dc019c4f7bed636935b4a6b51a2cf7355f5761fadaa304e93c276daa2200c48ab0e1c0a08bd278e30dfea1faa01321a0b957e SHA512 6b15e102708d1bd0ca0c910e2d82416cd172634409f93c506542a7dc6b69ddc9c9afef6ec07929f70cc0f8f4c455cdc84d9b35bc2c5b72f79dd7e6785306dc7a |
23 |
DIST scapy-2.4.0.tar.gz 3182131 BLAKE2B af591b103c90736a5e62801f4c0ebd495e2e71c79ee81f04fdd194739b460c9940b8fcf0c6e279701095979144eff25ca4734926c0251721b37dc63fe8dd9e89 SHA512 0fe80150cd83db7735c9d0b70ec832a4e68eb5160ad8559e9b1bd79c52a9950ef7c9555ea2a1ee1dc8df1f055a885c52552c29e304faf40250ce9c502a5f870a |
24 |
+DIST scapy-2.4.2.tar.gz 3330071 BLAKE2B a40074594cd561b33d04364fba743fa5fe741b06b2ad8f8f9ebe9dfb0b9a3bc4f641cd16d99a4ba070fc0763d7cfeb8d3ecd056f162d509070cdd57d55d6ad9c SHA512 980f708a849ae26edca3eb6618a41668818c5883bca699f347f47a8964b3ee44a6ceefe4a12cb7d5fe6c13f5cbe2b7547938e53139f4ec9e6ef384e30c9bb6db |
25 |
|
26 |
diff --git a/net-analyzer/scapy/scapy-2.4.2.ebuild b/net-analyzer/scapy/scapy-2.4.2.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..113734a5127 |
29 |
--- /dev/null |
30 |
+++ b/net-analyzer/scapy/scapy-2.4.2.ebuild |
31 |
@@ -0,0 +1,42 @@ |
32 |
+# Copyright 1999-2019 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=6 |
36 |
+PYTHON_COMPAT=( python{2_7,3_{5,6,7}} ) |
37 |
+inherit distutils-r1 readme.gentoo-r1 |
38 |
+ |
39 |
+DESCRIPTION="A Python interactive packet manipulation program for mastering the network" |
40 |
+HOMEPAGE="http://www.secdev.org/projects/scapy/ https://github.com/secdev/scapy" |
41 |
+SRC_URI="https://github.com/secdev/${PN}/archive/v${PV/_/}.tar.gz -> ${P}.tar.gz" |
42 |
+ |
43 |
+LICENSE="GPL-2" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~amd64 ~x86" |
46 |
+RDEPEND=" |
47 |
+ net-analyzer/tcpdump |
48 |
+" |
49 |
+S=${WORKDIR}/${P/_/} |
50 |
+DOC_CONTENTS=" |
51 |
+Scapy has optional support for the following packages: |
52 |
+ |
53 |
+ dev-python/cryptography |
54 |
+ dev-python/gnuplot-py |
55 |
+ dev-python/ipython |
56 |
+ dev-python/pyx |
57 |
+ media-gfx/graphviz |
58 |
+ net-analyzer/tcpreplay |
59 |
+ virtual/imagemagick-tools |
60 |
+ |
61 |
+ See also ""${EPREFIX}/usr/share/doc/${PF}/installation.rst"" |
62 |
+" |
63 |
+ |
64 |
+src_prepare() { |
65 |
+ echo ${PV/_/} > ${PN}/VERSION |
66 |
+ distutils-r1_src_prepare |
67 |
+} |
68 |
+ |
69 |
+src_install() { |
70 |
+ distutils-r1_src_install |
71 |
+ dodoc -r doc/${PN}/* |
72 |
+ DISABLE_AUTOFORMATTING=plz readme.gentoo_create_doc |
73 |
+} |