21 lines
702 B
Plaintext
21 lines
702 B
Plaintext
# Description: Sign JSON with Ed25519 signatures
|
|
# URL: https://pypi.python.org/pypi/signedjson/
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
|
# Depends on: python3-canonicaljson python3-pynacl python3-unpaddedbase64
|
|
|
|
name=python3-signedjson-compat
|
|
version=1.1.1
|
|
release=1
|
|
source=(https://files.pythonhosted.org/packages/source/s/signedjson/signedjson-$version.tar.gz)
|
|
|
|
build() {
|
|
cd signedjson-$version
|
|
_pyver=$(/usr/bin/python3 -c 'import sys; print("%s.%s" % sys.version_info[:2])')
|
|
/usr/bin/python3 setup.py build
|
|
/usr/bin/python3 setup.py install --prefix=/usr \
|
|
--root=$PKG \
|
|
--install-lib=usr/lib/python$_pyver/site-packages/signedjson-compat \
|
|
-O1 \
|
|
--skip-build
|
|
}
|