aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-jsonschema-gns3/APKBUILD
blob: 93a862b9596d6df6bcafa270f9b4d08350e22340 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=py3-jsonschema-gns3
_pkgname=jsonschema
pkgver=2.6.0
pkgrel=2
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 py3-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() {
	python3 setup.py build
}

check() {
	python3 setup.py check
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="03f916abd023b32fbe60f91718d6f2f94d8834bd1bd8ec85ab02f591a145161275c2cde25b037c4d2e94703b870159feb776d3556f011e4c394d2e20ab897b0b  jsonschema-2.6.0.tar.gz"