blob: e7c43275c547c001eb85643235ea1bc8c755a10b (
plain)
1 # Description: Sign JSON with Ed25519 signatures
2 # URL: https://pypi.python.org/pypi/signedjson/
3 # Maintainer: Tim Biermann, tbier at posteo dot de
4 # Depends on: python3-canonicaljson python3-pynacl python3-unpaddedbase64
5
6 name=python3-signedjson-compat
7 version=1.1.1
8 release=1
9 source=(https://files.pythonhosted.org/packages/source/s/signedjson/signedjson-$version.tar.gz)
10
11 build() {
12 cd signedjson-$version
13 _pyver=$(/usr/bin/python3 -c 'import sys; print("%s.%s" % sys.version_info[:2])')
14 /usr/bin/python3 setup.py build
15 /usr/bin/python3 setup.py install --prefix=/usr \
16 --root=$PKG \
17 --install-lib=usr/lib/python$_pyver/site-packages/signedjson-compat \
18 -O1 \
19 --skip-build
20 }
|