blob: 77254dd7bf7bfb388e282fe511c307058dd5b08b (
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
|
# Maintainer: piernov <piernov@piernov.org>
pkgname=python-qualia-plugin-snn
pkgver=2.3.0
pkgrel=1
pkgdesc="Support for Spiking Neural Networks in Qualia"
arch=('any')
url="https://github.com/LEAT-EDGE/qualia-plugin-snn"
license=('AGPL-3.0')
depends=('python' 'python-numpy' 'python-qualia-core' 'python-pytorch' 'python-spikingjelly' 'python-typing_extensions')
makedepends=('git' 'python-build' 'python-installer' 'python-wheel' 'python-pdm-backend')
optdepends=('python-qualia-codegen-plugin-snn: support for deployment using Qualia-CodeGen C code generation tool')
source=("git+https://github.com/leat-edge/qualia-plugin-snn.git#tag=$pkgver")
md5sums=('SKIP')
build() {
cd "$srcdir"/qualia-plugin-snn
python -m build --wheel --no-isolation
}
package() {
cd "$srcdir"/qualia-plugin-snn
python -m installer --destdir="$pkgdir" dist/*.whl
}
|