summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-05-08 10:34:37 +0200
committerMichał Górny <mgorny@gentoo.org>2022-05-08 10:47:13 +0200
commit6348bdb51e297162ba15891b36367a1b33c9c6fd (patch)
tree05de5abbfcb7268ceec10eb9e340166ae1fd6a22 /net-misc/gns3-gui
parentmedia-gfx/cura: Remove py3.8 due to sentry-sdk losing it (diff)
downloadgentoo-6348bdb51e297162ba15891b36367a1b33c9c6fd.tar.gz
gentoo-6348bdb51e297162ba15891b36367a1b33c9c6fd.tar.bz2
gentoo-6348bdb51e297162ba15891b36367a1b33c9c6fd.zip
net-misc/gns3-gui: Remove py3.8 due to sentry-sdk losing it
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'net-misc/gns3-gui')
-rw-r--r--net-misc/gns3-gui/gns3-gui-2.2.31-r1.ebuild40
1 files changed, 40 insertions, 0 deletions
diff --git a/net-misc/gns3-gui/gns3-gui-2.2.31-r1.ebuild b/net-misc/gns3-gui/gns3-gui-2.2.31-r1.ebuild
new file mode 100644
index 000000000000..5ab96a981071
--- /dev/null
+++ b/net-misc/gns3-gui/gns3-gui-2.2.31-r1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..10} )
+DISTUTILS_USE_SETUPTOOLS=rdepend
+
+inherit distutils-r1 virtualx xdg
+
+DESCRIPTION="Graphical Network Simulator"
+HOMEPAGE="https://www.gns3.com/ https://github.com/GNS3/gns3-gui"
+SRC_URI="https://github.com/GNS3/gns3-gui/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+#net-misc/gns3-server version should always match gns3-gui version
+RDEPEND="
+ >=dev-python/distro-1.6.0[${PYTHON_USEDEP}]
+ >=dev-python/jsonschema-3.2.0[${PYTHON_USEDEP}]
+ >=dev-python/psutil-5.9.0[${PYTHON_USEDEP}]
+ >=dev-python/sentry-sdk-1.5.4[${PYTHON_USEDEP}]
+ ~net-misc/gns3-server-${PV}[${PYTHON_USEDEP}]
+ dev-python/PyQt5[gui,network,svg,websockets,widgets,${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest
+
+src_prepare() {
+ default
+
+ # newer python packages are fine
+ sed -i -e 's/[<>=].*//' requirements.txt || die
+}
+
+src_test() {
+ virtx distutils-r1_src_test
+}