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 41C4A158089 for ; Wed, 11 Oct 2023 21:07:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5C2A12BC097; Wed, 11 Oct 2023 21:07:12 +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 3B2E72BC096 for ; Wed, 11 Oct 2023 21:07:12 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 335CC335C8E for ; Wed, 11 Oct 2023 21:07:11 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 248CA1149 for ; Wed, 11 Oct 2023 21:07:08 +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: <1697058413.d8975cf494786a98ec6fd4ac853d56ff4856e0d2.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-9.0.1.ebuild X-VCS-Directories: dev-util/clippy/ X-VCS-Committer: jsmolic X-VCS-Committer-Name: Jakov Smolić X-VCS-Revision: d8975cf494786a98ec6fd4ac853d56ff4856e0d2 X-VCS-Branch: master Date: Wed, 11 Oct 2023 21:07:08 +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: 91a86677-79e9-4689-8e0f-4475837bf268 X-Archives-Hash: 4dcf75e04cbfd8de102e2d7d4258e6e8 commit: d8975cf494786a98ec6fd4ac853d56ff4856e0d2 Author: Jakov Smolić gentoo org> AuthorDate: Wed Oct 11 20:44:36 2023 +0000 Commit: Jakov Smolić gentoo org> CommitDate: Wed Oct 11 21:06:53 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8975cf4 dev-util/clippy: add 9.0.1 Signed-off-by: Jakov Smolić gentoo.org> dev-util/clippy/Manifest | 1 + dev-util/clippy/clippy-9.0.1.ebuild | 58 +++++++++++++++++++++++++++++++++++++ 2 files changed, 59 insertions(+) diff --git a/dev-util/clippy/Manifest b/dev-util/clippy/Manifest index 62c51b16b7df..d91332d2ffe3 100644 --- a/dev-util/clippy/Manifest +++ b/dev-util/clippy/Manifest @@ -1 +1,2 @@ +DIST frr-9.0.1.tar.gz 10334150 BLAKE2B c5f0d092421cdaea400e669973da3d53d9875871488be3b5e8c2c9afa78bf357a775671756eacb94372c5067a8a1284cb4feb4927988e0f1a42d19239a871f3b SHA512 fa1884529a98c8e5ad2dab7f6f67246844ea34ba4d68e3a907a01d43e0eec9317104107f5f18e4b61c11d2cbb4d20eac1e8aef6e4a2b2e54efcad245ee3fb6b9 DIST frr-9.0.tar.gz 10332694 BLAKE2B 82221df6da189d5e687af4618af71933eb512413126dfb312bfcc663e5fc6f85e29c33da84117f40598452e6033cb24e9cba8d28f00d63fee2bf45a43babef17 SHA512 d3af6c24abbc8745f9646a22c023bd1d0e155776ffd09c9dd0b81b93c383723c9e7dd987319551db85dab5fd45d47cbcbf47a1ae1b6861cd7930bc27f18d2e25 diff --git a/dev-util/clippy/clippy-9.0.1.ebuild b/dev-util/clippy/clippy-9.0.1.ebuild new file mode 100644 index 000000000000..ec1ffe461fd4 --- /dev/null +++ b/dev-util/clippy/clippy-9.0.1.ebuild @@ -0,0 +1,58 @@ +# 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" +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 +" + +QA_CONFIG_IMPL_DECL_SKIP=( + mallinfo # check in configure is fallback is needed + mallinfo2 # check in configure is fallback is needed +) + +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'" +}