gns3-server: fix template
- add missing pycompile_module - fix some requirements - remove tests directory polluting site-packages
This commit is contained in:
parent
4e8d59364e
commit
efe943d465
1 changed files with 14 additions and 3 deletions
|
@ -3,15 +3,26 @@ pkgname=gns3-server
|
||||||
version=2.0.3
|
version=2.0.3
|
||||||
revision=2
|
revision=2
|
||||||
build_style=python3-module
|
build_style=python3-module
|
||||||
hostmakedepends="python3 python3-setuptools"
|
pycompile_module="gns3server"
|
||||||
depends="python3 python3-zipstream python3-Jinja2 python3-yarl python3-aiohttp-cors python3-raven dynamips"
|
hostmakedepends="python3-setuptools"
|
||||||
|
depends="python3-setuptools python3-jsonschema python3-aiohttp-cors python3-yarl
|
||||||
|
python3-Jinja2 python3-raven python3-psutil python3-zipstream 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/${pkgname}/archive/v${version}.tar.gz"
|
distfiles="https://github.com/GNS3/gns3-server/archive/v${version}.tar.gz"
|
||||||
checksum=aba345436f3d7302ca6b1f39faf12e0124eaae25fb97d25783da44b516232200
|
checksum=aba345436f3d7302ca6b1f39faf12e0124eaae25fb97d25783da44b516232200
|
||||||
|
|
||||||
|
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
|
||||||
|
}
|
||||||
|
|
||||||
# The source archive contains statically linked artifacts for x86_64
|
# The source archive contains statically linked artifacts for x86_64
|
||||||
# glibc, since this is the only architecture supported by upstream, we
|
# glibc, since this is the only architecture supported by upstream, we
|
||||||
# mirror that requirement here. The artifacts in questions are the C
|
# mirror that requirement here. The artifacts in questions are the C
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue