diff options
author | Jakov Smolić <jsmolic@gentoo.org> | 2021-11-11 11:40:11 +0100 |
---|---|---|
committer | Jakov Smolić <jsmolic@gentoo.org> | 2021-11-11 11:56:23 +0100 |
commit | 9c124f6f790d1692d61c842a6e57c53cb83de648 (patch) | |
tree | 24672cee5441e61979972cac1b441e98deca2f24 /dev-util/clippy | |
parent | gnome-extra/gnome-shell-extension-desktop-icons-ng: Drop old (diff) | |
download | gentoo-9c124f6f790d1692d61c842a6e57c53cb83de648.tar.gz gentoo-9c124f6f790d1692d61c842a6e57c53cb83de648.tar.bz2 gentoo-9c124f6f790d1692d61c842a6e57c53cb83de648.zip |
dev-util/clippy: add 8.1
Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
Diffstat (limited to 'dev-util/clippy')
-rw-r--r-- | dev-util/clippy/Manifest | 1 | ||||
-rw-r--r-- | dev-util/clippy/clippy-8.1.ebuild | 42 |
2 files changed, 43 insertions, 0 deletions
diff --git a/dev-util/clippy/Manifest b/dev-util/clippy/Manifest index 2bc6fd7faacc..a717cffb05d3 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 000000000000..9fefa0ae3fc6 --- /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 +} |