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 4EBDC158086 for ; Thu, 11 Nov 2021 10:56:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0C226E09CC; Thu, 11 Nov 2021 10:56:36 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 147E5E09CC for ; Thu, 11 Nov 2021 10:56:34 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 E521A342C1C for ; Thu, 11 Nov 2021 10:56:32 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 51685EA for ; Thu, 11 Nov 2021 10:56:31 +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: <1636628183.9c124f6f790d1692d61c842a6e57c53cb83de648.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.1.ebuild X-VCS-Directories: dev-util/clippy/ X-VCS-Committer: jsmolic X-VCS-Committer-Name: Jakov Smolić X-VCS-Revision: 9c124f6f790d1692d61c842a6e57c53cb83de648 X-VCS-Branch: master Date: Thu, 11 Nov 2021 10:56:31 +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: 9cea0a6d-eeea-4be6-a37e-4879de505396 X-Archives-Hash: 4d2a525ef5a0340c0ca86be5cef9fd76 commit: 9c124f6f790d1692d61c842a6e57c53cb83de648 Author: Jakov Smolić gentoo org> AuthorDate: Thu Nov 11 10:40:11 2021 +0000 Commit: Jakov Smolić gentoo org> CommitDate: Thu Nov 11 10:56:23 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c124f6f dev-util/clippy: add 8.1 Signed-off-by: Jakov Smolić gentoo.org> dev-util/clippy/Manifest | 1 + dev-util/clippy/clippy-8.1.ebuild | 42 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) diff --git a/dev-util/clippy/Manifest b/dev-util/clippy/Manifest index 2bc6fd7faac..a717cffb05d 100644 --- a/dev-util/clippy/Manifest +++ b/dev-util/clippy/Manifest @@ -1 +1,2 @@ DIST clippy-8.0.1.tar.gz 8206852 BLAKE2B ed23f62457877fb3173977e1b7092c808adc5d5bd9b1d83747ac42573117adc38865abd1e722073532800f543978e5d67ba7c88416a4335c72bd6b8a3045ff5a SHA512 d9a9ee3b40bf0271779765447c67da817551b5bf2d5d1e9f8073fb4596c622e013fbf7316ca39087db7b7f478b18d07f1fd06f1778abde2734c83112573d5f8f +DIST clippy-8.1.tar.gz 8514995 BLAKE2B 6b70756909b54af3317b1e97956345206612a471893dcfa4d4a7edaf27ae8d94624b0129eb511bf96ac100cc8c5c5234c2f7031d1692f4a81d5025fe797cfd11 SHA512 dcbee55b48e9d4aba005a455f8c89e63a86d63a230e6bf2e1f691adf99654e0e170efaf2c8759e0bfc33b977659a828bed248370722210e98a6e2abad8f502aa diff --git a/dev-util/clippy/clippy-8.1.ebuild b/dev-util/clippy/clippy-8.1.ebuild new file mode 100644 index 00000000000..9fefa0ae3fc --- /dev/null +++ b/dev-util/clippy/clippy-8.1.ebuild @@ -0,0 +1,42 @@ +# Copyright 2020-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MY_P="frr-${PV}" +PYTHON_COMPAT=( python3_{8..10} ) +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/flex" + +src_prepare() { + default + eautoreconf +} + +src_configure() { + econf --enable-clippy-only +} + +src_install() { + dobin lib/clippy +}