blob: 24fc2cccf786eb94062b149168bb81ca1c949d62 (
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: csantosb <csantosb dot inventati dot org>
pkgname=python-cocotb-bus
pkgver=0.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')
depends=('python' 'python-setuptools')
makedepends=('git' 'gcc')
optdepends=('iverilog: for simulating verilog designs'
'ghdl: for simulating VHDL designs'
'gtkwave: for visualizing waveforms')
options=(!emptydirs)
source=("git+https://github.com/cocotb/cocotb-bus#tag=v${pkgver}.${pkgrel}")
md5sums=('SKIP')
build() {
cd "${srcdir}/cocotb-bus"
python setup.py build
}
package() {
cd "${srcdir}/cocotb-bus"
python setup.py install --skip-build --root="$pkgdir" --optimize=1
install -m 644 -D ./LICENSE "$pkgdir"/usr/share/licenses/"$pkgname"/LICENSE
}
|