1 # Maintainer: Filipe LaĆns (FFY00) <lains@archlinux.org>
4 pkgname=python-$_pkgname
7 pkgdesc='Cross-platform tool for adding locations to the user PATH, no elevated privileges required!'
9 url='https://github.com/ofek/userpath'
11 depends=('python' 'python-click' 'python-distro')
12 makedepends=('python-build' 'python-installer' 'python-hatchling' 'python-wheel')
13 checkdepends=('python-pytest')
14 source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
15 sha512sums=('d2f082909fad22cf5b33f175afdeebe14a44ebd245c84506395f01a288eccf9c376ac28dcc4b618cc2464e1a23e740b41f4f4ad0e780a42e1185c5283ccc7330')
32 python -m installer -d "$pkgdir" dist/*.whl
34 install -Dm 644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE-MIT
37 # vim:set ts=2 sw=2 et: