From 22c8bab031acb911c619ae8a4b088e97a3948bd8 Mon Sep 17 00:00:00 2001 From: Tim Sandquist Date: Sat, 28 Aug 2021 08:54:57 -0500 Subject: [PATCH] gns3-gui: update to 2.2.25. --- srcpkgs/gns3-gui/patches/requirements.patch | 8 ++++++++ srcpkgs/gns3-gui/template | 19 ++++--------------- 2 files changed, 12 insertions(+), 15 deletions(-) create mode 100644 srcpkgs/gns3-gui/patches/requirements.patch diff --git a/srcpkgs/gns3-gui/patches/requirements.patch b/srcpkgs/gns3-gui/patches/requirements.patch new file mode 100644 index 00000000000..e52bb30bfac --- /dev/null +++ b/srcpkgs/gns3-gui/patches/requirements.patch @@ -0,0 +1,8 @@ +diff --git a/requirements.txt b/requirements.txt +--- a/requirements.txt ++++ b/requirements.txt +@@ -1,4 +1,3 @@ + jsonschema==3.2.0 +-sentry-sdk==1.3.1 + psutil==5.8.0 + distro==1.6.0 diff --git a/srcpkgs/gns3-gui/template b/srcpkgs/gns3-gui/template index a82996e790c..4dd514ad461 100644 --- a/srcpkgs/gns3-gui/template +++ b/srcpkgs/gns3-gui/template @@ -1,30 +1,19 @@ # Template file for 'gns3-gui' pkgname=gns3-gui -version=2.2.21 +version=2.2.25 revision=1 build_style=python3-module hostmakedepends="python3-setuptools" -depends="python3-setuptools python3-psutil python3-jsonschema python3-sentry +depends="python3-setuptools python3-psutil python3-jsonschema python3-PyQt5-svg python3-PyQt5-websockets xterm inetutils-telnet gns3-net-converter python3-distro" -checkdepends="${depends}" +checkdepends="${depends} python3-pytest python3-wheel" 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=@58b12add3fa29a095f14bbf4c61f54f41fdee45c8ca490c651d9ccb37b9884fe - -post_patch() { - # relax requirements - vsed -e 's|jsonschema.*|jsonschema>=2.6.0|' -i requirements.txt -} - -do_check() { - # uses tox, broken - cd build/lib - python3 -c 'import gns3 as m; print(m)' -} +checksum=a49bfe7756403e8fddfe19382780c95ae28e1eab7e63b48140655212f91612ba post_install() { vinstall gns3-gui.desktop 644 usr/share/applications