diff --git a/dev-util/clippy/Manifest b/dev-util/clippy/Manifest new file mode 100644 index 0000000..bc0d5cb --- /dev/null +++ b/dev-util/clippy/Manifest @@ -0,0 +1 @@ +DIST clippy-8.0.tar.gz 8195258 BLAKE2B 75d8d4410a5377dae3bf6938c3b095b163ad87776420a16c07d461bb3f635d623de642fa0ae483094788369c9dc6a04d5424107bf60c848ac54756c4bdb20c97 SHA512 fdf1e68c16e266a74221fb194851ef47c888e90324de2e42a4ca68b9dbce1ba6f45d73b9830bdb17774ecdde736111fa562201a5763c49092b6ce1f0a4d4865a diff --git a/dev-util/clippy/clippy-8.0.ebuild b/dev-util/clippy/clippy-8.0.ebuild new file mode 100644 index 0000000..0f44e2f --- /dev/null +++ b/dev-util/clippy/clippy-8.0.ebuild @@ -0,0 +1,36 @@ +# Copyright 2020-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MY_P="frr-${PV}" +PYTHON_COMPAT=( python3_{7..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" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +DEPEND="${PYTHON_DEPS}" +RDEPEND="${DEPEND}" +BDEPEND="sys-devel/flex" + +S="${WORKDIR}/frr-${MY_P}" + +src_prepare() { + default + eautoreconf +} + +src_configure() { + econf --enable-clippy-only +} + +src_install() { + dobin lib/clippy +} diff --git a/dev-util/clippy/metadata.xml b/dev-util/clippy/metadata.xml new file mode 100644 index 0000000..af7e64c --- /dev/null +++ b/dev-util/clippy/metadata.xml @@ -0,0 +1,15 @@ + + + + + jakov.smolic@sartura.hr + Jakov Smolic + + + proxy-maint@gentoo.org + Proxy Maintainers + + + FRRouting/frr + +