blob: 828844cd8e28df29593db6bf3ce4cbed598deb27 (
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
30
31
32
33
34
35
36
37
38
39
40
|
# Maintainer: Blair Bonnett <blair.bonnett@gmail.com>
# Contributor: csantosb <csantosb dot inventati dot org>
pkgname=python-cocotb-bus
pkgver=0.2.1
pkgrel=1
pkgdesc="Pre-packaged testbenching tools and reusable bus interfaces for cocotb"
arch=('any')
url="https://github.com/cocotb/cocotb-bus/"
license=('BSD-3-Clause')
depends=(
'python-cocotb'
'python-scapy'
)
makedepends=(
'git'
'python-build'
'python-installer'
'python-setuptools'
'python-wheel'
)
source=(
"git+https://github.com/cocotb/cocotb-bus#tag=v${pkgver}"
)
sha256sums=(
'b627b536aaa2150a682869c22d8ea29588191856812adaad00e617a67f3c23cd'
)
build() {
cd cocotb-bus
python -m build --no-isolation --wheel
}
package() {
cd cocotb-bus
python -m installer --destdir="$pkgdir" dist/cocotb_bus-"$pkgver"*.whl
install -Dm 644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
}
|