python3-ecdsa: update to 0.16.1

This commit is contained in:
Nathan Owens 2020-11-26 17:54:24 -06:00 committed by Érico Nogueira Rolim
parent 7448bac35c
commit c9e95cd5f6

View file

@ -1,23 +1,23 @@
# Template file for 'python3-ecdsa' # Template file for 'python3-ecdsa'
pkgname=python3-ecdsa pkgname=python3-ecdsa
version=0.14.1 version=0.16.1
revision=5 revision=1
wrksrc="ecdsa-${version}" wrksrc="python-ecdsa-python-ecdsa-${version}"
build_style=python3-module build_style=python3-module
hostmakedepends="python3-setuptools" hostmakedepends="python3-setuptools"
depends="python3-six" depends="python3-six"
checkdepends="python3-pytest python3-hypothesis python3-coverage"
short_desc="Implementation of ECDSA in Python3" short_desc="Implementation of ECDSA in Python3"
maintainer="Orphaned <orphan@voidlinux.org>" maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT" license="MIT"
homepage="https://github.com/warner/python-ecdsa/" homepage="https://github.com/warner/python-ecdsa/"
distfiles="${PYPI_SITE}/e/ecdsa/ecdsa-${version}.tar.gz" distfiles="https://github.com/warner/python-ecdsa/archive/python-ecdsa-${version}.tar.gz"
checksum=64c613005f13efec6541bb0a33290d0d03c27abab5f15fbab20fb0ee162bdd8e checksum=3b9fb3cc04d7375e1087dc5b31d6e3edd76a07b307f417b78b8924e164438828
pre_build() { do_check() {
# use system six coverage run --branch -m pytest src/ecdsa
find . -type f -name '*.py' -exec sed -i 's/from \(ecdsa\|\)\.six/from six/g' {} +
rm -f ecdsa/six.py
} }
post_install() { post_install() {
vlicense LICENSE vlicense LICENSE
} }