void-packages/srcpkgs/python-axolotl-curve25519/template

23 lines
736 B
Bash

# Template file for 'python-axolotl-curve25519'
pkgname=python-axolotl-curve25519
version=0.1
revision=2
build_style=python-module
hostmakedepends="python-setuptools python3-setuptools"
makedepends="python-devel python3-devel"
depends="python"
short_desc="Python2 curve25519 with ed25519 signatures, used by libaxolotl"
maintainer="Lon Willett <xgit@lonw.net>"
license="GPL-3"
homepage="https://pypi.python.org/pypi/python-axolotl-curve25519"
distfiles="${PYPI_SITE}/p/${pkgname}/${pkgname}-${version}.tar.gz"
checksum="c559f6a5bf51e869325b36bd83c14cccd7dec1c6e7599e797f9ba27a72d339c0"
python3-axolotl-curve25519_package() {
depends="python3"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
}
}