mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-06 08:25:01 +01:00
scapy-2.4.5.ebuild
This commit is contained in:
parent
dbd8017e06
commit
078f2a6cb8
2 changed files with 47 additions and 0 deletions
|
|
@ -1 +1,2 @@
|
|||
DIST scapy-2.4.4_p20210227.tar.gz 3318442 BLAKE2B a1e232f658d43a6171dbec9743e0c7363ea261d9ed3611d90e0ed9e8cd0acb7682bc950f798ac36b3bb4c12d87094d455471436c00bc31f40de987e395c55213 SHA512 5ecb84ce210b1bb0334245c1e864f16b821db105a2e8c04033b87cabc1af0a0b7847e893c97aaa721677fe156c1dc7606d2c3498a7c50039d141879e33657cf5
|
||||
DIST scapy-2.4.5.tar.gz 3323309 BLAKE2B af94b3ec6324c4544aca25f63bcca8aa60a3b1cbbf132d3ed07b5bc73b95e4298bf250e65157bdb7851226fd0ac039367892a9a14d844e5815832ad4ab556819 SHA512 b5ccd689f7bd4fbbb86921a35360b94ec7a738b494f16e4764828689835296016bc476825add798406e4d32761d8df90b41ce7e38049afdabf98397b1bf5982a
|
||||
|
|
|
|||
46
net-analyzer/scapy/scapy-2.4.5.ebuild
Normal file
46
net-analyzer/scapy/scapy-2.4.5.ebuild
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
PYTHON_COMPAT=( python3_{7..9} )
|
||||
DISTUTILS_USE_SETUPTOOLS=rdepend
|
||||
inherit distutils-r1 readme.gentoo-r1
|
||||
|
||||
DESCRIPTION="A Python interactive packet manipulation program for mastering the network"
|
||||
HOMEPAGE="https://scapy.net/ 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 ~arm ~arm64 x86"
|
||||
DOC_CONTENTS="
|
||||
Scapy has optional support for the following packages:
|
||||
|
||||
dev-python/cryptography
|
||||
dev-python/ipython
|
||||
dev-python/matplotlib
|
||||
dev-python/pyx
|
||||
media-gfx/graphviz
|
||||
net-analyzer/tcpdump
|
||||
net-analyzer/tcpreplay
|
||||
net-libs/libpcap
|
||||
virtual/imagemagick-tools
|
||||
|
||||
See also ""${EPREFIX}/usr/share/doc/${PF}/installation.rst""
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
if ! [[ -f ${PN}/VERSION ]]; then
|
||||
echo ${PV} > ${PN}/VERSION || die
|
||||
else
|
||||
die
|
||||
fi
|
||||
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils-r1_src_install
|
||||
dodoc -r doc/${PN}/*
|
||||
DISABLE_AUTOFORMATTING=plz readme.gentoo_create_doc
|
||||
}
|
||||
Loading…
Reference in a new issue