blob: 345b4a893475ca3bf7497265832f4df36a2f8daa (
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
|
# Maintainer: Martin Chang <marty188586@gmail.com>
pkgname=tt-flash
pkgver=3.6.2
pkgrel=1
pkgdesc="Tenstorrent Firmware Update Utility"
arch=('any')
url='https://github.com/tenstorrent/tt-flash'
license=('Apache')
makedepends=(python-build python-installer python-wheel)
depends=(python-yaml python-luwen python-tabulate python-tomli python-tt-tools-common)
provides=('tt-flash=3.6.0')
conflicts=("tt-flash")
source=("tt-flash::git+https://github.com/tenstorrent/tt-flash.git#tag=v${pkgver}")
sha256sums=('5986ffc4a6e0a1a5fc526260bb29785c54e0b5555c28bf1c423fae8623a4353e')
build() {
cd tt-flash
python -m build --wheel --no-isolation
}
package() {
cd tt-flash
python -m installer --destdir="$pkgdir" dist/*.whl
rm -rf $pkgdir/usr/lib/python*/site-packages/debian/ || true
}
|