# Template file for 'gns3-gui' pkgname=gns3-gui version=2.2.17 revision=1 build_style=python3-module hostmakedepends="python3-setuptools" depends="python3-setuptools python3-psutil python3-jsonschema python3-sentry python3-PyQt5-svg python3-PyQt5-websockets python3-sip xterm inetutils-telnet gns3-net-converter python3-distro" checkdepends="${depends}" short_desc="Graphical Network Simulator 3 - GUI" maintainer="Tim Sandquist " license="GPL-3.0-or-later" homepage="https://gns3.com" distfiles="https://github.com/GNS3/${pkgname}/archive/v${version}.tar.gz" checksum=@2200216046969000e6f076707d2ea3938a0777dc82e3d940cc41dc26c7fd46b5 post_patch() { # relax requirements vsed -e 's|jsonschema.*|jsonschema>=2.6.0|' \ -e 's|psutil.*|psutil>=5.6.7|' -i requirements.txt } do_check() { # uses tox, broken cd build/lib python3 -c 'import gns3 as m; print(m)' } post_install() { vinstall gns3-gui.desktop 644 usr/share/applications vinstall resources/images/gns3_icon_256x256.png 644 usr/share/pixmaps gns3.png }