1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
6 pkgdesc="Utility to produce useful, summarised news files for your project"
8 url="https://github.com/hawkowl/towncrier"
10 depends=('python-click' 'python-click-default-group' 'python-incremental' 'python-jinja'
11 'python-setuptools' 'python-tomli')
12 checkdepends=('git' 'python-twisted')
13 source=("https://pypi.io/packages/source/t/towncrier/towncrier-$pkgver.tar.gz")
14 sha512sums=('af602610ddf77ad2d241347bd59ac915637123b65aa9da41197674ea338f8d7c86d1faa59e58e8675286c44ea266915896041bf6e16c3e920e40ca85cf04e52d')
23 python setup.py install --root="$PWD/tmp_install" --optimize=1
24 PYTHONPATH="$PWD/tmp_install/usr/lib/python3.11/site-packages" PATH="$PWD/tmp_install/usr/bin:$PATH" trial towncrier
29 python setup.py install -O1 --prefix=/usr --root="$pkgdir"
31 install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
34 # vim:set ts=2 sw=2 et: