void-packages/srcpkgs/python-axolotl/template
2019-05-22 13:21:35 +02:00

25 lines
850 B
Bash

# Template file for 'python-axolotl'
pkgname=python-axolotl
version=0.2.3
revision=1
archs=noarch
build_style=python-module
pycompile_module="axolotl"
hostmakedepends="python-setuptools python3-setuptools"
depends="python-axolotl-curve25519 python-cryptography python-protobuf"
short_desc="Python2 port of libaxolotl-android written by Moxie Marlinspike"
maintainer="Lon Willett <xgit@lonw.net>"
license="GPL-3.0-only"
homepage="https://github.com/tgalal/python-axolotl"
distfiles="${PYPI_SITE}/p/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=fe0e8147423f8dc4ec1077ea18ca5a54091366d22faa903a772ee6ea88b88daf
python3-axolotl_package() {
archs=noarch
depends="python3-axolotl-curve25519 python3-cryptography python3-protobuf"
pycompile_module="axolotl"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
}
}