[arch-commits] Commit in python-pynetbox/repos (community-any community-any/PKGBUILD)

Sven-Hendrik Haase svenstaro at archlinux.org
Tue Jun 8 19:04:02 UTC 2021


    Date: Tuesday, June 8, 2021 @ 19:04:02
  Author: svenstaro
Revision: 959870

archrelease: copy trunk to community-any

Added:
  python-pynetbox/repos/community-any/
  python-pynetbox/repos/community-any/PKGBUILD
    (from rev 959869, python-pynetbox/trunk/PKGBUILD)

----------+
 PKGBUILD |   25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

Copied: python-pynetbox/repos/community-any/PKGBUILD (from rev 959869, python-pynetbox/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2021-06-08 19:04:02 UTC (rev 959870)
@@ -0,0 +1,25 @@
+# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
+# Contributor: gardar <aur at gardar.net>
+pkgname=python-pynetbox
+pkgver=6.1.2
+pkgrel=1
+pkgdesc="NetBox API client library"
+arch=('any')
+url="https://github.com/digitalocean/pynetbox"
+license=('Apache')
+depends=('python' 'python-requests' 'python-six')
+makedepends=('python-setuptools-scm')
+source=("https://files.pythonhosted.org/packages/source/p/pynetbox/pynetbox-${pkgver}.tar.gz")
+sha256sums=('4c1ff255613af552aa1a905b0f402859d27272fe14575f5cbb9463408a23c4df')
+
+build() {
+	cd "pynetbox-${pkgver}"
+	python setup.py build
+}
+
+package() {
+	cd "pynetbox-${pkgver}"
+	install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+	python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+}
+



More information about the arch-commits mailing list