summaryrefslogtreecommitdiff
path: root/dev-util/clippy
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-12-08 15:15:47 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-12-08 15:15:47 +0000
commitc51985271f4c8e0bc79728c6cecf15d6b6515914 (patch)
tree136e550faa2ade2f9deb17c1f157917cb8c0c2a5 /dev-util/clippy
parente37a045a0092ca878b980ed5e9f8bf09d38581c8 (diff)
gentoo auto-resync : 08:12:2022 - 15:15:47
Diffstat (limited to 'dev-util/clippy')
-rw-r--r--dev-util/clippy/Manifest2
-rw-r--r--dev-util/clippy/clippy-8.4.1.ebuild46
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-util/clippy/Manifest b/dev-util/clippy/Manifest
index 8db13b526190..f160be0e7f14 100644
--- a/dev-util/clippy/Manifest
+++ b/dev-util/clippy/Manifest
@@ -1,3 +1,5 @@
DIST clippy-8.2.2.tar.gz 9439460 BLAKE2B 7ea4b44e3d167677e087ac8767c470b91c485e52f9e45513fb6da8498ff3c56e84dd90257eff3b0067c061e7596578968017cbec7de7ea951b6f80134332e1bf SHA512 52d8e82979823f61ec6f117db1eb41b23fd8ad3197ae3f9d2cfa3ad9d96636a3d2f0b36720b2041a9261c8b639ddd48e46a2351ce41cb596f7dc432cddf29256
+DIST clippy-8.4.1.tar.gz 9886182 BLAKE2B be270f34e9ffdbf87a10c7bbd73e9f244128821f1c014060880015e4e7e06165dbc1dc3253894bda5dc1a0607a5bdbad21a70532e9019f1e06d0abd24beffff1 SHA512 69f936580d2e7838e1f15fdfa71a4fa00e7acaa93df4cdbd6129560fbcd45f3754cf5d03b4c9331bf4850477560d63d5509d185098583d19fa93d9e960e1483a
EBUILD clippy-8.2.2-r1.ebuild 975 BLAKE2B c6ece16f4e0f5e996ff7e2537058b70ebfd7bc3d867166fa8b4991b135f743aa33e41a9c6b37b15248bbbe3124095459918aefca30705c76651d32667fba27e9 SHA512 4634d13903540dd00ecf84c56b485c1a3bfb9eacdfa29edac1079fe7ed3e61407294b7d560be54290ff15dba13077d7e8f9f4ab4f6644a2a5a92b7376d5d1e72
+EBUILD clippy-8.4.1.ebuild 977 BLAKE2B 7b4e88ebe070545fec27fb6262f5bdac5dfb1cf0ec6f90b218c4194241c82ad6f6a2b6dec468b83b64aab7950ef1a1e04a72b18f15a73bc06281841ff9cd86d3 SHA512 07f4c0eb9e85d667051c42204473b759f4c361fff201f20d90f4a3139110f7a4daf319ad2c067bbebbcf007f43eabb526220e59a9884a1dc9aa3146e76131b7b
MISC metadata.xml 326 BLAKE2B b909c2525951476b2905e143974e734364023b9ac622f01ddae1e16427359ea47af02af11a3bb6ac5c51ef519c9c66995c8cba31d9ca41f1e48f33106a0678b3 SHA512 ee570ffd0054e2c132d637b41921bb25f3172fdfb0bcbc5d2214eaa3bb95c109ca58a5e6cd7ebd386de497ef3e20cf3696243dcc5e82fc4cfae25bba51be4db9
diff --git a/dev-util/clippy/clippy-8.4.1.ebuild b/dev-util/clippy/clippy-8.4.1.ebuild
new file mode 100644
index 000000000000..9145b460dbf0
--- /dev/null
+++ b/dev-util/clippy/clippy-8.4.1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 2020-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_P="frr-${PV}"
+PYTHON_COMPAT=( python3_{8..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/flex"
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ 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'"
+}