blob: b5c6227da073d1932a035cfed4713c9307bc386c (
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
|
# Maintainer: Martin Chang <marty188586@gmail.com>
pkgname=tt-flash-git
pkgver=3.0.0
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")
source=("tt-flash::git+https://github.com/tenstorrent/tt-flash.git")
sha256sums=('SKIP')
pkgver() {
cd tt-flash
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd tt-flash
python -m build --wheel --no-isolation
}
package() {
cd tt-flash
python -m installer --destdir="$pkgdir" dist/*.whl
}
|