# Maintainer: Guy Godfroy pkgname=py3-omemo-dr _pkgname=omemo-dr pkgver=1.0.0 pkgrel=0 pkgdesc="OMEMO Crypto Library for python" url="https://dev.gajim.org/gajim/omemo-dr/" arch="all" license="GPL-3.0-or-later" depends="python3 py3-protobuf py3-cryptography" makedepends="py3-setuptools py3-gpep517 py3-wheel python3-dev" subpackages="$pkgname-pyc" source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" options="!check" # no test suite builddir="$srcdir"/$_pkgname-$pkgver build() { gpep517 build-wheel \ --wheel-dir .dist \ --output-fd 3 3>&1 >&2 } package() { python3 -m installer -d "$pkgdir" \ .dist/*.whl } sha512sums=" ad1d43936f94d47a01b1f4f3a8e31bf81d16132714b29f6ef5aac84a907a8bec3fd1014330cdc0169cfa02e64f7815d11ff4ec8a2aa3aecd9141748d2ec469b1 omemo-dr-1.0.0.tar.gz "