summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/gns3-gui')
-rw-r--r--net-misc/gns3-gui/Manifest1
-rw-r--r--net-misc/gns3-gui/gns3-gui-1.5.1.ebuild46
2 files changed, 47 insertions, 0 deletions
diff --git a/net-misc/gns3-gui/Manifest b/net-misc/gns3-gui/Manifest
index d31a3659fac2..b0e28df6a8bd 100644
--- a/net-misc/gns3-gui/Manifest
+++ b/net-misc/gns3-gui/Manifest
@@ -1,2 +1,3 @@
DIST gns3-gui-1.4.4.tar.gz 5725385 SHA256 28ae4bb797e1a20bbb16eca3e58b37c80e93046f44393366780544cf090cf657 SHA512 e77977ea03f686fc5dd15416ed7f8e1262c8a3e1d5b6af598cf6ff938e75c8b65de1930aa75ad3d14f3d2f5c348ddba6c22ed1c5d91842538940c60aba0e985d WHIRLPOOL 46a4480a94ffcfe31e68302f68e01d87c46da43bac2bd635bd2a8c7aa9c03af66416f6eec44b387f084268b5ccec1fbd38100593d89469c51fb111a72cfd7b16
DIST gns3-gui-1.4.6.tar.gz 5728597 SHA256 51fd20836199a851502b3890ee8b1f795c1081ce988e375d81f9286ef5f26bd5 SHA512 0d9537dc192197f0f5df65bb16129418ada6ce614c3f9958ab2447b03c45070bfb7bda166c3b2db89fbcd98c477fb2b920c33acb60ca94ed74bb066c2a032e08 WHIRLPOOL 00368df583be863604cd54cd548f64a49b0176b3ac0ab413ed2f8011c842c9daa3ff35606bc4b6daa6d2a84f7c5f010581140a87b35c48e9ccf138feee0343db
+DIST gns3-gui-1.5.1.tar.gz 5782262 SHA256 9e13a3c9c4ca6bf71da5113e8b4f5acdf354ecee4cd34ecdae34a4980c2f3b80 SHA512 5bde8d6b7a3e8fd117a32142e42f312258b4dd808cf9d76e9da292ee23896056915e6c1e6cc9b2e2b78bd564ab145b12d3616d24108f4ea37505981f1fcca21f WHIRLPOOL 9fb7152fe2f22ca1e28aa0d248812d9ff5713e568dcd3f5b150f8e40a03a88d0b66741bceb17e4b5e00951863409412128c32b832dbe1fc4ba2a9870694bf808
diff --git a/net-misc/gns3-gui/gns3-gui-1.5.1.ebuild b/net-misc/gns3-gui/gns3-gui-1.5.1.ebuild
new file mode 100644
index 000000000000..3902b740295f
--- /dev/null
+++ b/net-misc/gns3-gui/gns3-gui-1.5.1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+PYTHON_COMPAT=( python3_4 )
+
+inherit distutils-r1 eutils
+
+DESCRIPTION="Graphical Network Simulator"
+HOMEPAGE="http://www.gns3.net/"
+SRC_URI="https://github.com/GNS3/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+#net-misc/gns3-server version should always match gns3-gui version
+
+RDEPEND="
+ >=dev-python/libcloud-0.15.1[${PYTHON_USEDEP}]
+ >=dev-python/ws4py-0.3.4[${PYTHON_USEDEP}]
+ >=dev-python/requests-2.6.0[${PYTHON_USEDEP}]
+ >=dev-python/paramiko-1.15.1[${PYTHON_USEDEP}]
+ >=dev-python/psutil-3.0.0[${PYTHON_USEDEP}]
+ >=net-misc/gns3-converter-1.3.0[${PYTHON_USEDEP}]
+ =net-misc/gns3-server-$PVR[${PYTHON_USEDEP}]
+ dev-qt/qtgui:5
+ dev-qt/qtsvg:5
+ dev-python/PyQt5[gui,network,svg,widgets,${PYTHON_USEDEP}]
+"
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
+
+python_configure() {
+ # temporary fix until upstream releases 1.4.5 with proper setup.py
+ sed -i -e 's/gns3-net-converter/gns3-converter/' setup.py || die
+}
+
+python_install_all() {
+ distutils-r1_python_install_all
+
+ doicon "${WORKDIR}/${P}/resources/images/gns3.ico"
+ make_desktop_entry "gns3" "GNS3" "/usr/share/pixmaps/gns3.ico" "Utility"
+}