summaryrefslogtreecommitdiff
path: root/dev-util/clippy
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-04-28 20:21:43 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-04-28 20:21:43 +0100
commit40aaaa64e86ba6710bbeb31c4615a6ce80e75e11 (patch)
tree758c221bad35c9288d0bd6df9c7dfc226728e52c /dev-util/clippy
parent8d5dbd847cbc704a6a06405856e94b461011afe3 (diff)
gentoo resync : 28.04.2021
Diffstat (limited to 'dev-util/clippy')
-rw-r--r--dev-util/clippy/Manifest3
-rw-r--r--dev-util/clippy/clippy-7.5.1.ebuild36
-rw-r--r--dev-util/clippy/metadata.xml15
3 files changed, 54 insertions, 0 deletions
diff --git a/dev-util/clippy/Manifest b/dev-util/clippy/Manifest
new file mode 100644
index 000000000000..64b366cabf3f
--- /dev/null
+++ b/dev-util/clippy/Manifest
@@ -0,0 +1,3 @@
+DIST clippy-7.5.1.tar.gz 6746148 BLAKE2B e6a8d38bac1323852d933ca9eaac681df8824407af008bb0170937a01564b3fb9fb081418630b7540f3ccdb899ac0948121d63accfa65ae0fd3fd6933fdafd6d SHA512 cf20316abd39a2d96bb377bd594464ae74c20ad70c60246409fe9f04f0177fcd8891a8da54d83bee962f589a00e71f7b51e78f9729c8680e6265ddd548e0464e
+EBUILD clippy-7.5.1.ebuild 686 BLAKE2B 9f182e51364dc0a0c5a47895e24da6d6a20129c06247729fffc984beb81686e458360840971bbf4b8e2c81633e67f6bc6247b3edffa82c88eb7e11f3c335c34c SHA512 fb4b2e41d5cbaa0ce84d8c51ddc51bc7abcacb0519b3da8862ec53675eac9138d043f72f883844df89c5280f248a32cc634827c06ddb8873023229653b56c7e7
+MISC metadata.xml 446 BLAKE2B 050a4ea6898765738509df146963825bdf388360aa8f759c14ca2f2fe26e8e011ec12043064d1831f5e33547a3b2bbd6ffc46e805554203171146b1c94b54415 SHA512 aba1be4aaf36e608df0219f928275379a88690791c0985d13531557bd2586f57354af45cbaf28c52a08ab852bb880c1efa3e0d6f189547428e0e7eb98d410cc0
diff --git a/dev-util/clippy/clippy-7.5.1.ebuild b/dev-util/clippy/clippy-7.5.1.ebuild
new file mode 100644
index 000000000000..15c963de4fd9
--- /dev/null
+++ b/dev-util/clippy/clippy-7.5.1.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..9} )
+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 ~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 000000000000..af7e64c3e634
--- /dev/null
+++ b/dev-util/clippy/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>jakov.smolic@sartura.hr</email>
+ <name>Jakov Smolic</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">FRRouting/frr</remote-id>
+ </upstream>
+</pkgmetadata>