aboutsummaryrefslogtreecommitdiffstats
path: root/community
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-12-06 21:00:18 +0100
committerLeo <thinkabit.ukim@gmail.com>2019-12-06 21:00:18 +0100
commit4690de7d722481f46369aeae11ee216ed151378e (patch)
treeec94b35dd8679a1cc853e8921c464df7bc37a377 /community
parent70fc2538e304fcb7a4dba16713a3be67c00e4744 (diff)
downloadaports-4690de7d722481f46369aeae11ee216ed151378e.tar.bz2
aports-4690de7d722481f46369aeae11ee216ed151378e.tar.xz
community/py3-signedjson: move from testing
Diffstat (limited to 'community')
-rw-r--r--community/py3-signedjson/APKBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/community/py3-signedjson/APKBUILD b/community/py3-signedjson/APKBUILD
new file mode 100644
index 0000000000..0ab831b356
--- /dev/null
+++ b/community/py3-signedjson/APKBUILD
@@ -0,0 +1,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"