blob: 8766e2a7109fb9d39847e89aa5a3d2e7d80f9253 (
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
35
36
37
38
39
40
41
42
43
44
45
46
47
|
# Maintainer: Sam Whited <sam@samwhited.com>
# Contributor: Maxime "pep" Buquet <archlinux@bouah.net>
pkgname=python-xeddsa
pkgver=1.0.3
pkgrel=1
pkgdesc="A python implementation of the XEdDSA signature scheme"
url='https://github.com/Syndace/python-xeddsa'
license=('MIT')
arch=('x86_64')
makedepends=(
'git'
'python-setuptools'
'cmake'
'libsodium'
'python-pip'
'python-build'
'python-installer'
'python-wheel'
)
source=("https://github.com/Syndace/${pkgname}/archive/refs/tags/v${pkgver}.tar.gz")
sha256sums=('4f4904d2275ae954d344fcaa6542fa0f4e50e0b3f9b65a3a68c2d87421af4e4d')
depends=(
'glibc'
'libxeddsa'
'python-cffi'
'python-libnacl'
'python-pynacl'
)
provides=("${pkgname}")
conflicts=("${pkgname}")
prepare() {
cd ${pkgname}-${pkgver}
# Remove stale wheels
rm -rf dist/
}
build() {
cd ${pkgname}-${pkgver}
python -m build --wheel --no-isolation
}
package() {
cd ${pkgname}-${pkgver}
python -m installer --destdir="$pkgdir" dist/*.whl
}
|