2020-03-30 23:52:28 +02:00
|
|
|
# Copyright 2020 Gentoo Authors
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
|
|
|
EAPI=7
|
|
|
|
|
|
|
|
PYTHON_COMPAT=( python3_{6,7} )
|
|
|
|
inherit distutils-r1
|
|
|
|
|
|
|
|
DESCRIPTION="Python bindings for Dublin Traceroute"
|
|
|
|
HOMEPAGE="https://dublin-traceroute.net"
|
|
|
|
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
|
|
|
|
|
|
|
LICENSE="BSD-2"
|
|
|
|
SLOT="0"
|
|
|
|
KEYWORDS="~amd64 ~x86"
|
|
|
|
IUSE="analysis"
|
|
|
|
|
|
|
|
DEPEND=""
|
|
|
|
RDEPEND="
|
|
|
|
${DEPEND}
|
|
|
|
analysis? (
|
|
|
|
dev-python/pandas[${PYTHON_USEDEP}]
|
|
|
|
dev-python/matplotlib[${PYTHON_USEDEP}]
|
|
|
|
)
|
|
|
|
dev-python/tabulate
|
|
|
|
dev-python/pygraphviz
|
|
|
|
"
|
|
|
|
BDEPEND="
|
2020-03-31 19:31:57 +02:00
|
|
|
~net-analyzer/dublin-traceroute-${PV}
|
2020-03-30 23:52:28 +02:00
|
|
|
dev-libs/jsoncpp
|
|
|
|
net-libs/libpcap
|
|
|
|
net-libs/libtins
|
|
|
|
"
|
2020-04-15 20:25:46 +02:00
|
|
|
|
|
|
|
python_prepare_all() {
|
|
|
|
# do not depend on deprecated dep
|
|
|
|
sed -i -e '/pytest-runner/d' setup.py || die
|
|
|
|
|
|
|
|
distutils-r1_python_prepare_all
|
|
|
|
}
|