aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-signedjson/APKBUILD
blob: 0ab831b356c9435010ea52dd40e3d8cf6e5c5401 (plain)
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
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer: Leo <thinkabit.ukim@gmail.com>
pkgname=py3-signedjson
pkgver=1.0.0
pkgrel=1
pkgdesc="Sign JSON objects with ED25519 signatures"
url="https://github.com/matrix-org/python-signedjson"
arch="noarch"
license="Apache-2.0"
depends="python3 py3-pynacl py3-canonicaljson py3-unpaddedbase64"
makedepends="py3-setuptools"
source="$pkgname-$pkgver.tar.gz::https://github.com/matrix-org/python-signedjson/archive/v$pkgver.tar.gz"
builddir="$srcdir/python-signedjson-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

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

sha512sums="6a51ca901149c653a0da4567e2487fcf737cf36ac51cc337b0af9422261ee3689a99a4fd4c7ffd0ec0c4ef0c97033d78030dd6fab80e11e86371151279d5d6c4  py3-signedjson-1.0.0.tar.gz"