blob: 8eee3123bac97b4b090d8be735f3dd1d20a7d6c6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Maintainer: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
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"
|