gns3-server: update to 2.2.17, adopt

This commit is contained in:
Tim Sandquist 2020-12-07 20:20:01 -06:00 committed by Andrew J. Hesford
parent b9331f9e5e
commit 651f29d531
1 changed files with 5 additions and 4 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'gns3-server'
pkgname=gns3-server
version=2.2.10
revision=2
version=2.2.17
revision=1
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-setuptools python3-jsonschema python3-aiohttp-cors python3-yarl
@ -9,16 +9,17 @@ depends="python3-setuptools python3-jsonschema python3-aiohttp-cors python3-yarl
python3-py-cpuinfo python3-distro python3-async-timeout dynamips"
checkdepends="${depends}"
short_desc="Graphical Network Simulator 3 - Server"
maintainer="Michael Aldridge <maldridge@voidlinux.org>"
maintainer="Tim Sandquist <tim.sandquist@gmail.com>"
license="GPL-3.0-or-later"
homepage="https://gns3.com"
distfiles="https://github.com/GNS3/gns3-server/archive/v${version}.tar.gz"
checksum=4388974043680e877533564cb5a2efe2ed215a59a13abcabb3ac29d9b92f86e0
checksum=@476c23fc41c0f92c816557f56e8a8184009b4cf0477c4d94156d9ff06db9256b
pre_build() {
# relax requirements
vsed -e 's|aiofiles.*|aiofiles>=0.4.0|' \
-e 's|aiohttp-cors.*|aiohttp-cors>=0.7.0|' \
-e 's|aiohttp=.*|aiohttp>=3.6.2|' \
-e 's|jsonschema.*|jsonschema>=2.6.0|' \
-e 's|psutil.*|psutil>=5.6.7|' \
-e 's|py-cpuinfo.*|py-cpuinfo>=5.0.0|' -i requirements.txt