From db892cc5b4b48e642c186f12208cfa4413ccbbe7 Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Thu, 18 Jan 2018 19:42:12 +0100 Subject: [PATCH] gns3-server: update to 2.1.2, unbreak --- srcpkgs/gns3-server/template | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/srcpkgs/gns3-server/template b/srcpkgs/gns3-server/template index 910dcc559a5..8887a4da8a4 100644 --- a/srcpkgs/gns3-server/template +++ b/srcpkgs/gns3-server/template @@ -1,24 +1,26 @@ # Template file for 'gns3-server' pkgname=gns3-server -version=2.1.0 +version=2.1.2 revision=1 build_style=python3-module pycompile_module="gns3server" hostmakedepends="python3-setuptools" depends="python3-setuptools python3-jsonschema python3-aiohttp-cors python3-yarl - python3-Jinja2 python3-raven python3-psutil python3-zipstream dynamips" + python3-Jinja2 python3-raven python3-psutil python3-zipstream python3-prompt_toolkit + dynamips" short_desc="Graphical Network Simulator 3 - Server" maintainer="Michael Aldridge " license="GPL-3" homepage="https://gns3.com" distfiles="https://github.com/GNS3/gns3-server/archive/v${version}.tar.gz" -checksum=aba345436f3d7302ca6b1f39faf12e0124eaae25fb97d25783da44b516232200 - -broken="You need aiohttp 1.3 for running GNS3" +checksum=fa1ffbf12176aee767205f23397f8e48c5d0b320ae3250a93be0518473111832 pre_build() { + # relax requirements sed -i '/typing/d' requirements.txt - sed -i 's/yarl>=0.9.8,<0.10/yarl>=0.9.8/' requirements.txt + sed -i 's|aiohttp-cors.*|aiohttp-cors>=0.5.3|' requirements.txt + sed -i 's|yarl.*|yarl>=0.11|' requirements.txt + sed -i 's|multidict.*|multidict|' requirements.txt } post_install() { # remove tests directory polluting site-packages