1 # Maintainer: David Runge <dvzrv@archlinux.org>
7 pkgdesc="A task management and automation tool"
9 url="https://pydoit.org/"
30 'python-toml: for TOML support'
31 'python-setuptools: for plugin support'
33 source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz)
34 sha512sums=('d4caa31701755c7f59213dde0f89fd3616c0c01b7f06245cbfd9f1a315d503e62f3556c3b86685cd0ebfcffcc9cae0987ca150f037aa7b3cd960439a1191be42')
35 b2sums=('15558a39ccac031ddf3a429aa585bc6e1d49c2e7572df29979ca66d1025fa5d7a917f6cc5bcfd21f2749e4ed7e7885b0865ec67b6fa32817e1518d47da9ead97')
39 python -m build --wheel --no-isolation
44 export PYTHONPATH="build/lib:$PYTHONPATH"
50 python -m installer --destdir="$pkgdir" dist/*.whl
51 install -vDm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
52 install -vDm 644 {AUTHORS,CHANGES,CONTRIBUTING.md,README.rst} -t "$pkgdir/usr/share/doc/$pkgname"
53 install -vDm 644 bash_completion_$_name "$pkgdir/usr/share/bash-completion/completions/$_name"
54 install -vDm 644 zsh_completion_$_name "$pkgdir/usr/share/zsh/site-functions/_$_name"