1 # Maintainer: Sven-Hendrik Haase <svenstaro@archlinux.org>
2 # Contributor: gardar <aur@gardar.net>
3 pkgname=python-pynetbox
6 pkgdesc="NetBox API client library"
8 url="https://github.com/digitalocean/pynetbox"
10 depends=('python' 'python-requests' 'python-six')
11 makedepends=('python-setuptools-scm')
12 source=("https://files.pythonhosted.org/packages/source/p/pynetbox/pynetbox-${pkgver}.tar.gz")
13 sha256sums=('eba8b5153ca575bc45f39ade1119b9f0a218c83947f84c4bb2df7fc9de4ffa9a')
16 cd "pynetbox-${pkgver}"
21 cd "pynetbox-${pkgver}"
22 install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
23 python setup.py install --root="${pkgdir}" --optimize=1 --skip-build