void-packages/srcpkgs/python3-ecdsa/template

24 lines
701 B
Bash

# Template file for 'python3-ecdsa'
pkgname=python3-ecdsa
version=0.16.1
revision=2
wrksrc="python-ecdsa-python-ecdsa-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-six"
checkdepends="python3-pytest python3-hypothesis python3-coverage"
short_desc="Implementation of ECDSA in Python3"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://github.com/warner/python-ecdsa/"
distfiles="https://github.com/warner/python-ecdsa/archive/python-ecdsa-${version}.tar.gz"
checksum=3b9fb3cc04d7375e1087dc5b31d6e3edd76a07b307f417b78b8924e164438828
do_check() {
coverage run --branch -m pytest src/ecdsa
}
post_install() {
vlicense LICENSE
}