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 8834815800F for ; Sat, 4 Feb 2023 23:37:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8E879E079E; Sat, 4 Feb 2023 23:37:14 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 767CBE079E for ; Sat, 4 Feb 2023 23:37:14 +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 9569B340CD8 for ; Sat, 4 Feb 2023 23:37:13 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B629389C for ; Sat, 4 Feb 2023 23:37:11 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1675553818.31a37ac4fd5eddc21f46ad6b4011675f0b19df18.sam@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.4.2.ebuild X-VCS-Directories: dev-util/clippy/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 31a37ac4fd5eddc21f46ad6b4011675f0b19df18 X-VCS-Branch: master Date: Sat, 4 Feb 2023 23:37:11 +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: 21ce7e8c-866b-4df0-b9fc-f3b583d8ed95 X-Archives-Hash: 4557f341234629930cf193d7bcd13565 commit: 31a37ac4fd5eddc21f46ad6b4011675f0b19df18 Author: Sam James gentoo org> AuthorDate: Sat Feb 4 23:36:09 2023 +0000 Commit: Sam James gentoo org> CommitDate: Sat Feb 4 23:36:58 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31a37ac4 dev-util/clippy: add 8.4.2 Closes: https://bugs.gentoo.org/884291 Signed-off-by: Sam James gentoo.org> dev-util/clippy/Manifest | 1 + dev-util/clippy/clippy-8.4.2.ebuild | 53 +++++++++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) diff --git a/dev-util/clippy/Manifest b/dev-util/clippy/Manifest index 638729225ca7..3b5111416c32 100644 --- a/dev-util/clippy/Manifest +++ b/dev-util/clippy/Manifest @@ -1,2 +1,3 @@ DIST clippy-8.2.2.tar.gz 9439460 BLAKE2B 7ea4b44e3d167677e087ac8767c470b91c485e52f9e45513fb6da8498ff3c56e84dd90257eff3b0067c061e7596578968017cbec7de7ea951b6f80134332e1bf SHA512 52d8e82979823f61ec6f117db1eb41b23fd8ad3197ae3f9d2cfa3ad9d96636a3d2f0b36720b2041a9261c8b639ddd48e46a2351ce41cb596f7dc432cddf29256 DIST clippy-8.4.1.tar.gz 9886182 BLAKE2B be270f34e9ffdbf87a10c7bbd73e9f244128821f1c014060880015e4e7e06165dbc1dc3253894bda5dc1a0607a5bdbad21a70532e9019f1e06d0abd24beffff1 SHA512 69f936580d2e7838e1f15fdfa71a4fa00e7acaa93df4cdbd6129560fbcd45f3754cf5d03b4c9331bf4850477560d63d5509d185098583d19fa93d9e960e1483a +DIST clippy-8.4.2.tar.gz 9893223 BLAKE2B 670fb131c2959b0ce4f3133ef38caeb7832275844b16f8582a693033f5466ad0eb98ab45ed9615e0a121ab80bf034edafe7ee816c47d767bd8a13b52f3138eac SHA512 1ee9d17ef3b85c5c10df624a6560bcacb2b5daa3d6231e457f06d9eb6e5ccf375064a46e809d851c23cb6daf7a4299d1f25be589992ef729e80f9bad41a8d7f7 diff --git a/dev-util/clippy/clippy-8.4.2.ebuild b/dev-util/clippy/clippy-8.4.2.ebuild new file mode 100644 index 000000000000..c9bb649db28e --- /dev/null +++ b/dev-util/clippy/clippy-8.4.2.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'" +}