aboutsummaryrefslogtreecommitdiff
blob: 09c135a3a6433d8c10eab32309093c24a65e2e83 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

PYTHON_COMPAT=( python3_{8..10} )

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"
IUSE="examples systemd"

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" )

distutils_enable_sphinx Documentation --no-autodoc

python_install_all() {
	distutils-r1_python_install_all

	use examples && dodoc -r Documentation/examples
	use systemd && systemd_dounit remail.service
}