void-packages/srcpkgs/offlineimap/template

27 lines
1004 B
Bash

# Template file for 'offlineimap'
pkgname=offlineimap
version=8.0.0
revision=4
build_style=python3-module
make_check_args="--ignore test/tests/test_00_imaputil.py
--ignore test/tests/test_01_basic.py --ignore test/tests/test_02_MappedIMAP.py"
_deps="python3-distro python3-rfc6555 python3-imaplib2"
hostmakedepends="${_deps} python3-setuptools asciidoc"
depends="${_deps}"
checkdepends="${depends} python3-pytest-xdist"
short_desc="Powerful IMAP/Maildir synchronization and reader support"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="http://offlineimap.org/"
changelog="https://raw.githubusercontent.com/OfflineIMAP/offlineimap3/master/Changelog.md"
distfiles="https://github.com/OfflineIMAP/offlineimap3/archive/refs/tags/v${version}.tar.gz"
checksum=5d40c163ca2fbf89658116e29f8fa75050d0c34c29619019eee1a84c90fcab32
post_install() {
make -C docs man
vman docs/offlineimap.1
vman docs/offlineimapui.7
vsconf offlineimap.conf
vsconf offlineimap.conf.minimal
}