diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2020-08-20 04:07:22 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2020-08-20 04:07:22 +0000 |
commit | 2e16ffa73b5a37c2562f5b1f103595a2354de303 (patch) | |
tree | 5aa2284dd5968ff75326a0c5bfea20db6c21c9cc /user/py3-netconf | |
parent | 187f320c9ba3cec0ab6da75051c630d55a6bf4e5 (diff) | |
download | packages-2e16ffa73b5a37c2562f5b1f103595a2354de303.tar.gz packages-2e16ffa73b5a37c2562f5b1f103595a2354de303.tar.bz2 packages-2e16ffa73b5a37c2562f5b1f103595a2354de303.tar.xz packages-2e16ffa73b5a37c2562f5b1f103595a2354de303.zip |
user/py3-netconf: New package
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" |