diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2017-04-17 15:04:10 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2017-04-17 15:07:12 +0000 |
commit | a1517eff6992df15cc512c31e9ffb5b756782ca9 (patch) | |
tree | 9b0ed48c236c77dd475da7892c56fb702df78b2c /community/gns3-server | |
parent | 98bc3f5c78e1ed0f64ae0a1d0a4aa1e607fd88e1 (diff) | |
download | aports-a1517eff6992df15cc512c31e9ffb5b756782ca9.tar.bz2 aports-a1517eff6992df15cc512c31e9ffb5b756782ca9.tar.xz |
community/gns3-server: upgrade to 1.5.4, modernize APKBUILD
Diffstat (limited to 'community/gns3-server')
-rw-r--r-- | community/gns3-server/APKBUILD | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/community/gns3-server/APKBUILD b/community/gns3-server/APKBUILD index d7c6117a46..ad94e6369a 100644 --- a/community/gns3-server/APKBUILD +++ b/community/gns3-server/APKBUILD @@ -1,22 +1,25 @@ # Contributor: Francesco Colista <fcolista@alpinelinux.org> # Maintainer: Francesco Colista <fcolista@alpinelinux.org> pkgname=gns3-server -pkgver=1.5.3.3 -pkgrel=2 +pkgver=1.5.4 +pkgrel=0 pkgdesc="GNS3 network simulator. Server package." url="https://github.com/GNS3/gns3-server" arch="all" license="GPL3" depends="busybox dynamips python3 py3-psutil py3-jinja2 py3-aiohttp py3-pytest py3-netifaces py3-ws4py py3-zipstream py3-raven py3-jsonschema" -depends_dev="" makedepends="$depends_dev py-setuptools python3-dev linux-headers py3-pytest" -install="" subpackages="$pkgname-doc" source="$pkgname-$pkgver.tar.gz::https://github.com/GNS3/$pkgname/archive/v$pkgver.tar.gz" builddir="$srcdir"/$pkgname-$pkgver +check() { + cd "$builddir" + python3 setup.py check +} + prepare() { cd "$builddir" # Current upstream contains arch dependent (x86) binaries in the @@ -27,12 +30,12 @@ prepare() { build() { cd "$builddir" - python3 setup.py build || return 1 + python3 setup.py build } package() { cd "$builddir" - python3 setup.py install --prefix=/usr --root="$pkgdir" || return 1 + python3 setup.py install --prefix=/usr --root="$pkgdir" mkdir -p "$pkgdir"/usr/share/doc/$pkgname cat >"$pkgdir"/usr/share/doc/$pkgname/README.alpine <<EOF gns3-server has several optional packages that must be installed manually for additional functionality: @@ -48,6 +51,4 @@ EOF } -md5sums="1dd61d561ae0a82b80d26a5b89cc8e25 gns3-server-1.5.3.3.tar.gz" -sha256sums="585ee5190f644622edbd11b7e7e213b9abcb249f6bddbcce4f32ac94e245f61e gns3-server-1.5.3.3.tar.gz" -sha512sums="d521c27af566d9f36c349cb33f2577c860dfa2b0d5c777f9076e670124de5245874bb74a7a0b2d88c194bb04d191b7bdd2232739374db61aecaadb2e1d1964ca gns3-server-1.5.3.3.tar.gz" +sha512sums="43c737b45c6a5f8591e190ab788a716e74732ea3526e5868d411b81528520c825880f5179c6978e4939707fa7e037fbbcd857384f364acd1f6b0a4952e8e30c8 gns3-server-1.5.4.tar.gz" |