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 CA3A0138335 for ; Thu, 12 Dec 2019 15:44:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E5CCAE0876; Thu, 12 Dec 2019 15:44:06 +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 88E96E0876 for ; Thu, 12 Dec 2019 15:44:06 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 49BC734D978 for ; Thu, 12 Dec 2019 15:44:04 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3E5BC902 for ; Thu, 12 Dec 2019 15:44:00 +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: <1576165433.9fee05682052bbf917a73866d4b6192d59f4567f.aballier@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ros/ament_cmake_python/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ros/ament_cmake_python/ament_cmake_python-0.8.1.ebuild dev-ros/ament_cmake_python/ament_cmake_python-9999.ebuild X-VCS-Directories: dev-ros/ament_cmake_python/ X-VCS-Committer: aballier X-VCS-Committer-Name: Alexis Ballier X-VCS-Revision: 9fee05682052bbf917a73866d4b6192d59f4567f X-VCS-Branch: master Date: Thu, 12 Dec 2019 15:44:00 +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: 33f59894-1bb8-408f-9a47-d5f8d53842f5 X-Archives-Hash: 1a222e053bda8e44cddaff3534b251ad commit: 9fee05682052bbf917a73866d4b6192d59f4567f Author: Alexis Ballier gentoo org> AuthorDate: Thu Dec 12 14:55:59 2019 +0000 Commit: Alexis Ballier gentoo org> CommitDate: Thu Dec 12 15:43:53 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9fee0568 dev-ros/ament_cmake_python: fix deps, add live ebuild Package-Manager: Portage-2.3.81, Repoman-2.3.20 Signed-off-by: Alexis Ballier gentoo.org> .../ament_cmake_python-0.8.1.ebuild | 23 +++++++++++++++++----- ...0.8.1.ebuild => ament_cmake_python-9999.ebuild} | 23 +++++++++++++++++----- 2 files changed, 36 insertions(+), 10 deletions(-) diff --git a/dev-ros/ament_cmake_python/ament_cmake_python-0.8.1.ebuild b/dev-ros/ament_cmake_python/ament_cmake_python-0.8.1.ebuild index 927b7ae0692..c60244e5979 100644 --- a/dev-ros/ament_cmake_python/ament_cmake_python-0.8.1.ebuild +++ b/dev-ros/ament_cmake_python/ament_cmake_python-0.8.1.ebuild @@ -8,22 +8,35 @@ PYTHON_COMPAT=( python{3_6,3_7} ) inherit cmake-utils python-r1 ROS_PN="ament_cmake" -DESCRIPTION="The core of the ament buildsystem in CMake" +if [ "${PV#9999}" != "${PV}" ] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/ament/ament_cmake" + SRC_URI="" + S=${WORKDIR}/${P}/${PN} +else + SRC_URI="https://github.com/ament/ament_cmake/archive/${PV}.tar.gz -> ${ROS_PN}-${PV}.tar.gz" + S="${WORKDIR}/${ROS_PN}-${PV}/${PN}" +fi + +DESCRIPTION="The ability to use Python in the ament buildsystem" HOMEPAGE="https://github.com/ament/ament_cmake" -SRC_URI="https://github.com/ament/ament_cmake/archive/${PV}.tar.gz -> ${ROS_PN}-${PV}.tar.gz" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64" +if [ "${PV#9999}" != "${PV}" ] ; then + KEYWORDS="" +else + KEYWORDS="~amd64" +fi IUSE="" DEPEND=" dev-ros/ament_cmake_core[${PYTHON_USEDEP}] + ${PYTHON_DEPS} " RDEPEND="${DEPEND}" -BDEPEND="${PYTHON_DEPS}" +BDEPEND="${DEPEND}" REQUIRED_USE="${PYTHON_REQUIRED_USE}" -S="${WORKDIR}/${ROS_PN}-${PV}/${PN}" src_configure() { # This is a build tool that does not install python-related files diff --git a/dev-ros/ament_cmake_python/ament_cmake_python-0.8.1.ebuild b/dev-ros/ament_cmake_python/ament_cmake_python-9999.ebuild similarity index 59% copy from dev-ros/ament_cmake_python/ament_cmake_python-0.8.1.ebuild copy to dev-ros/ament_cmake_python/ament_cmake_python-9999.ebuild index 927b7ae0692..c60244e5979 100644 --- a/dev-ros/ament_cmake_python/ament_cmake_python-0.8.1.ebuild +++ b/dev-ros/ament_cmake_python/ament_cmake_python-9999.ebuild @@ -8,22 +8,35 @@ PYTHON_COMPAT=( python{3_6,3_7} ) inherit cmake-utils python-r1 ROS_PN="ament_cmake" -DESCRIPTION="The core of the ament buildsystem in CMake" +if [ "${PV#9999}" != "${PV}" ] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/ament/ament_cmake" + SRC_URI="" + S=${WORKDIR}/${P}/${PN} +else + SRC_URI="https://github.com/ament/ament_cmake/archive/${PV}.tar.gz -> ${ROS_PN}-${PV}.tar.gz" + S="${WORKDIR}/${ROS_PN}-${PV}/${PN}" +fi + +DESCRIPTION="The ability to use Python in the ament buildsystem" HOMEPAGE="https://github.com/ament/ament_cmake" -SRC_URI="https://github.com/ament/ament_cmake/archive/${PV}.tar.gz -> ${ROS_PN}-${PV}.tar.gz" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64" +if [ "${PV#9999}" != "${PV}" ] ; then + KEYWORDS="" +else + KEYWORDS="~amd64" +fi IUSE="" DEPEND=" dev-ros/ament_cmake_core[${PYTHON_USEDEP}] + ${PYTHON_DEPS} " RDEPEND="${DEPEND}" -BDEPEND="${PYTHON_DEPS}" +BDEPEND="${DEPEND}" REQUIRED_USE="${PYTHON_REQUIRED_USE}" -S="${WORKDIR}/${ROS_PN}-${PV}/${PN}" src_configure() { # This is a build tool that does not install python-related files