blob: eb789e0bed92dbcbac69d63a7cf36cd8fefda2d0 (
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
|
# Maintainer: Luis Martinez <luis dot martinez at disroot dot org>
# Contributor: redfish <redfish@galactica.pw>
pkgname=python-coincurve
pkgver=17.0.0
pkgrel=2
pkgdesc='Cross-platform Python CFFI bindings for libsecp256k1'
arch=('x86_64')
url="https://github.com/ofek/coincurve"
license=('GPL')
depends=('python-cffi' 'python-requests' 'libsecp256k1')
makedepends=('python-setuptools' 'python-build' 'python-installer' 'python-wheel')
source=("$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/c/coincurve/coincurve-$pkgver.tar.gz")
sha256sums=('68da55aff898702952fda3ee04fd6ed60bb6b91f919c69270786ed766b548b93')
build() {
cd "coincurve-$pkgver"
python -m build --wheel --no-isolation
}
package() {
export PYTHONHASHSEED=0
cd "coincurve-$pkgver"
python -m installer --destdir="$pkgdir/" dist/*.whl
}
|