mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-23 14:03:33 -04:00
remail is a very simplistic mailing list tool which provides encryption. remail reads mail from a maildir, decrypts it with the mailing list private key and re-encrypts it for every enabled subscriber. The resulting mails are delivered to the localhost's SMTP server. remail supports S/MIME and PGP on both ends. Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Kurt Kanzenbach <kurt@kmk-computers.de>
51 lines
1.2 KiB
Bash
51 lines
1.2 KiB
Bash
# Copyright 1999-2020 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
|
|
PYTHON_COMPAT=( python3_{6,7} )
|
|
|
|
inherit distutils-r1 systemd
|
|
|
|
DESCRIPTION="A set of tools for crypted mailing lists"
|
|
HOMEPAGE="https://git.kernel.org/pub/scm/linux/kernel/git/tglx/remail.git/about/"
|
|
SRC_URI="https://git.kernel.org/pub/scm/linux/kernel/git/tglx/remail.git/snapshot/${P}.tar.gz"
|
|
|
|
LICENSE="GPL-2"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86"
|
|
IUSE="doc examples systemd"
|
|
|
|
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
|
|
|
BDEPEND="
|
|
dev-python/sphinx[${PYTHON_USEDEP}]
|
|
"
|
|
|
|
RDEPEND="${PYTHON_DEPS}
|
|
dev-python/flufl-bounce[${PYTHON_USEDEP}]
|
|
>=dev-python/m2crypto-0.35.2[${PYTHON_USEDEP}]
|
|
dev-python/pyinotify[${PYTHON_USEDEP}]
|
|
dev-python/python-gnupg[${PYTHON_USEDEP}]
|
|
dev-python/ruamel-yaml[${PYTHON_USEDEP}]
|
|
"
|
|
|
|
PATCHES=( "${FILESDIR}/${P}-setup.patch" )
|
|
|
|
python_compile() {
|
|
distutils-r1_python_compile
|
|
|
|
emake -C Documentation man
|
|
use doc && emake -C Documentation html
|
|
}
|
|
|
|
python_install_all() {
|
|
doman Documentation/output/man/*
|
|
|
|
use doc && local HTML_DOCS=( Documentation/output/html/. )
|
|
distutils-r1_python_install_all
|
|
|
|
use examples && dodoc -r Documentation/examples
|
|
use systemd && systemd_dounit remail.service
|
|
}
|