forked from ports/contrib
18 lines
514 B
Plaintext
18 lines
514 B
Plaintext
|
# Description: JOSE protocol implementation in Python using cryptography
|
||
|
# URL: https://pypi.org/project/josepy/
|
||
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
||
|
# Depends on: python3-pyopenssl
|
||
|
|
||
|
name=python3-josepy
|
||
|
version=1.13.0
|
||
|
release=1
|
||
|
source=(https://files.pythonhosted.org/packages/source/j/josepy/josepy-$version.tar.gz)
|
||
|
|
||
|
build() {
|
||
|
cd josepy-$version
|
||
|
rm pytest.ini
|
||
|
sed -e '/setuptools>=/d' -i setup.py
|
||
|
/usr/bin/python3 setup.py build
|
||
|
/usr/bin/python3 setup.py install --root=$PKG --optimize=1
|
||
|
}
|