blob: 93a5db11cd20fb6ab96f38efcef0cd61bbefb8d2 (
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-topology-git
pkgver=1.1.5
pkgrel=1
pkgdesc="Tenstorrent Topology (TT-Topology) is a command line utility used to flash multiple NB cards on a system to use specific eth routing configurations."
arch=('any')
url='https://github.com/tenstorrent/tt-topology'
license=('Apache')
makedepends=(python-build python-installer python-wheel)
depends=(python-elasticsearch python-pydantic python-tt-tools-common python-networkx)
provides=("tt-topology")
source=("tt-topology::git+https://github.com/tenstorrent/tt-topology.git")
sha256sums=('SKIP')
pkgver() {
cd tt-topology
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd tt-topology
python -m build --wheel --no-isolation
}
package() {
cd tt-topology
python -m installer --destdir="$pkgdir" dist/*.whl
}
|