mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-20 22:27:17 -08:00
dev-ros/ament_cmake_copyright: bump to 0.11.2
Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Alexis Ballier <aballier@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST ament_lint-0.10.4.tar.gz 222285 BLAKE2B 81a15dc996bad0fe3fa461aa7067eba423550d94a04881a12c8a4b0732a4a0ddcc30ab6bef94f81cb236836d8de7959b53d5560d5fb6eb480f2fbd849bd02489 SHA512 cb99084622f598b17f1ffe55620c9c822867771f2603e673098f8943d95b7be188e25480d4e22bf7c2988e94d8b69f6f7fa3b60cd042213f6bd8c2ad2c5deaf3
|
||||
DIST ament_lint-0.11.2.tar.gz 265435 BLAKE2B 09545bd029dc692e5393983a3fc9210600c4a6456635238b7038ff87799f9cfde9c2d3c7ceb4c01b71594ba7bd159e8b6b3c2370bdfcdbf3d6189a895b96292a SHA512 1a379f4fb0ead306a668aef2b9e390728d6d3901b75f43fac6ccc28681a8010e42b094237f3f1ab95ca304ba917c8fb5d5519ec0581cadb346e6eb05466e39f0
|
||||
|
||||
@@ -0,0 +1,63 @@
|
||||
# Copyright 2019-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python{3_7,3_8} )
|
||||
|
||||
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"
|
||||
SRC_URI=""
|
||||
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}"
|
||||
fi
|
||||
|
||||
DESCRIPTION="The auto-magic functions for ease to use of the ament linters"
|
||||
HOMEPAGE="https://github.com/ament/ament_lint"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
if [ "${PV#9999}" != "${PV}" ] ; then
|
||||
PROPERTIES="live"
|
||||
else
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
dev-ros/ament_copyright
|
||||
dev-ros/ament_cmake_test
|
||||
"
|
||||
DEPEND=""
|
||||
# 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}] dev-ros/ament_copyright[${PYTHON_USEDEP}] test? ( dev-ros/ament_lint_cmake[${PYTHON_USEDEP}] )' )
|
||||
dev-ros/ament_cmake_core
|
||||
dev-ros/ament_cmake_test
|
||||
dev-ros/ament_copyright
|
||||
test? (
|
||||
dev-ros/ament_cmake_lint_cmake
|
||||
)
|
||||
${PYTHON_DEPS}
|
||||
"
|
||||
|
||||
python_check_deps() {
|
||||
has_version "dev-python/ament_package[${PYTHON_USEDEP}]" && \
|
||||
has_version "dev-python/catkin_pkg[${PYTHON_USEDEP}]" && \
|
||||
has_version "dev-ros/ament_copyright[${PYTHON_USEDEP}]" && \
|
||||
( use !test || has_version "dev-ros/ament_lint_cmake[${PYTHON_USEDEP}]" )
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DBUILD_TESTING=$(usex test ON OFF)
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
Reference in New Issue
Block a user