2022-07-04 21:34:24 +02:00
|
|
|
# Copyright 2020-2022 Gentoo Authors
|
2020-11-03 11:26:09 +01:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
2022-07-04 21:34:24 +02:00
|
|
|
EAPI=8
|
2020-11-03 11:26:09 +01:00
|
|
|
|
2024-06-09 13:00:49 +02:00
|
|
|
PYTHON_COMPAT=( python3_{10..12} )
|
2020-11-03 11:29:09 +01:00
|
|
|
inherit python-r1
|
|
|
|
|
2020-11-03 11:26:09 +01:00
|
|
|
DESCRIPTION="Draw a graph from RIS BGP data"
|
|
|
|
HOMEPAGE="https://git.grifon.fr/alarig/ris-pydot-graph"
|
2021-02-27 20:12:01 +01:00
|
|
|
SRC_URI="https://git.grifon.fr/alarig/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
2020-11-03 11:26:09 +01:00
|
|
|
|
2024-06-09 13:00:49 +02:00
|
|
|
S="${WORKDIR}/${PN}"
|
|
|
|
|
2020-11-03 11:26:09 +01:00
|
|
|
LICENSE="BSD"
|
|
|
|
SLOT="0"
|
|
|
|
KEYWORDS="~amd64 ~x86"
|
|
|
|
|
|
|
|
DEPEND="
|
|
|
|
dev-python/cymruwhois
|
|
|
|
dev-python/pydot
|
|
|
|
"
|
|
|
|
RDEPEND="${DEPEND}"
|
2024-06-09 13:00:49 +02:00
|
|
|
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
2020-11-03 11:31:34 +01:00
|
|
|
|
2020-11-03 11:26:09 +01:00
|
|
|
src_install() {
|
|
|
|
default
|
|
|
|
python_foreach_impl python_newscript ris.py "${PN}"
|
|
|
|
}
|