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 DESCRIPTION="The entry point package for the ament buildsystem in CMake"
12 HOMEPAGE="https://github.com/ament/ament_cmake"
13 SRC_URI="https://github.com/ament/ament_cmake/archive/${PV}.tar.gz -> ${ROS_PN}-${PV}.tar.gz"
21 dev-ros/ament_cmake_core[${PYTHON_USEDEP}]
22 dev-ros/ament_cmake_export_definitions[${PYTHON_USEDEP}]
23 dev-ros/ament_cmake_export_dependencies[${PYTHON_USEDEP}]
24 dev-ros/ament_cmake_export_include_directories[${PYTHON_USEDEP}]
25 dev-ros/ament_cmake_export_interfaces[${PYTHON_USEDEP}]
26 dev-ros/ament_cmake_export_libraries[${PYTHON_USEDEP}]
27 dev-ros/ament_cmake_export_link_flags[${PYTHON_USEDEP}]
28 dev-ros/ament_cmake_libraries[${PYTHON_USEDEP}]
29 dev-ros/ament_cmake_python[${PYTHON_USEDEP}]
30 dev-ros/ament_cmake_target_dependencies[${PYTHON_USEDEP}]
31 dev-ros/ament_cmake_test[${PYTHON_USEDEP}]
32 dev-ros/ament_cmake_version[${PYTHON_USEDEP}]
35 BDEPEND="${PYTHON_DEPS}"
36 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
37 S="${WORKDIR}/${ROS_PN}-${PV}/${PN}"
40 # This is a build tool that does not install python-related files
41 # ... but we need to propagate the deps and use python3 to build it.
42 local pyimpl="${PYTHON_COMPAT[0]}"
43 python_export "${pyimpl}" EPYTHON PYTHON
45 cmake-utils_src_configure