commit: 66a0e00c86c95b393c4421a3872835f8851f7edd Author: Alexis Ballier <aballier <AT> gentoo <DOT> org> AuthorDate: Thu Jul 23 12:17:26 2020 +0000 Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org> CommitDate: Thu Jul 23 15:18:52 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66a0e00c
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 <AT> gentoo.org> dev-ros/console_bridge_vendor/Manifest | 1 + ...9.ebuild => console_bridge_vendor-1.2.1.ebuild} | 22 +++++++++++++++++----- .../console_bridge_vendor-9999.ebuild | 22 +++++++++++++++++----- 3 files changed, 35 insertions(+), 10 deletions(-) diff --git a/dev-ros/console_bridge_vendor/Manifest b/dev-ros/console_bridge_vendor/Manifest index 0855dcea071..ad4240f4b38 100644 --- a/dev-ros/console_bridge_vendor/Manifest +++ b/dev-ros/console_bridge_vendor/Manifest @@ -1 +1,2 @@ DIST console_bridge_vendor-1.2.0.tar.gz 5640 BLAKE2B d0a2b18c8d4b9259e6c8ba2953a7650e9aaef348345c5651b5a769ec9c2d4346e404688d7e6c60c3c45186d0afa0e3d3a6d9e49baef2ef1da4e0679aa7d5ba06 SHA512 2b5c8ab47554d724665184ae4dfea32a6291d9d2578a489eb81e695cc513c723e934c1dca0e66eaf83b81d656fbc67a4c7e3b4d15eae5d8770ad6ebc700b6d6b +DIST console_bridge_vendor-1.2.1.tar.gz 7403 BLAKE2B d18f2ccb352c04b1c84a2c8ed5bb4fb790cddd3adf9667a6e9e99cdfb7da3f24931c653ffd0c8175131799d08086d110ad9ad33660ffc307a3a21a7dbf54ebef SHA512 12b611ff578b4a9e20fc894789985056b1b396f7085d4d6f0848fbe1a926ddc47ee6cc2c65bf3289041573b48bad75e2ce5a6d1b3f94aa8049429faece44d6a2 diff --git a/dev-ros/console_bridge_vendor/console_bridge_vendor-9999.ebuild b/dev-ros/console_bridge_vendor/console_bridge_vendor-1.2.1.ebuild similarity index 63% copy from dev-ros/console_bridge_vendor/console_bridge_vendor-9999.ebuild copy to dev-ros/console_bridge_vendor/console_bridge_vendor-1.2.1.ebuild index 9d08355634b..41ddf98ec4b 100644 --- a/dev-ros/console_bridge_vendor/console_bridge_vendor-9999.ebuild +++ b/dev-ros/console_bridge_vendor/console_bridge_vendor-1.2.1.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 +} 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 9d08355634b..41ddf98ec4b 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 +}
