do not render failed packages in jinja (#57)

basic templates require package info which is unavailable if package
wasn't built
This commit is contained in:
2022-04-09 17:31:13 +03:00
parent 900907cdaa
commit fd78f2b5e2
5 changed files with 5 additions and 19 deletions

View File

@ -38,7 +38,7 @@ build() {
package() {
cd "$pkgname"
python -m installer --destdir="$pkgdir" dist/*.whl
python -m installer --destdir="$pkgdir" "dist/$pkgname-$pkgver-py3-none-any.whl"
# python-installer actually thinks that you cannot just copy files to root
# thus we need to copy them manually