diff options
Diffstat (limited to 'mail-client')
-rw-r--r-- | mail-client/alot/alot-0.9.1.ebuild | 11 | ||||
-rw-r--r-- | mail-client/alot/alot-9999.ebuild | 15 |
2 files changed, 14 insertions, 12 deletions
diff --git a/mail-client/alot/alot-0.9.1.ebuild b/mail-client/alot/alot-0.9.1.ebuild index 357d11a52062..4dc9fef85ee8 100644 --- a/mail-client/alot/alot-0.9.1.ebuild +++ b/mail-client/alot/alot-0.9.1.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 DISTUTILS_USE_SETUPTOOLS=rdepend -PYTHON_COMPAT=( python3_{7,8} ) +PYTHON_COMPAT=( python3_{7,8,9} ) inherit distutils-r1 @@ -26,9 +26,12 @@ RDEPEND=" dev-python/twisted[${PYTHON_USEDEP}] net-mail/mailbase net-mail/notmuch[crypt,python,${PYTHON_USEDEP}] - " +" BDEPEND=" dev-python/sphinx[${PYTHON_USEDEP}] + test? ( + dev-python/mock[${PYTHON_USEDEP}] + ) " PATCHES=( @@ -37,8 +40,6 @@ PATCHES=( distutils_enable_tests unittest -BDEPEND+=" test? ( dev-python/mock[${PYTHON_USEDEP}] ) " - python_compile_all() { emake -C docs man use doc && emake -C docs html diff --git a/mail-client/alot/alot-9999.ebuild b/mail-client/alot/alot-9999.ebuild index 57b2fe26c31e..497e1230e10c 100644 --- a/mail-client/alot/alot-9999.ebuild +++ b/mail-client/alot/alot-9999.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 DISTUTILS_USE_SETUPTOOLS=rdepend -PYTHON_COMPAT=( python3_{7,8} ) +PYTHON_COMPAT=( python3_{7,8,9} ) inherit distutils-r1 @@ -33,19 +33,20 @@ RDEPEND=" >=dev-python/twisted-18.4[${PYTHON_USEDEP}] net-mail/mailbase net-mail/notmuch[crypt,python] - " +" DEPEND=" - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) + doc? ( + dev-python/sphinx[${PYTHON_USEDEP}] + ) test? ( - ${RDEPEND} dev-python/mock[${PYTHON_USEDEP}] ) - " +" PATCHES=( "${FILESDIR}/${PV}-0001-remove-non-working-test.patch" "${FILESDIR}/${PV}-0002-update-reference-to-envelope-body.patch" - ) +) distutils_enable_tests setup.py |