# Maintainer: Marian Buschsieweke pkgname=py3-axolotl _pkgname="python-${pkgname#py3-}" pkgver=0.1.42 pkgrel=2 pkgdesc="Python port of libsignal-protocol-java" url="https://github.com/tgalal/python-axolotl" arch="noarch" license="GPL-3.0-only" depends="py3-cryptography py3-protobuf py3-axolotl-curve25519" makedepends="py3-setuptools" checkdepends="py3-cparser" source="$pkgname-$pkgver.tar.gz::https://github.com/tgalal/$_pkgname/archive/$pkgver.tar.gz" builddir="$srcdir"/$_pkgname-$pkgver replaces="py-axolotl" # Backwards compatibility provides="py-axolotl=$pkgver-r$pkgrel" # Backwards compatibility build() { python3 setup.py build } check() { python3 setup.py test } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="db9e1cfab87d690619a672b1782942a18b12b17af555959c17bcc3e2581e9c689c57becc0ea884a1129df9dace17684ba03de38b81f8c8c65cab27962ebdb6c5 py3-axolotl-0.1.42.tar.gz"