aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2017-09-26 07:53:55 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2017-09-26 07:53:55 +0000
commit6a946321e3f9dbd68f22e97e9fd428f35de3883a (patch)
tree15781e6a169c80dfc8f36850a3db9a814199b8e8
parent0345937c47a74ae183f65ad4d0bfbc3fe9944bf3 (diff)
downloadaports-6a946321e3f9dbd68f22e97e9fd428f35de3883a.tar.bz2
aports-6a946321e3f9dbd68f22e97e9fd428f35de3883a.tar.xz
community/gns3-converter: added check(), moernize APKBUILD
-rw-r--r--community/gns3-converter/APKBUILD20
1 files changed, 10 insertions, 10 deletions
diff --git a/community/gns3-converter/APKBUILD b/community/gns3-converter/APKBUILD
index 78c9ceedae..7f6833760b 100644
--- a/community/gns3-converter/APKBUILD
+++ b/community/gns3-converter/APKBUILD
@@ -2,29 +2,29 @@
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=gns3-converter
pkgver=1.3.0
-pkgrel=3
+pkgrel=4
pkgdesc="GNS3 topology converter."
url="https://github.com/dlintott/gns3-converter"
arch="noarch"
license="GPL3"
depends="py3-cx_freeze py3-six py3-configobj python3"
-depends_dev=""
-makedepends="$depends_dev py-setuptools"
-install=""
-subpackages=""
+makedepends="python3-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/GNS3/$pkgname/archive/v$pkgver.tar.gz"
-
builddir="$srcdir"/$pkgname-$pkgver
+
build() {
cd "$builddir"
- python3 setup.py build || return 1
+ python3 setup.py build
+}
+
+check() {
+ cd "$builddir"
+ python3 setup.py check
}
package() {
cd "$builddir"
- python3 setup.py install --prefix=/usr --root="$pkgdir" || return 1
+ python3 setup.py install --prefix=/usr --root="$pkgdir"
}
-md5sums="b7f01539dec3909e05d91fd43f9f74cd gns3-converter-1.3.0.tar.gz"
-sha256sums="771b3ab878de87007d00342507bdd381c8d60870afa1537b20e791f5d4d80716 gns3-converter-1.3.0.tar.gz"
sha512sums="ac2e44b3f02c8f0429158e11c964bf342973809139dcf34863071905400964006d7adbc3ddb80efe57a5ecc5eaf59e228bf7d07a7e5776dd6bcf51b4e1d3fe57 gns3-converter-1.3.0.tar.gz"