contrib/python3-josepy/Pkgfile

17 lines
539 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 python3-poetry-core
name=python3-josepy
version=1.14.0
release=1
source=(https://files.pythonhosted.org/packages/source/j/josepy/josepy-$version.tar.gz)
build() {
cd josepy-$version
/usr/bin/python3 -m build --wheel --skip-dependency-check --no-isolation
/usr/bin/python3 -m installer --compile-bytecode 2 --destdir=$PKG dist/*.whl
}