blob: ae422e225f6f3969515db0234f14dd6da8e625bb (
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
|
# Maintainer: gilcu3
# Contributor: gilcu3
_pkgname=gf2bv
pkgname=python-$_pkgname-git
pkgver=0.1.0
pkgrel=1
pkgdesc="Solving linear systems over GF(2) by manipulating bitvectors"
url="https://github.com/maple3142/gf2bv"
license=("MIT")
arch=("any")
depends=('m4ri')
makedepends=('python-build' 'python-installer' 'python-wheel' 'git')
optdepends=('sagemath')
source=(git+$url)
sha256sums=('SKIP')
build() {
cd $srcdir/${_pkgname}
python -m build --wheel --no-isolation
}
package() {
cd $srcdir/${_pkgname}
python -m installer --destdir="$pkgdir" dist/*.whl
}
|