diff options
author | Alexis Ballier <aballier@gentoo.org> | 2020-07-23 14:17:26 +0200 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2020-07-23 17:18:52 +0200 |
commit | 66a0e00c86c95b393c4421a3872835f8851f7edd (patch) | |
tree | f7399bba5614ea35c33cb01f88547f05f6d750c7 /dev-ros/console_bridge_vendor/console_bridge_vendor-9999.ebuild | |
parent | media-video/ffmpeg: bump to 4.3.1 (diff) | |
download | gentoo-66a0e00c86c95b393c4421a3872835f8851f7edd.tar.gz gentoo-66a0e00c86c95b393c4421a3872835f8851f7edd.tar.bz2 gentoo-66a0e00c86c95b393c4421a3872835f8851f7edd.zip |
dev-ros/console_bridge_vendor: bump to 1.2.1
Use cmake.eclass
Add python check deps
Closes: https://bugs.gentoo.org/708572
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Alexis Ballier <aballier@gentoo.org>
Diffstat (limited to 'dev-ros/console_bridge_vendor/console_bridge_vendor-9999.ebuild')
-rw-r--r-- | dev-ros/console_bridge_vendor/console_bridge_vendor-9999.ebuild | 22 |
1 files changed, 17 insertions, 5 deletions
diff --git a/dev-ros/console_bridge_vendor/console_bridge_vendor-9999.ebuild b/dev-ros/console_bridge_vendor/console_bridge_vendor-9999.ebuild index 9d08355634bd..41ddf98ec4ba 100644 --- a/dev-ros/console_bridge_vendor/console_bridge_vendor-9999.ebuild +++ b/dev-ros/console_bridge_vendor/console_bridge_vendor-9999.ebuild @@ -1,11 +1,11 @@ -# Copyright 2019 Gentoo Authors +# Copyright 2019-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python{3_6,3_7} ) +PYTHON_COMPAT=( python{3_6,3_7,3_8} ) -inherit cmake-utils python-any-r1 +inherit cmake python-any-r1 if [ "${PV#9999}" != "${PV}" ] ; then inherit git-r3 @@ -25,13 +25,25 @@ if [ "${PV#9999}" != "${PV}" ] ; then else KEYWORDS="~amd64" fi -IUSE="" +IUSE="test" DEPEND=" - >=dev-libs/console_bridge-0.4.1 + >=dev-libs/console_bridge-1.0.1 " RDEPEND="${DEPEND}" BDEPEND=" $(python_gen_any_dep 'ros-meta/ament_cmake[${PYTHON_USEDEP}]') + test? ( dev-ros/ament_lint_auto ) ${PYTHON_DEPS} " + +python_check_deps() { + has_version "ros-meta/ament_cmake[${PYTHON_USEDEP}]" +} + +src_configure() { + local mycmakeargs=( + -DBUILD_TESTING=$(usex test ON OFF) + ) + cmake_src_configure +} |