aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-ncclient
diff options
context:
space:
mode:
authorprspkt <prspkt@protonmail.com>2019-06-22 00:13:35 +0300
committerprspkt <prspkt@protonmail.com>2019-06-22 00:19:10 +0300
commitab961f741fafc20effccdd481f57d605a9f5ca5d (patch)
treea1c946e67df93eea3d16347591c11e2546925797 /testing/py3-ncclient
parent99de1a9fac9c1b42e091b116b20098e715eddb6e (diff)
downloadaports-ab961f741fafc20effccdd481f57d605a9f5ca5d.tar.bz2
aports-ab961f741fafc20effccdd481f57d605a9f5ca5d.tar.xz
testing/py3-ncclient: upgrade to 0.6.6
* Add checkdepends and run test suite.
Diffstat (limited to 'testing/py3-ncclient')
-rw-r--r--testing/py3-ncclient/APKBUILD12
1 files changed, 8 insertions, 4 deletions
diff --git a/testing/py3-ncclient/APKBUILD b/testing/py3-ncclient/APKBUILD
index 4fe2b492b1..92fc6f0f54 100644
--- a/testing/py3-ncclient/APKBUILD
+++ b/testing/py3-ncclient/APKBUILD
@@ -2,14 +2,14 @@
# Maintainer:
pkgname=py3-ncclient
_pkgname=ncclient
-pkgver=0.5.3
-pkgrel=1
+pkgver=0.6.6
+pkgrel=0
pkgdesc="Library for NETCONF clients"
url="https://github.com/ncclient/ncclient"
arch="noarch"
license="Apache-2.0"
depends="py3-lxml py3-paramiko py3-setuptools py3-six"
-options="!check" #no testsuite
+checkdepends="py3-mock py3-nose"
source="$_pkgname-$pkgver.tar.gz::https://github.com/ncclient/ncclient/archive/v$pkgver.tar.gz"
builddir="$srcdir"/ncclient-$pkgver
@@ -20,8 +20,12 @@ build() {
python3 setup.py build
}
+check() {
+ nosetests
+}
+
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
-sha512sums="53320a745dda98cd6e7c2e4cf87df446b90b74982543e529810225060c5774a4c3f2470a3d6e4fd84ad83cac11a4ea50b538a9a95c5d9cfd5c5714c693342217 py-ncclient-0.5.3.tar.gz"
+sha512sums="6f01b4f4754803a41997b9e1e363488885a4d827b08016bf1bcf0ffe43573f3e83a5a7ee769509272901d0597daeb37e11d5a176b2e3961dd441129fe128b7d6 ncclient-0.6.6.tar.gz"