diff options
Diffstat (limited to 'user/py3-netconf')
-rw-r--r-- | user/py3-netconf/APKBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/user/py3-netconf/APKBUILD b/user/py3-netconf/APKBUILD new file mode 100644 index 000000000..1108f9102 --- /dev/null +++ b/user/py3-netconf/APKBUILD @@ -0,0 +1,31 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=py3-netconf +_pkgname=netconf +_p="${_pkgname#?}" +_p="${_pkgname%"$_p"}" +pkgver=2.1.0 +pkgrel=0 +pkgdesc="NETCONF library for Python" +url="https://pypi.org/project/netconf/" +arch="noarch" +license="Apache-2.0" +depends="python3 py3-lxml py3-monotonic py3-paramiko py3-sshutil" +makedepends="" +subpackages="" +source="https://files.pythonhosted.org/packages/source/$_p/$_pkgname/$_pkgname-$pkgver.tar.gz" +builddir="$srcdir/netconf-$pkgver" + +build() { + python3 setup.py build +} + +check() { + python3 setup.py test +} + +package() { + python3 setup.py install --prefix=/usr --root="$pkgdir" +} + +sha512sums="a641538a4ea55e66205a5568cc1df80ff704c8b5b53dff7f6809cfe7c532c66996892e3aeb3aaaadd224012b4ad8e2ba1b14c1d6b66fc3fd5079a1969d49a122 netconf-2.1.0.tar.gz" |