1 # Maintainer: Leonidas Spyropoulos <artafinde at archlinux dot org>
6 pkgdesc="Finds dead code in Python projects"
8 url="https://github.com/jendrikseipp/vulture"
10 depends=(python-coverage python-setuptools python-pint python-toml)
11 makedepends=(python-build python-installer python-poetry-core python-wheel)
12 checkdepends=(python-tox)
13 source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz")
14 sha256sums=('ae0268f49b680b0f75318aab63af71a6a050e51150789b30d3be7b37cb03c37d')
15 b2sums=('ef2462b11472e88494abcbe2d060b64e1000ad0be2d9939ca50ac78202136f498d5c584bf2c989d6da1c5d5ca53196b8d359e5f9c8495106f9a119b24ffd8311')
18 cd "${pkgname}"-"${pkgver}"
19 python -m build --wheel --no-isolation
23 cd "${pkgname}"-"${pkgver}"
28 cd "${pkgname}"-"${pkgver}"
29 python -m installer --destdir="$pkgdir" dist/*.whl
30 install -vDm 644 LICENSE.txt -t "${pkgdir}/usr/share/licenses/${pkgname}"
33 # vim:set ts=2 sw=2 et: