void-packages/srcpkgs/python-axolotl/template

26 lines
840 B
Bash

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