Commit aad3153c authored by Francesco Colista's avatar Francesco Colista

community/py3-jsonschema-gns3: new aport, dependency of GNS3

(gns3-server)
parent 4abb588c
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=py3-jsonschema-gns3
_pkgname=jsonschema
pkgver=2.6.0
pkgrel=0
pkgdesc="An implementation of JSON Schema validation for Python - GNS3 compatible version"
url="https://github.com/Julian/jsonschema"
arch="noarch"
license="MIT"
depends="py3-pyrsistent py-attrs !py3-jsonschema"
makedepends="python3-dev"
options="!check" # py3-twisted missing
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver
build() {
cd "$builddir"
python3 setup.py build
}
check() {
cd "$builddir"
python3 setup.py check
}
package() {
cd "$builddir"
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="03f916abd023b32fbe60f91718d6f2f94d8834bd1bd8ec85ab02f591a145161275c2cde25b037c4d2e94703b870159feb776d3556f011e4c394d2e20ab897b0b jsonschema-2.6.0.tar.gz"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment