1 # Maintainer: Filipe LaĆns (FFY00) <lains@archlinux.org>
4 pkgname=python-$_pkgname
7 pkgdesc='A refreshed Python toolbox for building complex digital hardware'
9 url='https://github.com/nmigen/nmigen'
12 optdepends=('python-pyvcd: for nmigen.pysim'
13 'python-jinja: for nmigen.build')
14 makedepends=('python-setuptools-scm')
15 source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
16 sha512sums=('0fa6de5ae445a7f9f9d1e1703d9a1f3b9e7b5842a3e46f92454bc4493e780d24051159ddaf4528fa061c135670e587fee2eb8ba565602fd0d2ab94f3493dc147')
18 export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
29 python setup.py install --root="$pkgdir" --optimize=1 --skip-build
31 install -Dm 644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
34 # vim:set ts=2 sw=2 et: