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 8E16F15800C for ; Tue, 4 Apr 2023 08:07:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AA0F7E07F0; Tue, 4 Apr 2023 08:07:56 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 8F4B6E07F0 for ; Tue, 4 Apr 2023 08:07:56 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 997D4340CB8 for ; Tue, 4 Apr 2023 08:07:55 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D5732A1E for ; Tue, 4 Apr 2023 08:07:53 +0000 (UTC) From: "Jakov Smolić" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jakov Smolić" Message-ID: <1680595250.dd5116f390fb60f43efeb91de7da7b60d1b85145.jsmolic@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/clippy/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/clippy/Manifest dev-util/clippy/clippy-8.5.ebuild X-VCS-Directories: dev-util/clippy/ X-VCS-Committer: jsmolic X-VCS-Committer-Name: Jakov Smolić X-VCS-Revision: dd5116f390fb60f43efeb91de7da7b60d1b85145 X-VCS-Branch: master Date: Tue, 4 Apr 2023 08:07:53 +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: d65f1499-1aac-46d5-ad0c-b296ca49b5d9 X-Archives-Hash: 3c08030068994183f75173797c869deb commit: dd5116f390fb60f43efeb91de7da7b60d1b85145 Author: Jakov Smolić gentoo org> AuthorDate: Tue Apr 4 08:00:50 2023 +0000 Commit: Jakov Smolić gentoo org> CommitDate: Tue Apr 4 08:00:50 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd5116f3 dev-util/clippy: add 8.5 Signed-off-by: Jakov Smolić gentoo.org> dev-util/clippy/Manifest | 1 + dev-util/clippy/clippy-8.5.ebuild | 53 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) diff --git a/dev-util/clippy/Manifest b/dev-util/clippy/Manifest index 20ebf292b770..557e58232b98 100644 --- a/dev-util/clippy/Manifest +++ b/dev-util/clippy/Manifest @@ -1 +1,2 @@ DIST clippy-8.4.2.tar.gz 9893223 BLAKE2B 670fb131c2959b0ce4f3133ef38caeb7832275844b16f8582a693033f5466ad0eb98ab45ed9615e0a121ab80bf034edafe7ee816c47d767bd8a13b52f3138eac SHA512 1ee9d17ef3b85c5c10df624a6560bcacb2b5daa3d6231e457f06d9eb6e5ccf375064a46e809d851c23cb6daf7a4299d1f25be589992ef729e80f9bad41a8d7f7 +DIST clippy-8.5.tar.gz 10068379 BLAKE2B ed7aa538997bdbfde0370f36a8980ad3ae882a2325cdc7c3b2bdba9d6a43cd9ca04ff96b94b7827e06593a15c104cdadbd2632e136eb2d68e7ed87095a9294a4 SHA512 13e2ea8642fc00b565e9a36d2d59abe5d0e11caf646199cd928184fda2de004bda9892ae8a2f91870d5ac218bb127725663b693e4d764e5b21c942bb20b8d66f diff --git a/dev-util/clippy/clippy-8.5.ebuild b/dev-util/clippy/clippy-8.5.ebuild new file mode 100644 index 000000000000..c9bb649db28e --- /dev/null +++ b/dev-util/clippy/clippy-8.5.ebuild @@ -0,0 +1,53 @@ +# Copyright 2020-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MY_P="frr-${PV}" +PYTHON_COMPAT=( python3_{9..11} ) +inherit autotools python-single-r1 + +DESCRIPTION="Standalone clippy tool built from FRR sources" +HOMEPAGE="https://frrouting.org/" +SRC_URI="https://github.com/FRRouting/frr/archive/${MY_P}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/frr-${MY_P}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +# standalone clippy does not have any tests +# restrict to prevent bug 811753 +RESTRICT="test" + +DEPEND=" + ${PYTHON_DEPS} + virtual/libelf:= +" +RDEPEND="${DEPEND}" +BDEPEND=" + sys-devel/bison + sys-devel/flex +" + +src_prepare() { + default + eautoreconf +} + +src_configure() { + # bug #884291 + unset YACC + export LEX=flex + + econf --enable-clippy-only +} + +src_install() { + # 830087 + find "lib" -type f -name "clippy" -print0 | + xargs -0 file | grep executable | grep ELF | cut -f 1 -d : | + xargs -I '{}' dobin '{}' || + die "Failed to install 'lib/clippy'" +}