1 |
commit: 1efcc83c8f6e1a8e0f2160aab3c2339d7a783834 |
2 |
Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Apr 27 22:15:47 2022 +0000 |
4 |
Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Apr 27 22:21:35 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1efcc83c |
7 |
|
8 |
dev-util/clippy: add 8.2.2 |
9 |
|
10 |
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org> |
11 |
|
12 |
dev-util/clippy/Manifest | 1 + |
13 |
dev-util/clippy/clippy-8.2.2.ebuild | 42 +++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 43 insertions(+) |
15 |
|
16 |
diff --git a/dev-util/clippy/Manifest b/dev-util/clippy/Manifest |
17 |
index 3a97435e4421..1f52d02d2c18 100644 |
18 |
--- a/dev-util/clippy/Manifest |
19 |
+++ b/dev-util/clippy/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST clippy-8.1.tar.gz 8514995 BLAKE2B 6b70756909b54af3317b1e97956345206612a471893dcfa4d4a7edaf27ae8d94624b0129eb511bf96ac100cc8c5c5234c2f7031d1692f4a81d5025fe797cfd11 SHA512 dcbee55b48e9d4aba005a455f8c89e63a86d63a230e6bf2e1f691adf99654e0e170efaf2c8759e0bfc33b977659a828bed248370722210e98a6e2abad8f502aa |
22 |
+DIST clippy-8.2.2.tar.gz 9439460 BLAKE2B 7ea4b44e3d167677e087ac8767c470b91c485e52f9e45513fb6da8498ff3c56e84dd90257eff3b0067c061e7596578968017cbec7de7ea951b6f80134332e1bf SHA512 52d8e82979823f61ec6f117db1eb41b23fd8ad3197ae3f9d2cfa3ad9d96636a3d2f0b36720b2041a9261c8b639ddd48e46a2351ce41cb596f7dc432cddf29256 |
23 |
|
24 |
diff --git a/dev-util/clippy/clippy-8.2.2.ebuild b/dev-util/clippy/clippy-8.2.2.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..7438cb91f503 |
27 |
--- /dev/null |
28 |
+++ b/dev-util/clippy/clippy-8.2.2.ebuild |
29 |
@@ -0,0 +1,42 @@ |
30 |
+# Copyright 2020-2022 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+MY_P="frr-${PV}" |
36 |
+PYTHON_COMPAT=( python3_{8..10} ) |
37 |
+inherit autotools python-single-r1 |
38 |
+ |
39 |
+DESCRIPTION="Standalone clippy tool built from FRR sources" |
40 |
+HOMEPAGE="https://frrouting.org/" |
41 |
+SRC_URI="https://github.com/FRRouting/frr/archive/${MY_P}.tar.gz -> ${P}.tar.gz" |
42 |
+S="${WORKDIR}/frr-${MY_P}" |
43 |
+ |
44 |
+LICENSE="GPL-2" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~amd64 ~arm64 ~x86" |
47 |
+REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
48 |
+ |
49 |
+# standalone clippy does not have any tests |
50 |
+# restrict to prevent bug 811753 |
51 |
+RESTRICT="test" |
52 |
+ |
53 |
+DEPEND=" |
54 |
+ ${PYTHON_DEPS} |
55 |
+ virtual/libelf:= |
56 |
+" |
57 |
+RDEPEND="${DEPEND}" |
58 |
+BDEPEND="sys-devel/flex" |
59 |
+ |
60 |
+src_prepare() { |
61 |
+ default |
62 |
+ eautoreconf |
63 |
+} |
64 |
+ |
65 |
+src_configure() { |
66 |
+ econf --enable-clippy-only |
67 |
+} |
68 |
+ |
69 |
+src_install() { |
70 |
+ dobin lib/clippy |
71 |
+} |