1 # Maintainer: Jelle van der Waa <jelle@archlinux.org>
2 # Contributor: Kewl <xrjy@nygb.rh.bet(rot13)>
3 # Contributor: Andy Weidenbaum <archbaum@gmail.com>
9 pkgdesc="Generate random strings in Python"
11 url="https://github.com/leapfrogonline/rstr"
14 makedepends=(python-setuptools python-setuptools-scm python-build python-installer python-wheel)
15 source=("https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz")
16 sha256sums=('c51924c626540eb626ed3eb8e5e6c1d2f2c73959d039c8ff61ee562baeb4e0ff')
24 python -m build --wheel --no-isolation
29 python3 -m unittest discover
34 python -m installer --destdir="$pkgdir" dist/*.whl
35 install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt