# Contributor: Alex Denes # Maintainer: Alex Denes pkgname=py3-netjsonconfig _pkgname=netjsonconfig pkgver=1.0.2 pkgrel=1 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 " checkdepends=" py3-nose>=2 " makedepends="py3-setuptools_scm" subpackages="$pkgname-pyc" 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=" 97108943464a4b650bb462b46904bbcab030a3c6b23ab2e2678446b65f4527935b2d23057c4fe5a5d40b976f3b650bc0f54b1aa175cd515bf67f5a5ed2a13449 netjsonconfig-1.0.2.tar.gz "