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 A47B0139368 for ; Thu, 5 Aug 2021 11:32:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 76498E0877; Thu, 5 Aug 2021 11:32:05 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 3E630E0877 for ; Thu, 5 Aug 2021 11:32:05 +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 878AA342CF0 for ; Thu, 5 Aug 2021 11:32:03 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0943385B for ; Thu, 5 Aug 2021 11:32:02 +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: <1628163107.41c363099f9f34042ca8470ecabfee3ae4627921.aballier@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ros/ament_copyright/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ros/ament_copyright/Manifest dev-ros/ament_copyright/ament_copyright-0.11.2.ebuild X-VCS-Directories: dev-ros/ament_copyright/ X-VCS-Committer: aballier X-VCS-Committer-Name: Alexis Ballier X-VCS-Revision: 41c363099f9f34042ca8470ecabfee3ae4627921 X-VCS-Branch: master Date: Thu, 5 Aug 2021 11:32:02 +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: f9df53dc-3b9a-4574-bf04-7dc56259660a X-Archives-Hash: 153d417835a54370792f8f4f425e6741 commit: 41c363099f9f34042ca8470ecabfee3ae4627921 Author: Alexis Ballier gentoo org> AuthorDate: Wed Aug 4 11:17:11 2021 +0000 Commit: Alexis Ballier gentoo org> CommitDate: Thu Aug 5 11:31:47 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41c36309 dev-ros/ament_copyright: bump to 0.11.2 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Alexis Ballier gentoo.org> dev-ros/ament_copyright/Manifest | 1 + .../ament_copyright/ament_copyright-0.11.2.ebuild | 52 ++++++++++++++++++++++ 2 files changed, 53 insertions(+) diff --git a/dev-ros/ament_copyright/Manifest b/dev-ros/ament_copyright/Manifest index e3cb32d3e52..e2ea8fb7f8b 100644 --- a/dev-ros/ament_copyright/Manifest +++ b/dev-ros/ament_copyright/Manifest @@ -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 diff --git a/dev-ros/ament_copyright/ament_copyright-0.11.2.ebuild b/dev-ros/ament_copyright/ament_copyright-0.11.2.ebuild new file mode 100644 index 00000000000..dfdc3192ac6 --- /dev/null +++ b/dev-ros/ament_copyright/ament_copyright-0.11.2.ebuild @@ -0,0 +1,52 @@ +# 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} ) +DISTUTILS_USE_SETUPTOOLS=rdepend + +inherit distutils-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 ability to check source files for copyright and license information." +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" + +RDEPEND=" + dev-ros/ament_lint + dev-python/importlib_metadata[${PYTHON_USEDEP}] +" +DEPEND="${RDEPEND} + test? ( + dev-ros/ament_flake8[${PYTHON_USEDEP}] + dev-ros/ament_pep257[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + ) +" +BDEPEND="" + +distutils_enable_tests pytest + +python_test() { + distutils_install_for_testing + pytest -vv || die "Tests failed with ${EPYTHON}" +}