blob: 496d047605b7154afdc069de8f44abf66bc865d8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# Maintainer: piernov <piernov@piernov.org>
pkgname=python-qualia-codegen-plugin-snn
pkgver=2.3.0
pkgrel=1
pkgdesc="Support for Spiking Neural Networks in Qualia-CodeGen"
arch=('any')
url="https://github.com/LEAT-EDGE/qualia-codegen-plugin-snn"
license=('AGPL-3.0')
depends=('python' 'python-numpy' 'python-qualia-codegen-core' 'python-spikingjelly' 'python-typing_extensions')
makedepends=('git' 'python-build' 'python-installer' 'python-wheel' 'python-pdm-backend')
source=("git+https://github.com/leat-edge/qualia-codegen-plugin-snn.git#tag=$pkgver")
md5sums=('SKIP')
build() {
cd "$srcdir"/qualia-codegen-plugin-snn
python -m build --wheel --no-isolation
}
package() {
cd "$srcdir"/qualia-codegen-plugin-snn
python -m installer --destdir="$pkgdir" dist/*.whl
}
|