blob: 783ed4d921f92828f34306923d2eb14118132772 (
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-smi
pkgver=6.0.0
pkgrel=1
pkgdesc="Tenstorrent console based hardware information program"
arch=('any')
url='https://github.com/tenstorrent/tt-smi'
license=('Apache')
makedepends=(python-build python-installer python-wheel)
depends=(python-distro python-elasticsearch python-psutil python-pyyaml python-rich python-textual python-requests python-tqdm python-pydantic python-importlib_resources python-luwen python-linkify-it-py python-tt-tools-common python-tomli)
provides=('tt-smi=5.3.1')
conflicts=("tt-smi")
source=("tt-smi::git+https://github.com/tenstorrent/tt-smi.git#tag=v${pkgver}")
sha256sums=('89e595a6e88df5e878aa49cb0c181317af2327b565fd51f1737fe40a09057168')
build() {
cd tt-smi
python -m build --wheel --no-isolation
}
package() {
cd tt-smi
python -m installer --destdir="$pkgdir" dist/*.whl
rm -rf $pkgdir/usr/lib/python*/site-packages/debian/ || true
}
|