Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: mail-client/alot/
Date: Sat, 27 Feb 2021 20:57:59
Message-Id: 1614459470.829785bac06f96661cce10fe0127c4ae6176dd0a.sam@gentoo
1 commit: 829785bac06f96661cce10fe0127c4ae6176dd0a
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Sat Feb 27 20:40:16 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sat Feb 27 20:57:50 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=829785ba
7
8 mail-client/alot: add Python 3.9
9
10 Signed-off-by: Sam James <sam <AT> gentoo.org>
11
12 mail-client/alot/alot-0.9.1.ebuild | 11 ++++++-----
13 mail-client/alot/alot-9999.ebuild | 15 ++++++++-------
14 2 files changed, 14 insertions(+), 12 deletions(-)
15
16 diff --git a/mail-client/alot/alot-0.9.1.ebuild b/mail-client/alot/alot-0.9.1.ebuild
17 index 357d11a5206..4dc9fef85ee 100644
18 --- a/mail-client/alot/alot-0.9.1.ebuild
19 +++ b/mail-client/alot/alot-0.9.1.ebuild
20 @@ -1,10 +1,10 @@
21 -# Copyright 1999-2020 Gentoo Authors
22 +# Copyright 1999-2021 Gentoo Authors
23 # Distributed under the terms of the GNU General Public License v2
24
25 EAPI=7
26
27 DISTUTILS_USE_SETUPTOOLS=rdepend
28 -PYTHON_COMPAT=( python3_{7,8} )
29 +PYTHON_COMPAT=( python3_{7,8,9} )
30
31 inherit distutils-r1
32
33 @@ -26,9 +26,12 @@ RDEPEND="
34 dev-python/twisted[${PYTHON_USEDEP}]
35 net-mail/mailbase
36 net-mail/notmuch[crypt,python,${PYTHON_USEDEP}]
37 - "
38 +"
39 BDEPEND="
40 dev-python/sphinx[${PYTHON_USEDEP}]
41 + test? (
42 + dev-python/mock[${PYTHON_USEDEP}]
43 + )
44 "
45
46 PATCHES=(
47 @@ -37,8 +40,6 @@ PATCHES=(
48
49 distutils_enable_tests unittest
50
51 -BDEPEND+=" test? ( dev-python/mock[${PYTHON_USEDEP}] ) "
52 -
53 python_compile_all() {
54 emake -C docs man
55 use doc && emake -C docs html
56
57 diff --git a/mail-client/alot/alot-9999.ebuild b/mail-client/alot/alot-9999.ebuild
58 index 57b2fe26c31..497e1230e10 100644
59 --- a/mail-client/alot/alot-9999.ebuild
60 +++ b/mail-client/alot/alot-9999.ebuild
61 @@ -1,10 +1,10 @@
62 -# Copyright 1999-2020 Gentoo Authors
63 +# Copyright 1999-2021 Gentoo Authors
64 # Distributed under the terms of the GNU General Public License v2
65
66 EAPI=7
67
68 DISTUTILS_USE_SETUPTOOLS=rdepend
69 -PYTHON_COMPAT=( python3_{7,8} )
70 +PYTHON_COMPAT=( python3_{7,8,9} )
71
72 inherit distutils-r1
73
74 @@ -33,19 +33,20 @@ RDEPEND="
75 >=dev-python/twisted-18.4[${PYTHON_USEDEP}]
76 net-mail/mailbase
77 net-mail/notmuch[crypt,python]
78 - "
79 +"
80 DEPEND="
81 - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
82 + doc? (
83 + dev-python/sphinx[${PYTHON_USEDEP}]
84 + )
85 test? (
86 - ${RDEPEND}
87 dev-python/mock[${PYTHON_USEDEP}]
88 )
89 - "
90 +"
91
92 PATCHES=(
93 "${FILESDIR}/${PV}-0001-remove-non-working-test.patch"
94 "${FILESDIR}/${PV}-0002-update-reference-to-envelope-body.patch"
95 - )
96 +)
97
98 distutils_enable_tests setup.py