gns3-server: update to 2.2.10.

This commit is contained in:
Karol Kosek 2020-06-25 13:30:57 +02:00 committed by Piotr
parent 0891fafe75
commit 3e61a1a68d

View file

@ -1,24 +1,27 @@
# Template file for 'gns3-server'
pkgname=gns3-server
version=2.2.5
version=2.2.10
revision=1
build_style=python3-module
pycompile_module="gns3server"
hostmakedepends="python3-setuptools"
depends="python3-setuptools python3-jsonschema python3-aiohttp-cors2 python3-yarl
python3-Jinja2 python3-raven python3-psutil python3-zipstream python3-prompt_toolkit1
dynamips"
depends="python3-setuptools python3-jsonschema python3-aiohttp-cors python3-yarl
python3-Jinja2 python3-sentry python3-psutil python3-aiofiles
python3-py-cpuinfo python3-distro python3-async-timeout dynamips"
checkdepends="${depends}"
short_desc="Graphical Network Simulator 3 - Server"
maintainer="Michael Aldridge <maldridge@voidlinux.org>"
license="GPL-3.0-or-later"
homepage="https://gns3.com"
distfiles="https://github.com/GNS3/gns3-server/archive/v${version}.tar.gz"
checksum=51a7b5b9701a29d6ef1003d9c90a4d098e1d7fa03df3c66b74e70a729f9f8b59
checksum=4388974043680e877533564cb5a2efe2ed215a59a13abcabb3ac29d9b92f86e0
pre_build() {
# relax requirements
sed -i '/typing/d' requirements.txt
sed -i 's|aiohttp-cors.*|aiohttp-cors>=0.5.3|' requirements.txt
vsed -e 's|aiofiles.*|aiofiles>=0.4.0|' \
-e 's|aiohttp-cors.*|aiohttp-cors>=0.7.0|' \
-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
}
post_install() {
# remove tests directory polluting site-packages