From e5ecca612817225eb94c39f2143519e5c874b0e7 Mon Sep 17 00:00:00 2001 From: Alexis Ballier Date: Tue, 11 Aug 2020 15:43:00 +0200 Subject: dev-ros/ament_cmake_ros: initial import Package-Manager: Portage-3.0.2, Repoman-2.3.23 Signed-off-by: Alexis Ballier --- dev-ros/ament_cmake_ros/Manifest | 1 + .../ament_cmake_ros/ament_cmake_ros-0.9.0.ebuild | 54 ++++++++++++++++++++++ .../ament_cmake_ros/ament_cmake_ros-9999.ebuild | 54 ++++++++++++++++++++++ dev-ros/ament_cmake_ros/metadata.xml | 11 +++++ 4 files changed, 120 insertions(+) create mode 100644 dev-ros/ament_cmake_ros/Manifest create mode 100644 dev-ros/ament_cmake_ros/ament_cmake_ros-0.9.0.ebuild create mode 100644 dev-ros/ament_cmake_ros/ament_cmake_ros-9999.ebuild create mode 100644 dev-ros/ament_cmake_ros/metadata.xml (limited to 'dev-ros/ament_cmake_ros') diff --git a/dev-ros/ament_cmake_ros/Manifest b/dev-ros/ament_cmake_ros/Manifest new file mode 100644 index 000000000000..95fa27a2b187 --- /dev/null +++ b/dev-ros/ament_cmake_ros/Manifest @@ -0,0 +1 @@ +DIST ament_cmake_ros-0.9.0.tar.gz 10247 BLAKE2B 7492dae5b9925c2de5c6d775bec40a00c82eddd4f62ce9bfe51d745eebcc453646088b448b2e26a6d92a38ccc343e36c0ab9bcb7ec307265c1467c9129cd9aad SHA512 3c18cb88b943f06edcf3b83ba18b958997583ee733545faf8e8a9f2008a7d5da47f0479ddce6f32afefcc1a316304e78b1d36566ea6de77a89b3c64871bea766 diff --git a/dev-ros/ament_cmake_ros/ament_cmake_ros-0.9.0.ebuild b/dev-ros/ament_cmake_ros/ament_cmake_ros-0.9.0.ebuild new file mode 100644 index 000000000000..d0cf50beea1c --- /dev/null +++ b/dev-ros/ament_cmake_ros/ament_cmake_ros-0.9.0.ebuild @@ -0,0 +1,54 @@ +# 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,3_8} ) + +inherit cmake python-any-r1 + +ROS_PN="ament_cmake_ros" +if [ "${PV#9999}" != "${PV}" ] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/ros2/ament_cmake_ros" + SRC_URI="" + S=${WORKDIR}/${P}/${PN} +else + SRC_URI="https://github.com/ros2/ament_cmake_ros/archive/${PV}.tar.gz -> ${ROS_PN}-${PV}.tar.gz" + S="${WORKDIR}/${ROS_PN}-${PV}/${PN}" +fi + +DESCRIPTION="ROS specific CMake bits in the ament buildsystem" +HOMEPAGE="https://github.com/ros2/ament_cmake_ros" + +LICENSE="Apache-2.0" +SLOT="0" +if [ "${PV#9999}" != "${PV}" ] ; then + KEYWORDS="" +else + KEYWORDS="~amd64" +fi +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" +" +DEPEND="${RDEPEND}" +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/ament_cmake_ros/ament_cmake_ros-9999.ebuild b/dev-ros/ament_cmake_ros/ament_cmake_ros-9999.ebuild new file mode 100644 index 000000000000..d0cf50beea1c --- /dev/null +++ b/dev-ros/ament_cmake_ros/ament_cmake_ros-9999.ebuild @@ -0,0 +1,54 @@ +# 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,3_8} ) + +inherit cmake python-any-r1 + +ROS_PN="ament_cmake_ros" +if [ "${PV#9999}" != "${PV}" ] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/ros2/ament_cmake_ros" + SRC_URI="" + S=${WORKDIR}/${P}/${PN} +else + SRC_URI="https://github.com/ros2/ament_cmake_ros/archive/${PV}.tar.gz -> ${ROS_PN}-${PV}.tar.gz" + S="${WORKDIR}/${ROS_PN}-${PV}/${PN}" +fi + +DESCRIPTION="ROS specific CMake bits in the ament buildsystem" +HOMEPAGE="https://github.com/ros2/ament_cmake_ros" + +LICENSE="Apache-2.0" +SLOT="0" +if [ "${PV#9999}" != "${PV}" ] ; then + KEYWORDS="" +else + KEYWORDS="~amd64" +fi +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" +" +DEPEND="${RDEPEND}" +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/ament_cmake_ros/metadata.xml b/dev-ros/ament_cmake_ros/metadata.xml new file mode 100644 index 000000000000..c4507367383c --- /dev/null +++ b/dev-ros/ament_cmake_ros/metadata.xml @@ -0,0 +1,11 @@ + + + + + ros@gentoo.org + Gentoo ROS Project + + + ros2/ament_cmake_ros + + -- cgit v1.2.3-65-gdbad