net-misc/gns3-gui: bump to 1.4.6
authorAaron Bauman <bman@gentoo.org>
Mon, 16 May 2016 07:47:02 +0000 (16:47 +0900)
committerAaron Bauman <bman@gentoo.org>
Mon, 16 May 2016 07:47:02 +0000 (16:47 +0900)
net-misc/gns3-gui/Manifest
net-misc/gns3-gui/gns3-gui-1.4.6.ebuild [new file with mode: 0644]

index 2750181f7bd4ac6c190030f2e495871ccea34ede..d31a3659fac2fb58da76644d589a5f2f3d75733e 100644 (file)
@@ -1 +1,2 @@
 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
diff --git a/net-misc/gns3-gui/gns3-gui-1.4.6.ebuild b/net-misc/gns3-gui/gns3-gui-1.4.6.ebuild
new file mode 100644 (file)
index 0000000..3902b74
--- /dev/null
@@ -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"
+}