From 2e16ffa73b5a37c2562f5b1f103595a2354de303 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Thu, 20 Aug 2020 04:07:22 +0000 Subject: user/py3-netconf: New package --- user/py3-netconf/APKBUILD | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 user/py3-netconf/APKBUILD (limited to 'user') 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 +# Maintainer: A. Wilcox +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" -- cgit v1.2.3-70-g09d2