summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2019-12-16 12:30:51 +0100
committerAlexis Ballier <aballier@gentoo.org>2019-12-16 14:49:43 +0100
commit90931d853657e42c750dd77959747751705687ed (patch)
tree5db4d70b4e3dfc69e06d347ac81d1c2f71e7b042 /dev-ros/ament_cmake_export_libraries
parentdev-python/pipenv: 2018.11.26 (diff)
downloadgentoo-90931d853657e42c750dd77959747751705687ed.tar.gz
gentoo-90931d853657e42c750dd77959747751705687ed.tar.bz2
gentoo-90931d853657e42c750dd77959747751705687ed.zip
dev-ros/ament_cmake_export_libraries: Declare python_check_deps().
Thanks to mgorny. Closes: https://bugs.gentoo.org/702728 Package-Manager: Portage-2.3.81, Repoman-2.3.20 Signed-off-by: Alexis Ballier <aballier@gentoo.org>
Diffstat (limited to 'dev-ros/ament_cmake_export_libraries')
-rw-r--r--dev-ros/ament_cmake_export_libraries/ament_cmake_export_libraries-0.8.1.ebuild5
-rw-r--r--dev-ros/ament_cmake_export_libraries/ament_cmake_export_libraries-9999.ebuild5
2 files changed, 10 insertions, 0 deletions
diff --git a/dev-ros/ament_cmake_export_libraries/ament_cmake_export_libraries-0.8.1.ebuild b/dev-ros/ament_cmake_export_libraries/ament_cmake_export_libraries-0.8.1.ebuild
index c3827165a1ec..3a206672bb44 100644
--- a/dev-ros/ament_cmake_export_libraries/ament_cmake_export_libraries-0.8.1.ebuild
+++ b/dev-ros/ament_cmake_export_libraries/ament_cmake_export_libraries-0.8.1.ebuild
@@ -39,3 +39,8 @@ BDEPEND="
$(python_gen_any_dep 'dev-python/ament_package[${PYTHON_USEDEP}] dev-python/catkin_pkg[${PYTHON_USEDEP}]')
${PYTHON_DEPS}
"
+
+python_check_deps() {
+ has_version "dev-python/ament_package[${PYTHON_USEDEP}]" && \
+ has_version "dev-python/catkin_pkg[${PYTHON_USEDEP}]"
+}
diff --git a/dev-ros/ament_cmake_export_libraries/ament_cmake_export_libraries-9999.ebuild b/dev-ros/ament_cmake_export_libraries/ament_cmake_export_libraries-9999.ebuild
index c3827165a1ec..3a206672bb44 100644
--- a/dev-ros/ament_cmake_export_libraries/ament_cmake_export_libraries-9999.ebuild
+++ b/dev-ros/ament_cmake_export_libraries/ament_cmake_export_libraries-9999.ebuild
@@ -39,3 +39,8 @@ BDEPEND="
$(python_gen_any_dep 'dev-python/ament_package[${PYTHON_USEDEP}] dev-python/catkin_pkg[${PYTHON_USEDEP}]')
${PYTHON_DEPS}
"
+
+python_check_deps() {
+ has_version "dev-python/ament_package[${PYTHON_USEDEP}]" && \
+ has_version "dev-python/catkin_pkg[${PYTHON_USEDEP}]"
+}