Skip to content
Snippets Groups Projects
Commit 0d8dec93 authored by Alex Denes's avatar Alex Denes Committed by Leo
Browse files

community/py3-netjsonconfig: new aport

http://netjsonconfig.openwisp.org/ Python library that converts NetJSON DeviceConfiguration objects into real router configurations
parent 0f1a8745
No related branches found
No related tags found
1 merge request!25933community/py3-netjsonconfig: new aport
Pipeline #95178 passed
# Contributor: Alex Denes <caskd@redxen.eu>
# Maintainer: Alex Denes <caskd@redxen.eu>
pkgname=py3-netjsonconfig
_pkgname=netjsonconfig
pkgver=0.9.1
pkgrel=0
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-pip
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
"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment