python3-ecdsa: update to 0.16.1
This commit is contained in:
parent
7448bac35c
commit
c9e95cd5f6
1 changed files with 9 additions and 9 deletions
|
@ -1,23 +1,23 @@
|
|||
# Template file for 'python3-ecdsa'
|
||||
pkgname=python3-ecdsa
|
||||
version=0.14.1
|
||||
revision=5
|
||||
wrksrc="ecdsa-${version}"
|
||||
version=0.16.1
|
||||
revision=1
|
||||
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="${PYPI_SITE}/e/ecdsa/ecdsa-${version}.tar.gz"
|
||||
checksum=64c613005f13efec6541bb0a33290d0d03c27abab5f15fbab20fb0ee162bdd8e
|
||||
distfiles="https://github.com/warner/python-ecdsa/archive/python-ecdsa-${version}.tar.gz"
|
||||
checksum=3b9fb3cc04d7375e1087dc5b31d6e3edd76a07b307f417b78b8924e164438828
|
||||
|
||||
pre_build() {
|
||||
# use system six
|
||||
find . -type f -name '*.py' -exec sed -i 's/from \(ecdsa\|\)\.six/from six/g' {} +
|
||||
rm -f ecdsa/six.py
|
||||
do_check() {
|
||||
coverage run --branch -m pytest src/ecdsa
|
||||
}
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue