summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Bauman <bman@gentoo.org>2015-09-19 20:09:27 +0900
committerAaron Bauman <bman@gentoo.org>2015-09-19 20:09:27 +0900
commitd435f2d822f07989364e2c69e820fbdd8d69a409 (patch)
treec6fb4b9a7f2d8fbcef8ad8a7c61b137357d42a88 /net-misc
parentrm gns3-server-1.3.2; add gns3-server-1.3.10 with qt4 and qt5; remove unneede... (diff)
downloadgentoo-d435f2d822f07989364e2c69e820fbdd8d69a409.tar.gz
gentoo-d435f2d822f07989364e2c69e820fbdd8d69a409.tar.bz2
gentoo-d435f2d822f07989364e2c69e820fbdd8d69a409.zip
rm gns3-gui-1.3.2; add gns3-gui-1.3.10 with qt4 and qt5; remove unneeded sed
Package-Manager: portage-2.2.20.1
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/gns3-gui/Manifest2
-rw-r--r--net-misc/gns3-gui/gns3-gui-1.3.10.ebuild (renamed from net-misc/gns3-gui/gns3-gui-1.3.2.ebuild)30
2 files changed, 20 insertions, 12 deletions
diff --git a/net-misc/gns3-gui/Manifest b/net-misc/gns3-gui/Manifest
index 2a433cc968d6..49242fa3453d 100644
--- a/net-misc/gns3-gui/Manifest
+++ b/net-misc/gns3-gui/Manifest
@@ -1,2 +1,2 @@
-DIST gns3-gui-1.3.2.tar.gz 6556874 SHA256 5aafebe28ba57820288a24c3b62d52af2919b9d1ec8c8843cff3d4e0f672cce7 SHA512 ddb32e9cb77513cec027f1642755d31ec1d7ae99424f441dc6470120213b42c694993dac44a4580c537ad296d7d0d7f7013ea4c2a3b780c7f1a0404796eb6ce0 WHIRLPOOL e0ce6c12be54a52a7aa1dd3ea5c94ebbc7e77639c0bfc20667ded0b5f8127806bafe3836e287dbc4375c3139814c755fa92ae9d367f5fda06d744dc105094aab
+DIST gns3-gui-1.3.10.tar.gz 6562927 SHA256 808964ae510896012e77e905cdea8824820bd59afb8a11ba9c9b1e30296811fa SHA512 aaebe3c01d2e42a11acbfabaf717148cb560523bedfb930fb4d6e8126c55e194939656a74528b135f4b79f2d936ce0331952bea02062bcdb54a8065c453c592b WHIRLPOOL de9db2478435ef573675139f60eee255199212d0b774f7be4960c66c53ef2cdf9bb132200a15ba68e4eb5b65376a3360a208e004d708933a00412f8138b6c078
DIST gns3-gui-1.3.3.tar.gz 6559207 SHA256 58d148a7a1c01ea8b9722524d0f9c2997b3f84a0baae64074e5ab65823ad717d SHA512 421470f77271a861d665429c1ffd16a9bcea595edd2e1596b5b0f40645f96cd5213c59219fbb2c74f627ba34f16535bf37d02d23dac115b994903c92452c3e98 WHIRLPOOL ccc98ebc763934283bdee45d51758661a9fea0bed62eb33750e2303b2871715890b23379169a805a4d03d4374841ecfa5c15a57197fc4fe80140391e6da395cc
diff --git a/net-misc/gns3-gui/gns3-gui-1.3.2.ebuild b/net-misc/gns3-gui/gns3-gui-1.3.10.ebuild
index 87440e2459b5..bc40f6fd73d3 100644
--- a/net-misc/gns3-gui/gns3-gui-1.3.2.ebuild
+++ b/net-misc/gns3-gui/gns3-gui-1.3.10.ebuild
@@ -15,26 +15,34 @@ SRC_URI="https://github.com/GNS3/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
+IUSE="+qt4 qt5"
+
+REQUIRED_USE="
+ ?? ( qt4 qt5 )
+"
#net-misc/gns3-server version should always match gns3-gui version
-RDEPEND=">=dev-python/libcloud-0.15.1[${PYTHON_USEDEP}]
+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/PyQt4-4.11.2[X,svg,${PYTHON_USEDEP}]
- dev-qt/qtgui:4
- dev-qt/qtsvg:4
>=net-misc/gns3-converter-1.2.3[${PYTHON_USEDEP}]
- =net-misc/gns3-server-$PV[${PYTHON_USEDEP}]"
+ =net-misc/gns3-server-$PV[${PYTHON_USEDEP}]
+ qt4? (
+ dev-qt/qtgui:4[accessibility]
+ dev-qt/qtsvg:4
+ >=dev-python/PyQt4-4.11.2[X,svg,${PYTHON_USEDEP}]
+ )
+ qt5? (
+ dev-qt/qtgui:5
+ dev-qt/qtsvg:5
+ dev-python/PyQt5[svg,${PYTHON_USEDEP}]
+ )
+"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
-python_prepare_all() {
- # avoid file collisions caused by required tests
- sed -e "s:find_packages():find_packages(exclude=['tests','tests.*']):" -i setup.py || die
- distutils-r1_python_prepare_all
-}
-
python_install_all() {
distutils-r1_python_install_all