mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-25 12:15:32 +03:00
this marginally increases install speed by not checking if it needs a rebuild. also remove --prefix=/usr as it defaults to /usr already. might break a build or two, will fix later
33 lines
1,014 B
Text
33 lines
1,014 B
Text
# Maintainer: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
|
|
pkgname=py3-axolotl
|
|
_pkgname="python-${pkgname#py3-}"
|
|
pkgver=0.2.3
|
|
pkgrel=5
|
|
pkgdesc="Python3 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 --skip-build --root="$pkgdir"
|
|
|
|
rm -r "$pkgdir"/usr/lib/python3.*/site-packages/axolotl/tests
|
|
}
|
|
|
|
sha512sums="1a10dc9df2f95d19b49909d4d136b5266aae19e24ac84f8b263ae7d4de18f77353c737616ac0648b600e05699a90d348f95c6c1659849986becefb4a0277fc80 py3-axolotl-0.2.3.tar.gz"
|