From 826054f2fe472c45b830bdfc9047bf0d3f2be965 Mon Sep 17 00:00:00 2001 From: Nathan Owens Date: Tue, 29 Dec 2020 03:48:29 -0600 Subject: [PATCH 1/2] olm: update to 3.2.1. --- srcpkgs/olm/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/olm/template b/srcpkgs/olm/template index 62fd5a09164..39aabed41d3 100644 --- a/srcpkgs/olm/template +++ b/srcpkgs/olm/template @@ -1,6 +1,6 @@ # Template file for 'olm' pkgname=olm -version=3.1.5 +version=3.2.1 revision=1 build_style=cmake short_desc="Implementation of the Double Ratchet cryptographic ratchet" @@ -8,7 +8,7 @@ maintainer="Adam Beckmeyer " 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=1cd4d92ae56373836362c3300ee79a14005a26cda3d399d278d468ba5c7c0713 +checksum=a0482f8c8e80eb11578e8a8655b677fe943b86ac33affd46d67dff4261afeb6a do_check() { cd build/tests From 62a042f68853a64fb5df3bef3956470f3e92400f Mon Sep 17 00:00:00 2001 From: Nathan Owens Date: Tue, 5 Jan 2021 16:10:26 -0600 Subject: [PATCH 2/2] olm-python3: update to 3.2.1. --- srcpkgs/olm-python3/template | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/srcpkgs/olm-python3/template b/srcpkgs/olm-python3/template index 80c75317452..2ac1d725ac7 100644 --- a/srcpkgs/olm-python3/template +++ b/srcpkgs/olm-python3/template @@ -1,20 +1,25 @@ # Template file for 'olm-python3' pkgname=olm-python3 -version=3.1.5 -revision=3 +version=3.2.1 +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 " 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=1cd4d92ae56373836362c3300ee79a14005a26cda3d399d278d468ba5c7c0713 +checksum=a0482f8c8e80eb11578e8a8655b677fe943b86ac33affd46d67dff4261afeb6a pre_build() { make include/olm/olm.h } + +do_check() { + PYTHONPATH=$(cd build/lib.linux-* && pwd) python3 -m pytest +}