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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8E59515808C for ; Tue, 15 Mar 2022 17:05:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 80DE1E083E; Tue, 15 Mar 2022 17:05:52 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 41EBDE083E for ; Tue, 15 Mar 2022 17:05:52 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 72A0434356F for ; Tue, 15 Mar 2022 17:05:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 08372343 for ; Tue, 15 Mar 2022 17:05:48 +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: <1647363941.2f984d2708c14dc4e2e222b2a4f04146233e1b4d.aballier@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ros/ament_cmake_cppcheck/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ros/ament_cmake_cppcheck/Manifest dev-ros/ament_cmake_cppcheck/ament_cmake_cppcheck-0.12.1.ebuild X-VCS-Directories: dev-ros/ament_cmake_cppcheck/ X-VCS-Committer: aballier X-VCS-Committer-Name: Alexis Ballier X-VCS-Revision: 2f984d2708c14dc4e2e222b2a4f04146233e1b4d X-VCS-Branch: master Date: Tue, 15 Mar 2022 17:05:48 +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: 58450683-edec-4d9c-8721-ee838264bd3e X-Archives-Hash: 7e45a9256b8e1c9062d026565832a896 commit: 2f984d2708c14dc4e2e222b2a4f04146233e1b4d Author: Alexis Ballier gentoo org> AuthorDate: Tue Mar 15 16:30:06 2022 +0000 Commit: Alexis Ballier gentoo org> CommitDate: Tue Mar 15 17:05:41 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f984d27 dev-ros/ament_cmake_cppcheck: bump to 0.12.1 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Alexis Ballier gentoo.org> dev-ros/ament_cmake_cppcheck/Manifest | 1 + .../ament_cmake_cppcheck-0.12.1.ebuild | 59 ++++++++++++++++++++++ 2 files changed, 60 insertions(+) diff --git a/dev-ros/ament_cmake_cppcheck/Manifest b/dev-ros/ament_cmake_cppcheck/Manifest index 99d511dac320..4e5ba15bbab6 100644 --- a/dev-ros/ament_cmake_cppcheck/Manifest +++ b/dev-ros/ament_cmake_cppcheck/Manifest @@ -1 +1,2 @@ DIST ament_lint-0.11.2.tar.gz 265435 BLAKE2B 09545bd029dc692e5393983a3fc9210600c4a6456635238b7038ff87799f9cfde9c2d3c7ceb4c01b71594ba7bd159e8b6b3c2370bdfcdbf3d6189a895b96292a SHA512 1a379f4fb0ead306a668aef2b9e390728d6d3901b75f43fac6ccc28681a8010e42b094237f3f1ab95ca304ba917c8fb5d5519ec0581cadb346e6eb05466e39f0 +DIST ament_lint-0.12.1.tar.gz 281555 BLAKE2B 1feabfc9e65b09970cb9d9706e9fbc3ca8b60d0592597a8a8666f3b272e71a09c28bf3f21926f0f3b96d93e61d3f8c99286b2b5658359116305bbaf449b40207 SHA512 34625c9ff0615c09dc5e918896af5f46480de735388e57c06c8d8f3267cd98c7e0314ddc99d8ba328dbfa949c51eb893121f6639689f3a803503c77164e56bcc diff --git a/dev-ros/ament_cmake_cppcheck/ament_cmake_cppcheck-0.12.1.ebuild b/dev-ros/ament_cmake_cppcheck/ament_cmake_cppcheck-0.12.1.ebuild new file mode 100644 index 000000000000..db187d2408e7 --- /dev/null +++ b/dev-ros/ament_cmake_cppcheck/ament_cmake_cppcheck-0.12.1.ebuild @@ -0,0 +1,59 @@ +# Copyright 2019-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{8..10} ) + +inherit cmake python-any-r1 + +ROS_PN="ament_lint" +if [ "${PV#9999}" != "${PV}" ] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/ament/ament_lint" + S="${WORKDIR}/${P}/${PN}" +else + SRC_URI="https://github.com/ament/ament_lint/archive/${PV}.tar.gz -> ${ROS_PN}-${PV}.tar.gz" + S="${WORKDIR}/${ROS_PN}-${PV}/${PN}" + KEYWORDS="~amd64" +fi + +DESCRIPTION="CMake API for ament_cppcheck to perform static code analysis on C/C++" +HOMEPAGE="https://github.com/ament/ament_lint" + +LICENSE="Apache-2.0" +SLOT="0" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-ros/ament_cmake_test + dev-ros/ament_cmake_core + dev-ros/ament_cppcheck +" +BDEPEND=" + $(python_gen_any_dep ' + dev-python/ament_package[${PYTHON_USEDEP}] + dev-python/catkin_pkg[${PYTHON_USEDEP}]') + dev-ros/ament_cmake_test + dev-ros/ament_cmake_core + test? ( + dev-ros/ament_cmake_copyright + $(python_gen_any_dep 'dev-ros/ament_copyright[${PYTHON_USEDEP}]') + dev-ros/ament_cmake_lint_cmake + ) + ${PYTHON_DEPS} +" + +python_check_deps() { + { use !test || has_version -b "dev-ros/ament_copyright[${PYTHON_USEDEP}]"; } && \ + has_version -b "dev-python/catkin_pkg[${PYTHON_USEDEP}]" && \ + has_version -b "dev-python/ament_package[${PYTHON_USEDEP}]" +} + +src_configure() { + local mycmakeargs=( + -DBUILD_TESTING=$(usex test ON OFF) + ) + cmake_src_configure +}