mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-22 18:55:29 +03:00
42 lines
1.1 KiB
Text
42 lines
1.1 KiB
Text
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
|
|
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
|
|
pkgname=py3-ecdsa
|
|
_pkgname=ecdsa
|
|
pkgver=0.16.1
|
|
pkgrel=1
|
|
pkgdesc="Python3 cryptographic signature library"
|
|
url="https://github.com/warner/python-ecdsa"
|
|
arch="noarch"
|
|
license="MIT"
|
|
depends="python3 py3-six"
|
|
makedepends="py3-setuptools"
|
|
checkdepends="py3-hypothesis py3-pytest"
|
|
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
|
|
builddir="$srcdir/$_pkgname-$pkgver"
|
|
|
|
replaces="py-ecdsa" # Backwards compatibility
|
|
provides="py-ecdsa=$pkgver-r$pkgrel" # Backwards compatibility
|
|
|
|
case "$CARCH" in
|
|
# tests make broken endianness assumptions on mips
|
|
mips*) options="!check" ;;
|
|
esac
|
|
|
|
# secfixes:
|
|
# 0.13.3-r0:
|
|
# - CVE-2019-14859
|
|
# - CVE-2019-14853
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
py.test-3
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --prefix=/usr --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="935416ff25a71b1e6fe442b11e8d2c1463b1652d539274e094112a4847c2c749ff58eb9f5ed108ed5613b7363d3f2b1c07ba3d01af8cfed4e1b4bec407d3f5a6 ecdsa-0.16.1.tar.gz"
|