void-packages/srcpkgs/alot/template
Jaume Devesa bc3b09a4f3 alot: patch mailcap rendering no content-type
Add a patch to fix a rendering problem with mails without Content-Type
header.

Patch is based on a bug already fixed in master in this PR:

https://github.com/pazz/alot/pull/1513

I find it important because without it, there is no way to see any mail
sent via `git send-email` on projects with email-driven git workflows.
Apparently, `git send-email` doesn't add the aforementioned header.
2020-10-31 16:29:51 -03:00

28 lines
859 B
Bash

# Template file for 'alot'
pkgname=alot
version=0.9.1
revision=4
build_style=python3-module
hostmakedepends="python3-setuptools python3-Sphinx"
depends="python3-setuptools python3-Twisted notmuch-python3 python3-configobj
python3-gpg python3-magic python3-urwidtrees"
checkdepends="$depends gnupg2 procps-ng python3-pytest"
short_desc="Terminal-based mail user agent based on the notmuch mail indexer"
maintainer="Felix Van der Jeugt <felix.vanderjeugt@posteo.net>"
license="GPL-3.0-or-later"
homepage="https://github.com/pazz/alot"
distfiles="https://github.com/pazz/${pkgname}/archive/${version}.tar.gz"
checksum=ee2c1ab1b43d022a8fe2078820ed57d8d72aec260a7d750776dac4ee841d1de4
patch_args="-Np1"
do_check() {
pytest3 -k 'not test_no_spawn_no_stdin_attached'
}
post_build() {
make $makejobs -C docs man
}
post_install() {
vman docs/build/man/alot.1
}