blob: 419a36a2460fa20d8b4cb375e740b37b6524f6bb (
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
|
# Maintainer: Alexander Daum <alexander.daum at mailbox dot org>
# Contributor: csantosb <csantosb dot inventati dot org>
pkgname=python-vsg
pkgver=3.35.0
pkgrel=1
pkgdesc="VHDL style guide: coding style enforcement for VHDL"
arch=('any')
url="https://github.com/jeremiah-c-leary/vhdl-style-guide/"
license=('GPLv3')
conflicts=('python-vsg-git')
provides=('python-vsg')
depends=('python' 'python-pyaml')
makedepends=('git' 'python-setuptools-git-versioning' 'python-setuptools')
options=(!emptydirs)
source=("git+https://github.com/jeremiah-c-leary/vhdl-style-guide#tag=${pkgver}")
md5sums=('SKIP')
build() {
cd "${srcdir}/vhdl-style-guide"
rm -rf dist
python -m build --wheel --no-isolation
}
package() {
cd "${srcdir}/vhdl-style-guide"
python -m installer --destdir="$pkgdir/" dist/*.whl
install -m 644 -D ./LICENSE "$pkgdir"/usr/share/licenses/"$pkgname"/LICENSE
}
|