Install this version:
emerge -a =dev-python/rospkg-1.5.1
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-python/rospkg-1.5.1
Or alternatively:
emerge --autounmask-write -a =dev-python/rospkg-1.5.1
# Copyright 2024 Open Source Robotics Foundation
# Distributed under the terms of the Apache 2.0 license
EAPI=8
PYTHON_COMPAT=( python3_{8..11} pypy3 )
SCM=""
if [ "${PV#9999}" != "${PV}" ] ; then
SCM="git-r3"
EGIT_REPO_URI="https://github.com/ros-infrastructure/rospkg"
fi
inherit ${SCM} distutils-r1
DESCRIPTION="Standalone Python library for the ROS package system."
HOMEPAGE="https://wiki.ros.org/rospkg"
if [ "${PV#9999}" != "${PV}" ] ; then
SRC_URI=""
else
SRC_URI="https://github.com/ros-infrastructure/rospkg/archive/${PV}.tar.gz -> ${P}-gh.tar.gz"
KEYWORDS="~amd64 ~arm"
fi
LICENSE="BSD"
SLOT="0"
RDEPEND="
dev-python/catkin_pkg[${PYTHON_USEDEP}]
dev-python/pyyaml[${PYTHON_USEDEP}]"
BDEPEND="
test? (
dev-python/pytest[${PYTHON_USEDEP}]
)"
distutils_enable_tests pytest
dev-python/catkin_pkg[] dev-python/pyyaml[]
test? ( dev-python/pytest[] )
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | rospkg-1.5.1-gh.tar.gz | 92374 bytes | https://github.com/ros-infrastructure/rospkg/archive/1.5.1.tar.gz |