upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / python-pynetbox / trunk / PKGBUILD
blob8862d0ed53fdf080161f8ed2c368fb1760798746
1 # Maintainer: Sven-Hendrik Haase <svenstaro@archlinux.org>
2 # Contributor: gardar <aur@gardar.net>
3 pkgname=python-pynetbox
4 pkgver=7.0.1
5 pkgrel=1
6 pkgdesc="NetBox API client library"
7 arch=('any')
8 url="https://github.com/digitalocean/pynetbox"
9 license=('Apache')
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')
15 build() {
16         cd "pynetbox-${pkgver}"
17         python setup.py build
20 package() {
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