Install this version:
emerge -a =app-admin/ripe-atlas-tools-9999
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =app-admin/ripe-atlas-tools-9999
Or alternatively:
emerge --autounmask-write -a =app-admin/ripe-atlas-tools-9999
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 9999 | 8 | 0 |
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11,12,14} )
inherit distutils-r1 git-r3 optfeature
DESCRIPTION="The official command-line client for RIPE Atlas"
HOMEPAGE="https://github.com/RIPE-NCC/ripe-atlas-tools"
EGIT_REPO_URI="https://github.com/RIPE-NCC/${PN}.git"
LICENSE="GPL-3"
SLOT="0"
RESTRICT="test"
PROPERTIES="test_network"
RDEPEND="dev-python/ipy[${PYTHON_USEDEP}]
dev-python/pyopenssl[${PYTHON_USEDEP}]
dev-python/python-dateutil[${PYTHON_USEDEP}]
dev-python/pyyaml[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
dev-python/ripe-atlas-cousteau[${PYTHON_USEDEP}]
dev-python/ripe-atlas-sagan[${PYTHON_USEDEP}]
dev-python/typing-extensions[${PYTHON_USEDEP}]
dev-python/tzlocal[${PYTHON_USEDEP}]
dev-python/urllib3[${PYTHON_USEDEP}]"
BDEPEND="test? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
DOCS=( {CHANGES,README}.rst )
distutils_enable_sphinx docs
distutils_enable_tests pytest
python_prepare_all() {
sed -i -e '/namespace_packages/d' \
-e '/ripe.atlas.tools/s/"]/", "ripe.atlas.tools.aggregators", "ripe.atlas.tools.commands"]/' \
-e '/ripe.atlas.tools/s/"]/", "ripe.atlas.tools.commands.measure", "ripe.atlas.tools.helpers"]/' \
-e '/ripe.atlas.tools/s/"]/", "ripe.atlas.tools.renderers", "ripe.atlas.tools.renderers.templates.reports"]/' \
-e '/ripe.atlas.tools/s/"]/", "ripe.atlas.tools.settings", "ripe.atlas.tools.settings.templates"]/' \
setup.py || die "sed failed"
distutils-r1_python_prepare_all
}
python_install() {
distutils-r1_python_install
echo "RIPE Atlas Tools (Magellan) [Gentoo Linux] ${PVR}" > \
"${D}$(python_get_sitedir)"/ripe/atlas/tools/user-agent
}
pkg_postinst() {
optfeature "fast json processing" dev-python/ujson
}
dev-python/ipy[] dev-python/pyopenssl[] dev-python/python-dateutil[] dev-python/pyyaml[] dev-python/requests[] dev-python/ripe-atlas-cousteau[] dev-python/ripe-atlas-sagan[] dev-python/typing-extensions[] dev-python/tzlocal[] dev-python/urllib3[]
test? ( dev-python/sphinx[] )