blob: d6f428c545b1156bd445999a04224e28d9323a43 (
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{8..9} )
inherit distutils-r1
DESCRIPTION="Mailman -- the GNU mailing list manager"
HOMEPAGE="https://www.list.org"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="GPL-3+"
SLOT="3"
KEYWORDS="~amd64"
IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/aiosmtpd-1.4.1[${PYTHON_USEDEP}]
dev-python/alembic[${PYTHON_USEDEP}]
dev-python/atpublic[${PYTHON_USEDEP}]
>=dev-python/authheaders-0.13.0[${PYTHON_USEDEP}]
>=dev-python/authres-1.0.1[${PYTHON_USEDEP}]
>=dev-python/click-8.0[${PYTHON_USEDEP}]
>=dev-python/dnspython-1.14.0[${PYTHON_USEDEP}]
>=dev-python/falcon-2.0.0[${PYTHON_USEDEP}]
dev-python/flufl-bounce[${PYTHON_USEDEP}]
>=dev-python/flufl-i18n-2.0.1[${PYTHON_USEDEP}]
>=dev-python/flufl-lock-3.1[${PYTHON_USEDEP}]
$(python_gen_cond_dep '
dev-python/importlib_resources[${PYTHON_USEDEP}]
' python3_8)
www-servers/gunicorn[${PYTHON_USEDEP}]
dev-python/lazr-config[${PYTHON_USEDEP}]
>=dev-python/python-dateutil-2.0[${PYTHON_USEDEP}]
dev-python/passlib[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
<dev-python/sqlalchemy-1.4[${PYTHON_USEDEP}]
dev-python/zope-component[${PYTHON_USEDEP}]
dev-python/zope-configuration[${PYTHON_USEDEP}]
dev-python/zope-event[${PYTHON_USEDEP}]
>=dev-python/zope-interface-5.0[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
dev-python/flufl-testing[${PYTHON_USEDEP}]
virtual/python-greenlet[${PYTHON_USEDEP}]
)
"
PATCHES=(
"${FILESDIR}/${P}-py3.9-importlib.patch"
"${FILESDIR}/${P}-fix-click-8.patch"
)
python_test() {
distutils_install_for_testing --via-venv
"${EPYTHON}" -m nose2 -vv || die "Tests failed with ${EPYTHON}"
}
|