From 401101f9c8077911929d3f2b60a37098460a5d89 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 24 Mar 2022 23:59:54 +0000 Subject: gentoo resync : 25.03.2022 --- mail-client/alot/alot-9999.ebuild | 29 +++++++++++++---------------- 1 file changed, 13 insertions(+), 16 deletions(-) (limited to 'mail-client/alot/alot-9999.ebuild') diff --git a/mail-client/alot/alot-9999.ebuild b/mail-client/alot/alot-9999.ebuild index 87b22470c579..dd3c5c8130c7 100644 --- a/mail-client/alot/alot-9999.ebuild +++ b/mail-client/alot/alot-9999.ebuild @@ -1,13 +1,15 @@ # Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 -DISTUTILS_USE_SETUPTOOLS=rdepend -PYTHON_COMPAT=( python3_{7,8,9} ) +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10} ) inherit distutils-r1 +DESCRIPTION="Experimental terminal UI for net-mail/notmuch written in Python" +HOMEPAGE="https://github.com/pazz/alot" if [[ ${PV} == "9999" ]]; then EGIT_REPO_URI="https://github.com/pazz/alot/" inherit git-r3 @@ -16,13 +18,9 @@ else KEYWORDS="~amd64 ~x86" fi -DESCRIPTION="Experimental terminal UI for net-mail/notmuch written in Python" -HOMEPAGE="https://github.com/pazz/alot" - LICENSE="GPL-3" SLOT="0" -IUSE="doc test" -RESTRICT="!test? ( test )" +IUSE="doc" RDEPEND=" app-crypt/gpgme[python,${PYTHON_USEDEP}] @@ -30,24 +28,23 @@ RDEPEND=" dev-python/python-magic[${PYTHON_USEDEP}] dev-python/urwid[${PYTHON_USEDEP}] dev-python/urwidtrees[${PYTHON_USEDEP}] - >=dev-python/twisted-18.4[${PYTHON_USEDEP}] + dev-python/twisted[${PYTHON_USEDEP}] net-mail/mailbase - net-mail/notmuch[crypt,python] + net-mail/notmuch[crypt,python,${PYTHON_USEDEP}] " -DEPEND=" - doc? ( - dev-python/sphinx[${PYTHON_USEDEP}] - ) +BDEPEND=" + dev-python/sphinx[${PYTHON_USEDEP}] test? ( dev-python/mock[${PYTHON_USEDEP}] ) " PATCHES=( - "${FILESDIR}/${PV}-0001-remove-non-working-test.patch" + "${FILESDIR}/0.9-0001-remove-non-working-test.patch" + "${FILESDIR}/${PN}-0.10-no-intersphinx-docs.patch" ) -distutils_enable_tests setup.py +distutils_enable_tests unittest python_compile_all() { emake -C docs man -- cgit v1.2.3