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-any-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="Export libraries to downstream packages in the ament buildsystem"
22 HOMEPAGE="https://github.com/ament/ament_cmake"
26 if [ "${PV#9999}" != "${PV}" ] ; then
34 dev-ros/ament_cmake_core
37 # Deps here are transitive from ament_cmake_core to have matching python support
39 $(python_gen_any_dep 'dev-python/ament_package[${PYTHON_USEDEP}] dev-python/catkin_pkg[${PYTHON_USEDEP}]')
44 has_version "dev-python/ament_package[${PYTHON_USEDEP}]" && \
45 has_version "dev-python/catkin_pkg[${PYTHON_USEDEP}]"