summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d6ae714410eed185fa6eef8f3c85285b66e0f794 (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
# Maintainer: Markus Koch <markus@notsyncing.net>
pkgname=python-pyuvm
pkgver=2.9.1
pkgrel=1
pkgdesc="pyuvm is the Universal Verification Methodology implemented in Python instead of SystemVerilog. pyuvm uses cocotb to interact with the simulator and schedule simulation events."
arch=('any')
url="https://github.com/pyuvm/pyuvm"
license=('Apache')
depends=('python' 'python-setuptools' 'python-cocotb')
makedepends=('git')
optdepends=('iverilog: for simulating verilog designs'
            'ghdl: for simulating VHDL designs'
            'gtkwave: for visualizing waveforms')

options=(!emptydirs)
source=("git+https://github.com/pyuvm/pyuvm#tag=${pkgver}")
md5sums=('SKIP')

build() {
    cd "${srcdir}/pyuvm"
    python setup.py build
}

package() {
    cd "${srcdir}/pyuvm"
    python setup.py install --skip-build --root="$pkgdir" --optimize=1
    install -m 644 -D ./LICENSE "$pkgdir"/usr/share/licenses/"$pkgname"/LICENSE
}