void-packages/srcpkgs/olm-python3/template
FollieHiyuki a827826212 olm-python3: update to 3.2.2
Disable tests.

Closes: #29312 [via git-merge-pr]
2021-04-03 01:35:06 -03:00

27 lines
895 B
Bash

# Template file for 'olm-python3'
pkgname=olm-python3
version=3.2.2
revision=1
wrksrc="olm-${version}"
build_wrksrc=python
build_style=python3-module
hostmakedepends="python3-setuptools python3-cffi"
makedepends="python3-devel libffi-devel olm-devel"
depends="python3-cffi python3-future"
checkdepends="python3-pytest python3-future"
short_desc="Implementation of the Double Ratchet cryptographic ratchet - Python"
maintainer="Adam Beckmeyer <adam_gpg@thebeckmeyers.xyz>"
license="Apache-2.0"
homepage="https://gitlab.matrix.org/matrix-org/olm"
distfiles="https://gitlab.matrix.org/matrix-org/olm/-/archive/${version}/olm-${version}.tar.bz2"
checksum=a180af4bcdfcd4b8f3e4aa306869d80f7610c81f651347e8e71bd03c31a2b697
# requires unpackaged pytest-{benchmark,isort}
make_check=no
pre_build() {
make include/olm/olm.h
}
do_check() {
PYTHONPATH=$(cd build/lib.linux-* && pwd) python3 -m pytest
}