diff options
author | Tony Vroon <chainsaw@gentoo.org> | 2019-02-01 15:51:59 +0000 |
---|---|---|
committer | Tony Vroon <chainsaw@gentoo.org> | 2019-02-01 15:52:18 +0000 |
commit | 43556ff2bd33a464f82c731101d1694ac8bbc7e5 (patch) | |
tree | b2e24075893f0aa38681ff0062d1c314434900f5 /net-misc | |
parent | dev-python/progressbar2: Initial commit. (diff) | |
download | gentoo-43556ff2bd33a464f82c731101d1694ac8bbc7e5.tar.gz gentoo-43556ff2bd33a464f82c731101d1694ac8bbc7e5.tar.bz2 gentoo-43556ff2bd33a464f82c731101d1694ac8bbc7e5.zip |
net-misc/irrtree: Initial commit.
As requested by Moyaze Shivji in the LINX engineering department.
Signed-Off-By: Tony Vroon <chainsaw@gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/irrtree/Manifest | 1 | ||||
-rw-r--r-- | net-misc/irrtree/files/irrtree-1.2.1-leniency-deps.patch | 12 | ||||
-rw-r--r-- | net-misc/irrtree/files/irrtree-1.2.1-queue-capitalisation.patch | 12 | ||||
-rw-r--r-- | net-misc/irrtree/irrtree-1.2.1.ebuild | 22 | ||||
-rw-r--r-- | net-misc/irrtree/metadata.xml | 11 |
5 files changed, 58 insertions, 0 deletions
diff --git a/net-misc/irrtree/Manifest b/net-misc/irrtree/Manifest new file mode 100644 index 000000000000..19a6b36ea5fe --- /dev/null +++ b/net-misc/irrtree/Manifest @@ -0,0 +1 @@ +DIST irrtree-1.2.1.tar.gz 5554 BLAKE2B fa5482f461d2eb4a93b7daa4851db11368ee39083bc312eb9e72836a2f001223db796e5a2947e3377d610496adda63d02f2cfedb65520570b4ca0328a5532af5 SHA512 c22f3ca606cbbda66a466e3c0518c8bb61d32fe3d376005b351de1f36a245cd3a28d89ba1ef8102e6dc2d06d679e260a46c8d056554f62fc2eb0ca21a23ab981 diff --git a/net-misc/irrtree/files/irrtree-1.2.1-leniency-deps.patch b/net-misc/irrtree/files/irrtree-1.2.1-leniency-deps.patch new file mode 100644 index 000000000000..2997d2af2c70 --- /dev/null +++ b/net-misc/irrtree/files/irrtree-1.2.1-leniency-deps.patch @@ -0,0 +1,12 @@ +diff -uNr irrtree-1.2.1.ORIG/setup.py irrtree-1.2.1/setup.py +--- irrtree-1.2.1.ORIG/setup.py 2019-02-01 15:42:43.837122511 +0000 ++++ irrtree-1.2.1/setup.py 2019-02-01 15:42:58.682123129 +0000 +@@ -46,7 +46,7 @@ + print(" git push --tags") + sys.exit() + +-reqs = ['asciitree==0.3.3', 'progressbar2==3.34.3'] ++reqs = ['asciitree>=0.3.3', 'progressbar2>=3.34.3'] + + setup( + name='irrtree', diff --git a/net-misc/irrtree/files/irrtree-1.2.1-queue-capitalisation.patch b/net-misc/irrtree/files/irrtree-1.2.1-queue-capitalisation.patch new file mode 100644 index 000000000000..1196efa760f3 --- /dev/null +++ b/net-misc/irrtree/files/irrtree-1.2.1-queue-capitalisation.patch @@ -0,0 +1,12 @@ +diff -uNr irrtree-1.2.1.ORIG/irrtree/cli.py irrtree-1.2.1/irrtree/cli.py +--- irrtree-1.2.1.ORIG/irrtree/cli.py 2019-02-01 15:49:05.583138394 +0000 ++++ irrtree-1.2.1/irrtree/cli.py 2019-02-01 15:49:18.405138927 +0000 +@@ -26,7 +26,7 @@ + # POSSIBILITY OF SUCH DAMAGE. + + from collections import OrderedDict as OD +-from queue import Queue ++from Queue import Queue + + import asciitree + import getopt diff --git a/net-misc/irrtree/irrtree-1.2.1.ebuild b/net-misc/irrtree/irrtree-1.2.1.ebuild new file mode 100644 index 000000000000..998439317b24 --- /dev/null +++ b/net-misc/irrtree/irrtree-1.2.1.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python2_7 ) +PATCHES="${FILESDIR}/${P}-leniency-deps.patch + ${FILESDIR}/${P}-queue-capitalisation.patch" + +inherit distutils-r1 + +DEPEND="dev-python/asciitree + dev-python/progressbar2" +RDEPEND="${DEPEND}" + +DESCRIPTION="The BGP swiss army knife of networking" +HOMEPAGE="https://github.com/job/irrtree" +SRC_URI="https://github.com/job/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" diff --git a/net-misc/irrtree/metadata.xml b/net-misc/irrtree/metadata.xml new file mode 100644 index 000000000000..723a74591c68 --- /dev/null +++ b/net-misc/irrtree/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>chainsaw@gentoo.org</email> + <name>Tony Vroon</name> + </maintainer> + <upstream> + <remote-id type="github">job/irrtree</remote-id> + </upstream> +</pkgmetadata> |