# Contributor: Alex Denes # Maintainer: Alex Denes pkgname=py3-netjsonconfig _pkgname=netjsonconfig pkgver=0.9.1 pkgrel=2 pkgdesc="Python library that converts NetJSON DeviceConfiguration objects into real router configurations" url="http://netjsonconfig.openwisp.org/" arch="noarch" license="GPL-3.0-only" depends=" py3-jinja2 py3-jsonschema py3-six " checkdepends=" py3-nose>=2 " makedepends="py3-setuptools_scm" source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" builddir="$srcdir/$_pkgname-$pkgver" options="!check" # requires nose > 2.0 build() { python3 setup.py build } check() { python3 setup.py test } package() { python3 setup.py install --root "$pkgdir" } sha512sums=" b5d9fe026f94cf8f34b7475766c556dff4864f6ebac3f4b8533988e894a855180c1a3e1fa7bbe51e39e2dfbb6af70d9e6d4bd90c082c5ed4f5474dbd72231ed6 netjsonconfig-0.9.1.tar.gz "