diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-04-04 11:22:15 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-04-04 11:22:15 +0100 |
commit | 7f6382ebb44b75c53021d4c4ab77d6b34aed21ac (patch) | |
tree | 4d92ef3af5a26ff8a8a5a1ec4f21d18c65f56fe2 /dev-util/clippy | |
parent | 41e5b5c1f11820df590e0a245bbddf224bc07823 (diff) |
gentoo auto-resync : 04:04:2023 - 11:22:14
Diffstat (limited to 'dev-util/clippy')
-rw-r--r-- | dev-util/clippy/Manifest | 2 | ||||
-rw-r--r-- | dev-util/clippy/clippy-8.5.ebuild | 53 |
2 files changed, 55 insertions, 0 deletions
diff --git a/dev-util/clippy/Manifest b/dev-util/clippy/Manifest index fe260bb85635..8227e1feff2a 100644 --- a/dev-util/clippy/Manifest +++ b/dev-util/clippy/Manifest @@ -1,3 +1,5 @@ DIST clippy-8.4.2.tar.gz 9893223 BLAKE2B 670fb131c2959b0ce4f3133ef38caeb7832275844b16f8582a693033f5466ad0eb98ab45ed9615e0a121ab80bf034edafe7ee816c47d767bd8a13b52f3138eac SHA512 1ee9d17ef3b85c5c10df624a6560bcacb2b5daa3d6231e457f06d9eb6e5ccf375064a46e809d851c23cb6daf7a4299d1f25be589992ef729e80f9bad41a8d7f7 +DIST clippy-8.5.tar.gz 10068379 BLAKE2B ed7aa538997bdbfde0370f36a8980ad3ae882a2325cdc7c3b2bdba9d6a43cd9ca04ff96b94b7827e06593a15c104cdadbd2632e136eb2d68e7ed87095a9294a4 SHA512 13e2ea8642fc00b565e9a36d2d59abe5d0e11caf646199cd928184fda2de004bda9892ae8a2f91870d5ac218bb127725663b693e4d764e5b21c942bb20b8d66f EBUILD clippy-8.4.2.ebuild 1040 BLAKE2B c4e25fface9b5c8306da6a5f0170bd3e71d1cd8689823d8c9bebc532acd0ab3d76dea9803a650da0faaa18cc2f24ea8976ae4e6da08679792e9cfb17c80bd5e3 SHA512 6fa6bddf3e0ef21c623be03b2ab4dffd27aae176cecababd901d53d883e416fe69f1fb66ea92abd7b51c2c5a1ca15646f2ea45c833bdd8313de89af2925bc5fc +EBUILD clippy-8.5.ebuild 1042 BLAKE2B c27e6af0eeac3f71b2a143a0b9f65fe06e3357a92e8b3ccf2e0c5d54d2f22a0327001b62175e205d54f9777515bd2f5f964660e3f23271890e8f078ef7256922 SHA512 7554bceed36172c152089fd0e12750023d9cfea77fa4a9c093079500be0dac50bc452b8df260670fe10d84eb9ed4874ed46c925954c47af8aabbf673102b59e8 MISC metadata.xml 326 BLAKE2B b909c2525951476b2905e143974e734364023b9ac622f01ddae1e16427359ea47af02af11a3bb6ac5c51ef519c9c66995c8cba31d9ca41f1e48f33106a0678b3 SHA512 ee570ffd0054e2c132d637b41921bb25f3172fdfb0bcbc5d2214eaa3bb95c109ca58a5e6cd7ebd386de497ef3e20cf3696243dcc5e82fc4cfae25bba51be4db9 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'" +} |