28 lines
918 B
Bash
28 lines
918 B
Bash
# Template file for 'olm-python'
|
|
pkgname=olm-python
|
|
version=3.1.5
|
|
revision=1
|
|
wrksrc="olm-${version}"
|
|
build_wrksrc=python
|
|
build_style=python-module
|
|
hostmakedepends="python-setuptools python3-setuptools python-cffi python3-cffi"
|
|
makedepends="python-devel python3-devel libffi-devel olm-devel"
|
|
depends="python-cffi python-future python-typing"
|
|
short_desc="Implementation of the Double Ratchet cryptographic ratchet (Python2)"
|
|
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=1cd4d92ae56373836362c3300ee79a14005a26cda3d399d278d468ba5c7c0713
|
|
|
|
pre_build() {
|
|
make include/olm/olm.h
|
|
}
|
|
|
|
olm-python3_package() {
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
depends="python3-cffi python3-future"
|
|
pkg_install() {
|
|
vmove ${py3_sitelib}
|
|
}
|
|
}
|