mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-06 16:33:09 +01:00
27 lines
678 B
Bash
27 lines
678 B
Bash
# Copyright 1999-2016 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=6
|
|
|
|
PYTHON_COMPAT=( python3_{4,5} )
|
|
|
|
IUSE="test"
|
|
inherit distutils-r1
|
|
|
|
DESCRIPTION="Packet crafting/sending/... PCAP processing tool with python3 compatibility"
|
|
HOMEPAGE="https://pypi.python.org/pypi/scapy-python3/"
|
|
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
|
|
|
LICENSE="BSD"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64"
|
|
|
|
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
|
PDEPEND="virtual/python-scapy"
|
|
|
|
src_prepare(){
|
|
#we provide common files (binaries/man/doc) via virtual package
|
|
sed -i -e '/scripts = SCRIPTS/d' setup.py
|
|
sed -i -e '/data_files/d' setup.py
|
|
eapply_user
|
|
}
|