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

23 lines
762 B
Bash

# Template file for 'python3-axolotl-curve25519'
pkgname=python3-axolotl-curve25519
_pkgname=${pkgname/3/}
version=0.4.1.post2
revision=6
wrksrc="$_pkgname-$version"
build_style=python3-module
hostmakedepends="python3-setuptools"
makedepends="python3-devel"
depends="python3"
short_desc="Python3 curve25519 with ed25519 signatures, used by libaxolotl"
maintainer="Lon Willett <xgit@lonw.net>"
license="GPL-3.0-only, BSD-3-Clause"
homepage="https://github.com/tgalal/python-axolotl-curve25519"
distfiles="${PYPI_SITE}/p/${_pkgname}/${_pkgname}-${version}.tar.gz"
checksum=0705a66297ebd2f508a60dc94e22881c754301eb81db93963322f6b3bdcb63a3
post_install() {
sed -e "/Copyright/,/SUCH DAMAGE./p" \
curve/curve25519-donna.c >donna.LICENSE
vlicense donna.LICENSE
}