2017-01-21 03:14:30 +01:00
|
|
|
# Template file for 'gns3-server'
|
|
|
|
pkgname=gns3-server
|
2017-07-05 04:20:54 +02:00
|
|
|
version=2.0.3
|
2017-08-21 15:37:35 +02:00
|
|
|
revision=2
|
2017-01-21 03:14:30 +01:00
|
|
|
build_style=python3-module
|
2017-08-25 08:19:35 +02:00
|
|
|
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"
|
2017-01-21 03:14:30 +01:00
|
|
|
short_desc="Graphical Network Simulator 3 - Server"
|
2017-07-19 05:11:10 +02:00
|
|
|
maintainer="Michael Aldridge <maldridge@VoidLinux.eu>"
|
2017-01-21 03:14:30 +01:00
|
|
|
license="GPL-3"
|
|
|
|
homepage="https://gns3.com"
|
2017-08-25 08:19:35 +02:00
|
|
|
distfiles="https://github.com/GNS3/gns3-server/archive/v${version}.tar.gz"
|
2017-07-05 04:20:54 +02:00
|
|
|
checksum=aba345436f3d7302ca6b1f39faf12e0124eaae25fb97d25783da44b516232200
|
2017-01-21 03:14:30 +01:00
|
|
|
|
2017-08-25 08:23:05 +02:00
|
|
|
broken="You need aiohttp 1.3 for running GNS3"
|
|
|
|
|
2017-08-25 08:19:35 +02:00
|
|
|
pre_build() {
|
|
|
|
sed -i '/typing/d' requirements.txt
|
|
|
|
sed -i 's/yarl>=0.9.8,<0.10/yarl>=0.9.8/' requirements.txt
|
|
|
|
}
|
|
|
|
post_install() {
|
|
|
|
# remove tests directory polluting site-packages
|
|
|
|
rm -rf ${DESTDIR}/usr/lib/python*/site-packages/tests
|
|
|
|
}
|
|
|
|
|
2017-01-21 03:14:30 +01:00
|
|
|
# The source archive contains statically linked artifacts for x86_64
|
|
|
|
# glibc, since this is the only architecture supported by upstream, we
|
|
|
|
# mirror that requirement here. The artifacts in questions are the C
|
|
|
|
# modules that are used to drive additional virtualization backends
|
|
|
|
# for gns3. For more information, see this ticket:
|
|
|
|
# https://github.com/GNS3/gns3-server/issues/970
|
|
|
|
only_for_archs="x86_64"
|