1 # Maintainer: Filipe Laíns (FFY00) <lains@archlinux.org>
6 pkgdesc='Safe, atomic formatting with black and µsort'
8 url='https://github.com/omnilib/ufmt'
10 depends=('python-black' 'python-click' 'python-libcst' 'python-moreorless'
11 'python-tomlkit' 'python-trailrunner' 'python-typing_extensions' 'usort')
12 makedepends=('python-build' 'python-installer' 'python-flit-core' 'python-wheel')
13 source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
14 sha512sums=('a6a4619169852be354fa6c037607d11f2a78aa16276ea80a1ba2db569f469d04eaa1894d6e39bc374b4c7ef5a681f1ffc43c965abe893a0f415153d8bac7a7e3')
31 python -m installer -d "$pkgdir" dist/*.whl
33 install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
36 # vim:set ts=2 sw=2 et: