From f0ac86641a2baf66ba737aaf8e9a3c95b3ecefa9 Mon Sep 17 00:00:00 2001 From: John Date: Sun, 27 May 2018 14:39:25 +0200 Subject: [PATCH] gns3-server: update to 2.1.6. --- srcpkgs/gns3-server/patches/async-timeout.patch | 9 +++++++++ srcpkgs/gns3-server/template | 14 ++++++++------ 2 files changed, 17 insertions(+), 6 deletions(-) create mode 100644 srcpkgs/gns3-server/patches/async-timeout.patch diff --git a/srcpkgs/gns3-server/patches/async-timeout.patch b/srcpkgs/gns3-server/patches/async-timeout.patch new file mode 100644 index 0000000000..ed33974988 --- /dev/null +++ b/srcpkgs/gns3-server/patches/async-timeout.patch @@ -0,0 +1,9 @@ +--- requirements.txt 2018-05-22 14:11:48.000000000 +0200 ++++ - 2018-05-27 14:37:55.136872861 +0200 +@@ -8,4 +8,4 @@ + zipstream>=1.1.4 + typing>=3.5.3.0 # Otherwise yarl fails with python 3.4 + prompt-toolkit +-async-timeout<3.0.0 # pyup: ignore; 3.0 drops support for python 3.4 +\ No newline at end of file ++async-timeout diff --git a/srcpkgs/gns3-server/template b/srcpkgs/gns3-server/template index 7d9a75d478..b565f3ea2c 100644 --- a/srcpkgs/gns3-server/template +++ b/srcpkgs/gns3-server/template @@ -1,11 +1,11 @@ # Template file for 'gns3-server' pkgname=gns3-server -version=2.1.5 +version=2.1.6 revision=1 build_style=python3-module pycompile_module="gns3server" hostmakedepends="python3-setuptools" -depends="python3-setuptools python3-jsonschema python3-aiohttp-cors python3-yarl +depends="python3-setuptools python3-jsonschema python3-aiohttp-cors2 python3-yarl python3-Jinja2 python3-raven python3-psutil python3-zipstream python3-prompt_toolkit dynamips" short_desc="Graphical Network Simulator 3 - Server" @@ -13,9 +13,7 @@ maintainer="Michael Aldridge " license="GPL-3.0-or-later" homepage="https://gns3.com" distfiles="https://github.com/GNS3/gns3-server/archive/v${version}.tar.gz" -checksum=73ce2528dfbdc5478fc8bd6f5687f4c9bf30043ce6554d822a1f79b51dfd7381 - -broken="aiohttp 2.2.x or 2.3.x is required to run the GNS3 server" +checksum=a292be8f0a4ea970e43ea980383f046b2417e7412ff00e171a44453bde8f3463 pre_build() { # relax requirements @@ -33,4 +31,8 @@ post_install() { # modules that are used to drive additional virtualization backends # for gns3. For more information, see this ticket: # https://github.com/GNS3/gns3-server/issues/970 -only_for_archs="x86_64" +# only_for_archs="x86_64" + +case "$XBPS_TARGET_ARCH" in + i686*) broken="https://travis-ci.org/voidlinux/void-packages/jobs/384402938" +esac