1 # Copyright 2019 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 PYTHON_COMPAT=( python{3_6,3_7} )
8 inherit cmake-utils python-r1
11 if [ "${PV#9999}" != "${PV}" ] ; then
13 EGIT_REPO_URI="https://github.com/ament/ament_cmake"
15 S=${WORKDIR}/${P}/${PN}
17 SRC_URI="https://github.com/ament/ament_cmake/archive/${PV}.tar.gz -> ${ROS_PN}-${PV}.tar.gz"
18 S="${WORKDIR}/${ROS_PN}-${PV}/${PN}"
21 DESCRIPTION="The ability to add tests in the ament buildsystem"
22 HOMEPAGE="https://github.com/ament/ament_cmake"
26 if [ "${PV#9999}" != "${PV}" ] ; then
34 dev-ros/ament_cmake_core
35 dev-python/ament_package[${PYTHON_USEDEP}]
36 dev-python/catkin_pkg[${PYTHON_USEDEP}]
37 dev-ros/ament_cmake_python
42 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
45 python_foreach_impl cmake-utils_src_configure
49 python_foreach_impl cmake-utils_src_compile
53 python_foreach_impl cmake-utils_src_test
57 python_foreach_impl cmake-utils_src_install
58 python_foreach_impl python_optimize