aboutsummaryrefslogtreecommitdiffstats
path: root/community/gns3-server
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2018-02-12 11:10:15 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2018-02-12 11:11:08 +0000
commite50debadd200916de2a656e564c226bc8ac144f2 (patch)
treeefc3c6c292c875c0debe2368d6bf828e34fd3b9d /community/gns3-server
parent20b05ae1dc65b05f0aed2f12937560acf3294972 (diff)
downloadaports-e50debadd200916de2a656e564c226bc8ac144f2.tar.bz2
aports-e50debadd200916de2a656e564c226bc8ac144f2.tar.xz
community/gns3-server: fix requirements
Diffstat (limited to 'community/gns3-server')
-rw-r--r--community/gns3-server/APKBUILD8
-rw-r--r--community/gns3-server/fix-requirements.patch16
2 files changed, 21 insertions, 3 deletions
diff --git a/community/gns3-server/APKBUILD b/community/gns3-server/APKBUILD
index 233a7d87ce..ec84e9c3dc 100644
--- a/community/gns3-server/APKBUILD
+++ b/community/gns3-server/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=gns3-server
pkgver=2.1.3
-pkgrel=0
+pkgrel=1
pkgdesc="GNS3 network simulator. Server package."
url="https://github.com/GNS3/gns3-server"
arch="all"
@@ -12,7 +12,8 @@ depends="busybox dynamips python3 py3-psutil py3-jinja2 py3-aiohttp
py3-raven py3-jsonschema py3-yarl py3-multidict py3-prompt_toolkit"
makedepends="busybox-static py-setuptools python3-dev linux-headers py3-pytest"
subpackages="$pkgname-doc"
-source="$pkgname-$pkgver.tar.gz::https://github.com/GNS3/$pkgname/archive/v$pkgver.tar.gz"
+source="$pkgname-$pkgver.tar.gz::https://github.com/GNS3/$pkgname/archive/v$pkgver.tar.gz
+ fix-requirements.patch"
builddir="$srcdir"/$pkgname-$pkgver
build() {
@@ -49,4 +50,5 @@ EOF
}
-sha512sums="df6a98943f893f3d10c16b2a4242869a1407adad56e6c127e6525fe49acefbac9329bf76bc2b16904997985843fdb2b94d03c58f658034ec44763e6d69f7ddaf gns3-server-2.1.3.tar.gz"
+sha512sums="df6a98943f893f3d10c16b2a4242869a1407adad56e6c127e6525fe49acefbac9329bf76bc2b16904997985843fdb2b94d03c58f658034ec44763e6d69f7ddaf gns3-server-2.1.3.tar.gz
+c9e5a957a3b877217d8b6248184c9642a629a506f50857f24341da8c43d2b9527433acafaa78af5311e49ff708c1aed4b0eb5bb6cae9a5b511fbcfb400c3b78d fix-requirements.patch"
diff --git a/community/gns3-server/fix-requirements.patch b/community/gns3-server/fix-requirements.patch
new file mode 100644
index 0000000000..7f013e2b69
--- /dev/null
+++ b/community/gns3-server/fix-requirements.patch
@@ -0,0 +1,16 @@
+diff --git a/requirements.txt b/requirements.txt
+index 184af37..b4af7c9 100644
+--- a/requirements.txt
++++ b/requirements.txt
+@@ -1,10 +1,9 @@
+ jsonschema>=2.4.0
+ aiohttp>=2.2.0,<2.4.0 # pyup: ignore
+-aiohttp-cors>=0.5.3,<0.6.0 # pyup: ignore
++aiohttp-cors>=0.5.3,<=0.6.0 # pyup: ignore
+ yarl>=0.11
+ Jinja2>=2.7.3
+ raven>=5.23.0
+ psutil>=3.0.0
+ zipstream>=1.1.4
+-typing>=3.5.3.0 # Otherwise yarl fails with python 3.4
+ prompt-toolkit