gns3-server: update to 2.2.25.

This commit is contained in:
Tim Sandquist 2021-08-28 08:54:40 -05:00 committed by Michal Vasilek
parent 22c8bab031
commit 26880ed521
2 changed files with 19 additions and 17 deletions

View file

@ -0,0 +1,15 @@
diff --git a/requirements.txt b/requirements.txt
--- a/requirements.txt
+++ b/requirements.txt
@@ -1,9 +1,8 @@
jsonschema==3.2.0
-aiohttp==3.7.4.post0
+aiohttp>=3.7.4
aiohttp-cors==0.7.0
aiofiles==0.7.0
-Jinja2==3.0.1
+Jinja2>=2.0.0<3.0.0
-sentry-sdk==1.3.1
psutil==5.8.0
async-timeout==3.0.1
distro==1.6.0

View file

@ -1,32 +1,19 @@
# Template file for 'gns3-server'
pkgname=gns3-server
version=2.2.21
version=2.2.25
revision=1
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-setuptools python3-jsonschema python3-aiohttp-cors python3-yarl
python3-Jinja2 python3-sentry python3-psutil python3-aiofiles
python3-Jinja2 python3-psutil python3-aiofiles
python3-py-cpuinfo python3-distro python3-async-timeout dynamips"
checkdepends="${depends}"
checkdepends="${depends} python3-pytest python3-flake8 python3-pytest-timeout python3-pytest-aiohttp"
short_desc="Graphical Network Simulator 3 - Server"
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=@9f3d7f4caf6cd420049a62ae9d7579f29b0e3805f1a50913ae9111ab6752bdb0
make_check=no
post_patch() {
# relax requirements
vsed -e 's|aiofiles.*|aiofiles>=0.4.0|' \
-e 's|aiohttp=.*|aiohttp>=3.7.4|' \
-e 's|jsonschema.*|jsonschema>=2.6.0|' \
-e 's|py-cpuinfo.*|py-cpuinfo>=5.8.0|' -i requirements.txt
}
post_install() {
# remove tests directory polluting site-packages
rm -rf -- ${DESTDIR}/usr/lib/python*/site-packages/tests
}
checksum=43faa7d57126e813dae3bf702c11e520148d9c3c234e4f1a7c23872e931c6251
# The source archive contains statically linked artifacts for x86_64
# glibc, since this is the only architecture supported by upstream, we