blob: 9bc22fe246c446adeca8a5168d7ad5e47f30f8b1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# Contributor: omni <omni+alpine@hack.org>
# Maintainer: omni <omni+alpine@hack.org>
pkgname=py3-sibc
_pkgname=sibc
pkgver=1.0.4
pkgrel=2
pkgdesc="Supersingular Isogeny-Based Cryptography constructions (python-code library)"
url="https://github.com/JJChiDguez/sibc"
arch="all"
license="GPL-3.0-or-later"
depends="python3 py3-click py3-progress py3-numpy"
makedepends="py3-setuptools py3-numpy-dev"
checkdepends="py3-pytest py3-pytest-runner"
source="$_pkgname-$pkgver.tar.gz::https://github.com/JJChiDguez/sibc/archive/refs/tags/v$pkgver.tar.gz
bench_soft_requirements.patch
"
builddir="$srcdir/$_pkgname-$pkgver"
build() {
python3 setup.py build
}
check() {
pytest -k csidh_gae_p512_hvelu_df__unscaled
}
package() {
python3 setup.py install --skip-build --root="$pkgdir"
}
sha512sums="
11fb75240b0ceedce208380aef9572ed29fad8b6ea73ef982d0051792a8316cfb95ae0c81f30186f53941d129d2095988bef0f9160b643a1936ccf1175107a19 sibc-1.0.4.tar.gz
85b5bd2de5b3ba2d2c9d20bbfec343e778e70452c8a89d4a3b81ad19224669bb76bf072d78b2d18b3fbf9000d69f1eca2cd50f458dd2efe1d8fb34410afa6f60 bench_soft_requirements.patch
"
|