From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 144E6138334 for ; Fri, 13 Dec 2019 13:58:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1E1FEE0905; Fri, 13 Dec 2019 13:58:10 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id EBAAAE0905 for ; Fri, 13 Dec 2019 13:58:09 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id F2C7D34D969 for ; Fri, 13 Dec 2019 13:58:08 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 45BB6905 for ; Fri, 13 Dec 2019 13:58:06 +0000 (UTC) From: "Alexis Ballier" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alexis Ballier" Message-ID: <1576245200.8f513f800a5869993a821d0315e43e3df625c29c.aballier@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ros/ament_cmake_export_link_flags/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ros/ament_cmake_export_link_flags/ament_cmake_export_link_flags-0.8.1.ebuild dev-ros/ament_cmake_export_link_flags/ament_cmake_export_link_flags-9999.ebuild X-VCS-Directories: dev-ros/ament_cmake_export_link_flags/ X-VCS-Committer: aballier X-VCS-Committer-Name: Alexis Ballier X-VCS-Revision: 8f513f800a5869993a821d0315e43e3df625c29c X-VCS-Branch: master Date: Fri, 13 Dec 2019 13:58:06 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 941f895f-9f74-4369-8620-dd0690ae5715 X-Archives-Hash: d9dc686c2615dc514a5f70a615b39491 commit: 8f513f800a5869993a821d0315e43e3df625c29c Author: Alexis Ballier gentoo org> AuthorDate: Fri Dec 13 12:46:04 2019 +0000 Commit: Alexis Ballier gentoo org> CommitDate: Fri Dec 13 13:53:20 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f513f80 dev-ros/ament_cmake_export_link_flags: use python-any-r1 Package-Manager: Portage-2.3.81, Repoman-2.3.20 Signed-off-by: Alexis Ballier gentoo.org> .../ament_cmake_export_link_flags-0.8.1.ebuild | 23 ++++++++-------------- .../ament_cmake_export_link_flags-9999.ebuild | 23 ++++++++-------------- 2 files changed, 16 insertions(+), 30 deletions(-) diff --git a/dev-ros/ament_cmake_export_link_flags/ament_cmake_export_link_flags-0.8.1.ebuild b/dev-ros/ament_cmake_export_link_flags/ament_cmake_export_link_flags-0.8.1.ebuild index 00321b7815d..6f08b075e59 100644 --- a/dev-ros/ament_cmake_export_link_flags/ament_cmake_export_link_flags-0.8.1.ebuild +++ b/dev-ros/ament_cmake_export_link_flags/ament_cmake_export_link_flags-0.8.1.ebuild @@ -5,7 +5,7 @@ EAPI=7 PYTHON_COMPAT=( python{3_6,3_7} ) -inherit cmake-utils python-r1 +inherit cmake-utils python-any-r1 ROS_PN="ament_cmake" if [ "${PV#9999}" != "${PV}" ] ; then @@ -30,19 +30,12 @@ else fi IUSE="" -DEPEND=" - dev-ros/ament_cmake_core[${PYTHON_USEDEP}] +RDEPEND=" + dev-ros/ament_cmake_core +" +DEPEND="${RDEPEND}" +# Deps here are transitive from ament_cmake_core to have matching python support +BDEPEND=" + $(python_gen_any_dep 'dev-python/ament_package[${PYTHON_USEDEP}] dev-python/catkin_pkg[${PYTHON_USEDEP}]') ${PYTHON_DEPS} " -RDEPEND="${DEPEND}" -BDEPEND="${DEPEND}" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -src_configure() { - # This is a build tool that does not install python-related files - # ... but we need to propagate the deps and use python3 to build it. - local pyimpl="${PYTHON_COMPAT[0]}" - python_export "${pyimpl}" EPYTHON PYTHON - python_wrapper_setup - cmake-utils_src_configure -} diff --git a/dev-ros/ament_cmake_export_link_flags/ament_cmake_export_link_flags-9999.ebuild b/dev-ros/ament_cmake_export_link_flags/ament_cmake_export_link_flags-9999.ebuild index 00321b7815d..6f08b075e59 100644 --- a/dev-ros/ament_cmake_export_link_flags/ament_cmake_export_link_flags-9999.ebuild +++ b/dev-ros/ament_cmake_export_link_flags/ament_cmake_export_link_flags-9999.ebuild @@ -5,7 +5,7 @@ EAPI=7 PYTHON_COMPAT=( python{3_6,3_7} ) -inherit cmake-utils python-r1 +inherit cmake-utils python-any-r1 ROS_PN="ament_cmake" if [ "${PV#9999}" != "${PV}" ] ; then @@ -30,19 +30,12 @@ else fi IUSE="" -DEPEND=" - dev-ros/ament_cmake_core[${PYTHON_USEDEP}] +RDEPEND=" + dev-ros/ament_cmake_core +" +DEPEND="${RDEPEND}" +# Deps here are transitive from ament_cmake_core to have matching python support +BDEPEND=" + $(python_gen_any_dep 'dev-python/ament_package[${PYTHON_USEDEP}] dev-python/catkin_pkg[${PYTHON_USEDEP}]') ${PYTHON_DEPS} " -RDEPEND="${DEPEND}" -BDEPEND="${DEPEND}" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -src_configure() { - # This is a build tool that does not install python-related files - # ... but we need to propagate the deps and use python3 to build it. - local pyimpl="${PYTHON_COMPAT[0]}" - python_export "${pyimpl}" EPYTHON PYTHON - python_wrapper_setup - cmake-utils_src_configure -}