diff options
author | Stephan Springer | 2018-09-10 12:38:30 +0200 |
---|---|---|
committer | Stephan Springer | 2018-09-10 12:38:30 +0200 |
commit | 9b53ba2ee7aadbfb2ed52f412c7803b123b2ef52 (patch) | |
tree | 38c2a6860336ca849979eef69931fa1a9f2258fe | |
parent | 1b9db0fbca65fb038a14c097344567888394a9a6 (diff) | |
download | aur-9b53ba2ee7aadbfb2ed52f412c7803b123b2ef52.tar.gz |
fix build errors
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 7 |
2 files changed, 8 insertions, 2 deletions
@@ -1,7 +1,7 @@ pkgbase = gns3-server pkgdesc = GNS3 network simulator, Server package pkgver = 2.1.9 - pkgrel = 1 + pkgrel = 2 url = https://github.com/GNS3/gns3-server install = gns3-server.install arch = x86_64 @@ -18,6 +18,7 @@ pkgbase = gns3-server depends = python-zipstream-gns3 depends = python-prompt_toolkit depends = python-async-timeout-gns3 + depends = busybox optdepends = dynamips: Cisco router emulator. optdepends = gns3-gui: graphical user interface for GNS3 server. optdepends = iouyap: Bridge IOU to UDP, TAP and Ethernet. @@ -4,7 +4,7 @@ pkgname=gns3-server pkgver=2.1.9 -pkgrel=1 +pkgrel=2 pkgdesc='GNS3 network simulator, Server package' arch=('x86_64') url='https://github.com/GNS3/gns3-server' @@ -28,6 +28,11 @@ source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz" sha256sums=('2255fd3fd2eb7756f58d8f1b60e32d24899a14ca471de1ae03f6db2d8cd00b4f' 'b43f0ead963a06e613d3303d2c66372b57f46c750b3d6df20eb99c11078de65f') +prepare() { + cd "$pkgname-$pkgver" + find . -type f -print0 | xargs -r0 sed -i -e 's/asyncio.async(/asyncio.ensure_future(/g' +} + build() { cd "$pkgname-$pkgver" python setup.py build |