blob: d2498ad2a1e5540a77bd4e0215e888147a032e6d (
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-topology
pkgver=1.2.19
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=1.2.18')
conflicts=("tt-topology")
source=("tt-topology::git+https://github.com/tenstorrent/tt-topology.git#tag=v${pkgver}")
sha256sums=('4f17d13e1b47ef86e0b19be4d3398b99b750764a260e04c74f4b4a4448c665c0')
build() {
cd tt-topology
python -m build --wheel --no-isolation
}
package() {
cd tt-topology
python -m installer --destdir="$pkgdir" dist/*.whl
rm -rf $pkgdir/usr/lib/python*/site-packages/debian/ || true
}
|