void-packages/srcpkgs/python3-ecdsa/template

23 lines
670 B
Bash

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