mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-25 12:15:32 +03:00
this marginally increases install speed by not checking if it needs a rebuild. also remove --prefix=/usr as it defaults to /usr already. might break a build or two, will fix later
42 lines
1.3 KiB
Text
42 lines
1.3 KiB
Text
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
|
|
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
|
|
pkgname=py3-ecdsa
|
|
_pkgname=ecdsa
|
|
pkgver=0.18.0
|
|
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
|
|
$pkgname-fix-tests.patch::https://github.com/tlsfuzzer/python-ecdsa/commit/644412d7a27503fb682e7201c57343f3c43b6640.patch
|
|
"
|
|
builddir="$srcdir/$_pkgname-$pkgver"
|
|
|
|
replaces="py-ecdsa" # Backwards compatibility
|
|
provides="py-ecdsa=$pkgver-r$pkgrel" # Backwards compatibility
|
|
|
|
# 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 --skip-build --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
f26dbeccd8e6ec832405d419b7244ca97b43a2811513493913a4f2f2fd1d2f453068fe0ba7b90b972f42a0d7b9834212fbd4d4559475cffeb1d80075fa954d78 ecdsa-0.18.0.tar.gz
|
|
c907f0ee0b1eb836a1881b20aba5e2234313fa402aa04c7cf39b316ca0bc360717914a267fd6d11db878f254d4547a645c4388d2dc0678024bbecca6308c344f py3-ecdsa-fix-tests.patch
|
|
"
|