gns3-server: update to 2.1.2, unbreak
This commit is contained in:
parent
74a37e7303
commit
db892cc5b4
|
@ -1,24 +1,26 @@
|
||||||
# Template file for 'gns3-server'
|
# Template file for 'gns3-server'
|
||||||
pkgname=gns3-server
|
pkgname=gns3-server
|
||||||
version=2.1.0
|
version=2.1.2
|
||||||
revision=1
|
revision=1
|
||||||
build_style=python3-module
|
build_style=python3-module
|
||||||
pycompile_module="gns3server"
|
pycompile_module="gns3server"
|
||||||
hostmakedepends="python3-setuptools"
|
hostmakedepends="python3-setuptools"
|
||||||
depends="python3-setuptools python3-jsonschema python3-aiohttp-cors python3-yarl
|
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"
|
short_desc="Graphical Network Simulator 3 - Server"
|
||||||
maintainer="Michael Aldridge <maldridge@VoidLinux.eu>"
|
maintainer="Michael Aldridge <maldridge@VoidLinux.eu>"
|
||||||
license="GPL-3"
|
license="GPL-3"
|
||||||
homepage="https://gns3.com"
|
homepage="https://gns3.com"
|
||||||
distfiles="https://github.com/GNS3/gns3-server/archive/v${version}.tar.gz"
|
distfiles="https://github.com/GNS3/gns3-server/archive/v${version}.tar.gz"
|
||||||
checksum=aba345436f3d7302ca6b1f39faf12e0124eaae25fb97d25783da44b516232200
|
checksum=fa1ffbf12176aee767205f23397f8e48c5d0b320ae3250a93be0518473111832
|
||||||
|
|
||||||
broken="You need aiohttp 1.3 for running GNS3"
|
|
||||||
|
|
||||||
pre_build() {
|
pre_build() {
|
||||||
|
# relax requirements
|
||||||
sed -i '/typing/d' requirements.txt
|
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() {
|
post_install() {
|
||||||
# remove tests directory polluting site-packages
|
# remove tests directory polluting site-packages
|
||||||
|
|
Loading…
Reference in New Issue