diff options
author | prspkt <prspkt@protonmail.com> | 2019-06-21 23:31:44 +0300 |
---|---|---|
committer | prspkt <prspkt@protonmail.com> | 2019-06-22 00:19:10 +0300 |
commit | ecc71baf4ed19f9bcb7c7bf0ad2a66b7fd204b03 (patch) | |
tree | 150bd53d9de2da767ad9da9eeb59c481121ddda4 /testing/py3-ncclient | |
parent | ae4a15801816b7f140076fa8f636d46247902af3 (diff) | |
download | aports-ecc71baf4ed19f9bcb7c7bf0ad2a66b7fd204b03.tar.bz2 aports-ecc71baf4ed19f9bcb7c7bf0ad2a66b7fd204b03.tar.xz |
testing/py3-ncclient: drop python2
Diffstat (limited to 'testing/py3-ncclient')
-rw-r--r-- | testing/py3-ncclient/APKBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/testing/py3-ncclient/APKBUILD b/testing/py3-ncclient/APKBUILD new file mode 100644 index 0000000000..8ddad99983 --- /dev/null +++ b/testing/py3-ncclient/APKBUILD @@ -0,0 +1,29 @@ +# Contributor: Leonardo Arena <rnalrd@alpinelinux.org> +# Maintainer: +pkgname=py3-ncclient +_pkgname=ncclient +pkgver=0.5.3 +pkgrel=1 +pkgdesc="Library for NETCONF clients" +url="https://github.com/tomchristie/itypes" +arch="noarch" +license="Apache-2.0" +depends="py3-lxml py3-paramiko py3-setuptools py3-six" +options="!check" #no testsuite +source="$pkgname-$pkgver.tar.gz::https://github.com/ncclient/ncclient/archive/v$pkgver.tar.gz" +builddir="$srcdir"/ncclient-$pkgver + +replaces="py-ncclient" # Backwards compatibility +provides="py-ncclient=$pkgver-r$pkgrel" # Backwards compatibility + +build() { + cd "$builddir" + python3 setup.py --quiet build +} + +package() { + cd "$builddir" + python3 setup.py --quiet install --prefix=/usr --root="$pkgdir" +} + +sha512sums="53320a745dda98cd6e7c2e4cf87df446b90b74982543e529810225060c5774a4c3f2470a3d6e4fd84ad83cac11a4ea50b538a9a95c5d9cfd5c5714c693342217 py-ncclient-0.5.3.tar.gz" |