diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-08-07 00:16:33 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-08-07 00:16:33 +0100 |
commit | d162ba1860a88062f4cd61f8b52fc303ba0b2991 (patch) | |
tree | 24cd2cf57f3932a24b96e4a0f6666489447e43ba /dev-ros/xacro/xacro-1.14.8.ebuild | |
parent | 590b9b7b03bf4651e099949e318755af7cfa81b8 (diff) |
gentoo resync : 07.08.2021
Diffstat (limited to 'dev-ros/xacro/xacro-1.14.8.ebuild')
-rw-r--r-- | dev-ros/xacro/xacro-1.14.8.ebuild | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/dev-ros/xacro/xacro-1.14.8.ebuild b/dev-ros/xacro/xacro-1.14.8.ebuild new file mode 100644 index 000000000000..5c1e6682dc01 --- /dev/null +++ b/dev-ros/xacro/xacro-1.14.8.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +ROS_REPO_URI="https://github.com/ros/xacro" +KEYWORDS="~amd64" + +inherit ros-catkin + +DESCRIPTION="XML macro language" +LICENSE="BSD" +SLOT="0" +IUSE="" + +RDEPEND="dev-ros/roslint[${PYTHON_SINGLE_USEDEP}]" +DEPEND="${RDEPEND} + test? ( + dev-ros/rostest[${PYTHON_SINGLE_USEDEP}] + $(python_gen_cond_dep "dev-python/nose[\${PYTHON_USEDEP}]") + ) +" +RDEPEND="${RDEPEND} + dev-ros/roslaunch[${PYTHON_SINGLE_USEDEP}]" +PATCHES=( "${FILESDIR}/tests.patch" ) + +src_test() { + local sd="$(python_get_sitedir)" + local local_sd="${BUILD_DIR}/devel/${sd#${EPREFIX}/usr}" + export ROS_PACKAGE_PATH="${S}:${ROS_PACKAGE_PATH}" + PYTHONPATH="${local_sd}:${PYTHONPATH}" ros-catkin_src_test +} |