SwordArMor-gentoo-overlay/dev-python/dublintraceroute/dublintraceroute-0.4.2.ebuild
Alarig Le Lay 22c308cda0
dev-python/dublintraceroute: Assuming py3.9 works
as upstream doesn’t specify.

Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Alarig Le Lay <alarig@swordarmor.fr>
2021-06-12 22:56:57 +02:00

42 lines
855 B
Bash

# Copyright 2020-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{6..9} )
inherit distutils-r1
DESCRIPTION="Python bindings for Dublin Traceroute"
HOMEPAGE="https://dublin-traceroute.net
https://github.com/insomniacslk/python-dublin-traceroute"
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="
~net-analyzer/dublin-traceroute-${PV}
dev-libs/jsoncpp
net-libs/libpcap
net-libs/libtins
"
python_prepare_all() {
# do not depend on deprecated dep
sed -i -e '/pytest_runner/d' setup.py || die
distutils-r1_python_prepare_all
}