scapy: 2.4.2 bump

This commit is contained in:
blshkv 2019-01-13 11:52:56 +08:00
parent f17a4cc9e3
commit 9654e68a5c
No known key found for this signature in database
GPG key ID: 273E3E90D1A6294F
2 changed files with 54 additions and 0 deletions

View file

@ -1,2 +1,3 @@
DIST scapy-2.4.0.tar.gz 3182131 BLAKE2B af591b103c90736a5e62801f4c0ebd495e2e71c79ee81f04fdd194739b460c9940b8fcf0c6e279701095979144eff25ca4734926c0251721b37dc63fe8dd9e89 SHA512 0fe80150cd83db7735c9d0b70ec832a4e68eb5160ad8559e9b1bd79c52a9950ef7c9555ea2a1ee1dc8df1f055a885c52552c29e304faf40250ce9c502a5f870a
DIST scapy-2.4.0_p20181231.tar.gz 3331244 BLAKE2B 93f397b430725b2b4bd1a80ddc797621f4550ac0deb281f68242d30199247676cb9e50654a1ab2bada6591985e925d3ef79f3f6be336b7073e1363528276660a SHA512 3ab4d5633b2730c049ce39f9df44c76b2f0925eed0867fb9705894e83f49ac601701a1115a5b34ad8d059a7734b81e6f2f9f436ce05682679e1a59e711d74402
DIST scapy-2.4.2.tar.gz 3330071 BLAKE2B a40074594cd561b33d04364fba743fa5fe741b06b2ad8f8f9ebe9dfb0b9a3bc4f641cd16d99a4ba070fc0763d7cfeb8d3ecd056f162d509070cdd57d55d6ad9c SHA512 980f708a849ae26edca3eb6618a41668818c5883bca699f347f47a8964b3ee44a6ceefe4a12cb7d5fe6c13f5cbe2b7547938e53139f4ec9e6ef384e30c9bb6db

View file

@ -0,0 +1,53 @@
# Copyright 1999-2019 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python{2_7,3_{4,5,6}} )
inherit 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"
IUSE="3d gnuplot pyx crypt graphviz imagemagick tcpreplay"
RDEPEND="net-analyzer/tcpdump
3d? ( dev-python/vpython )
gnuplot? ( dev-python/gnuplot-py )
pyx? ( dev-python/pyx )
crypt? ( dev-python/cryptography )
graphviz? ( media-gfx/graphviz )
imagemagick? ( virtual/imagemagick-tools )
tcpreplay? ( net-analyzer/tcpreplay )
!<net-analyzer/scapy-2.3.3-r1"
S="${WORKDIR}/${P}"
DOC_CONTENTS="
Scapy has optional support for the following packages:
dev-python/cryptography
dev-python/gnuplot-py
dev-python/ipython
dev-python/pyx
media-gfx/graphviz
net-analyzer/tcpreplay
virtual/imagemagick-tools
See also \"${EPREFIX}\"/usr/share/doc/${PF}/installation.rst
"
#UML diagram
#dev-python/pylint
src_prepare() {
echo ${PV} > ${PN}/VERSION
distutils-r1_src_prepare
}
src_install() {
distutils-r1_src_install
dodoc -r doc/${PN}/*
DISABLE_AUTOFORMATTING=plz readme.gentoo_create_doc
}