1 |
commit: 713b872dd7a981692b1c8d8ca776068cbfbdd9a2 |
2 |
Author: Guillaume Seren <guillaumeseren <AT> gmail <DOT> com> |
3 |
AuthorDate: Wed Mar 27 09:33:01 2019 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jul 5 10:47:23 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=713b872d |
7 |
|
8 |
mail-client/alot: Add version bump to 0.8.1 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/681842 |
11 |
Signed-off-by: Guillaume Seren <guillaumeseren <AT> gmail.com> |
12 |
Package-Manager: Portage-2.3.62, Repoman-2.3.11 |
13 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
14 |
|
15 |
mail-client/alot/Manifest | 1 + |
16 |
mail-client/alot/alot-0.8.1.ebuild | 81 ++++++++++++++++++++++ |
17 |
.../files/0.8.1-0001-remove-non-working-test.patch | 31 +++++++++ |
18 |
3 files changed, 113 insertions(+) |
19 |
|
20 |
diff --git a/mail-client/alot/Manifest b/mail-client/alot/Manifest |
21 |
index ebf3ec61eb1..791931f3a5d 100644 |
22 |
--- a/mail-client/alot/Manifest |
23 |
+++ b/mail-client/alot/Manifest |
24 |
@@ -2,3 +2,4 @@ DIST alot-0.3.7.tar.gz 1475759 BLAKE2B d14ba03f86dfb04f16644f27286e6a7314d0559b3 |
25 |
DIST alot-0.5.1.tar.gz 1490645 BLAKE2B fd63ff7191fba3ee7fa3cf362cad9d684513fd6180263a2b888ee2cc00d55ca5442e273ed1b4e4012106db67404715eff4302ea25b89343ca0f467953402de33 SHA512 0194f163724fc5485aa89fe5354d16bdfdd3f539f6f3cfdb715e61835f3e632b8ac0daed44983a95c20eb0244c44c1d7801d262a5fd16ad63c3efd046e05b787 |
26 |
DIST alot-0.6.tar.gz 1527183 BLAKE2B 60e06d806bf5bfacdec485c3bcde6a5473bce2093abcc20d5e105b40f6d78bf93773c3b54311fdbbb632abe724a410d8941cfb0018842ee445ccea64c73a5033 SHA512 300b99d4919dd59d569de49195e33a3224bc28fbddf0b2aa6e3b419e030a22ec2d9acf389d67eb062cad9f2cd85f019cd6dff23e724491718e246397e70ed059 |
27 |
DIST alot-0.7.tar.gz 1539283 BLAKE2B 33e77f815c4f83fc08f1834a89a984309c1d4b89454d9bb0df625d00725c64769ce4989fa8df8f38d40d1c35fb78202880fedc0a0a5e7134f1938a03c79e7721 SHA512 542827c94e6cfc57699613b352527582dc2e365d957ba6b7e835584e8b83d0704452acd5ab8e4e1e408c283ec3400a8bbe465b2a8fad9f95fb330328c4fe81f8 |
28 |
+DIST alot-0.8.1.tar.gz 220342 BLAKE2B 019f41f1f1fe73aa17a309a73b12883cbbae6a232d912d0e328b3862fc4e8e49ea6a3d0b6e2921ecb4d6ee8a58a9f6826facd7ff4cd6fafc17f6f5fe0195dd2c SHA512 bca4a01636594f0e71c6ea260d74cf26e74dfd7aca1ea7801714b4aaf9602ae7737769e77e3af0363ed2701df1494e0f87ce85b58c47a6380ad1a9098f8501d4 |
29 |
|
30 |
diff --git a/mail-client/alot/alot-0.8.1.ebuild b/mail-client/alot/alot-0.8.1.ebuild |
31 |
new file mode 100644 |
32 |
index 00000000000..87ddb352ed6 |
33 |
--- /dev/null |
34 |
+++ b/mail-client/alot/alot-0.8.1.ebuild |
35 |
@@ -0,0 +1,81 @@ |
36 |
+# Copyright 1999-2019 Gentoo Authors |
37 |
+# Distributed under the terms of the GNU General Public License v2 |
38 |
+ |
39 |
+EAPI=7 |
40 |
+ |
41 |
+PYTHON_COMPAT=( python3_{5,6} ) |
42 |
+ |
43 |
+inherit distutils-r1 |
44 |
+ |
45 |
+DESCRIPTION="Experimental terminal UI for net-mail/notmuch written in Python" |
46 |
+HOMEPAGE="https://github.com/pazz/alot" |
47 |
+SRC_URI="https://github.com/pazz/alot/archive/${PV}.tar.gz -> ${P}.tar.gz" |
48 |
+ |
49 |
+LICENSE="GPL-3" |
50 |
+SLOT="0" |
51 |
+KEYWORDS="~amd64 ~x86" |
52 |
+IUSE="doc test" |
53 |
+ |
54 |
+RDEPEND=" |
55 |
+ >=app-crypt/gpgme-1.9.0[python,${PYTHON_USEDEP}] |
56 |
+ >=dev-python/configobj-4.7.0[${PYTHON_USEDEP}] |
57 |
+ dev-python/python-magic[${PYTHON_USEDEP}] |
58 |
+ >=dev-python/urwid-1.3.0[${PYTHON_USEDEP}] |
59 |
+ >=dev-python/urwidtrees-1.0[${PYTHON_USEDEP}] |
60 |
+ dev-python/twisted[${PYTHON_USEDEP}] |
61 |
+ net-mail/mailbase |
62 |
+ >=net-mail/notmuch-0.27[crypt,python] |
63 |
+ " |
64 |
+DEPEND=" |
65 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
66 |
+ doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) |
67 |
+ test? ( |
68 |
+ ${RDEPEND} |
69 |
+ dev-python/mock[${PYTHON_USEDEP}] |
70 |
+ ) |
71 |
+ " |
72 |
+ |
73 |
+PATCHES=( |
74 |
+ "${FILESDIR}/${PV}-0001-remove-non-working-test.patch" |
75 |
+ ) |
76 |
+ |
77 |
+python_compile_all() { |
78 |
+ if use doc; then |
79 |
+ emake -C docs html |
80 |
+ HTML_DOCS=( docs/build/html/. ) |
81 |
+ fi |
82 |
+} |
83 |
+ |
84 |
+src_test() { |
85 |
+ esetup.py test |
86 |
+} |
87 |
+ |
88 |
+python_install_all() { |
89 |
+ distutils-r1_python_install_all |
90 |
+ |
91 |
+ insinto /usr/share/alot |
92 |
+ doins -r extra |
93 |
+} |
94 |
+ |
95 |
+pkg_postinst() { |
96 |
+ if [[ -z ${REPLACING_VERSIONS} ]] ; then |
97 |
+ elog "" |
98 |
+ elog "If you are new to Alot you may want to take a look at" |
99 |
+ elog "the user manual:" |
100 |
+ elog " https://alot.readthedocs.io/en/latest/" |
101 |
+ elog "" |
102 |
+ else |
103 |
+ local rv |
104 |
+ for rv in ${REPLACING_VERSIONS} ; do |
105 |
+ if ver_test "${rv}" -le "0.5.1"; then |
106 |
+ ewarn "" |
107 |
+ ewarn "Since 0.6 version the GPG engine has switched to app-crypt/gpgme" |
108 |
+ ewarn "to use GPG signing operations, you can pass the key id has arg" |
109 |
+ ewarn "or setup the gpg_key value in your config file, see" |
110 |
+ ewarn " https://alot.readthedocs.io/en/latest/usage/crypto.html?highlight=gpg" |
111 |
+ ewarn "" |
112 |
+ break |
113 |
+ fi |
114 |
+ done |
115 |
+ fi |
116 |
+} |
117 |
|
118 |
diff --git a/mail-client/alot/files/0.8.1-0001-remove-non-working-test.patch b/mail-client/alot/files/0.8.1-0001-remove-non-working-test.patch |
119 |
new file mode 100644 |
120 |
index 00000000000..489c54d9bd4 |
121 |
--- /dev/null |
122 |
+++ b/mail-client/alot/files/0.8.1-0001-remove-non-working-test.patch |
123 |
@@ -0,0 +1,31 @@ |
124 |
+From f83bc02ff427508d69ffccb908fd2eaa5a7144c1 Mon Sep 17 00:00:00 2001 |
125 |
+From: Guillaume Seren <guillaumeseren@×××××.com> |
126 |
+Date: Fri, 3 May 2019 18:17:05 +0200 |
127 |
+Subject: [PATCH] Remove non working test |
128 |
+ |
129 |
+Some test are not working |
130 |
+--- |
131 |
+ tests/commands/test_global.py | 7 ------- |
132 |
+ 1 file changed, 7 deletions(-) |
133 |
+ |
134 |
+diff --git a/tests/commands/test_global.py b/tests/commands/test_global.py |
135 |
+index 9b026e6a..727a4d41 100644 |
136 |
+--- a/tests/commands/test_global.py |
137 |
++++ b/tests/commands/test_global.py |
138 |
+@@ -166,13 +166,6 @@ class TestExternalCommand(unittest.TestCase): |
139 |
+ await cmd.apply(ui) |
140 |
+ ui.notify.assert_not_called() |
141 |
+ |
142 |
+- @utilities.async_test |
143 |
+- async def test_no_spawn_no_stdin_attached(self): |
144 |
+- ui = utilities.make_ui() |
145 |
+- cmd = g_commands.ExternalCommand(u'test -t 0', refocus=False) |
146 |
+- await cmd.apply(ui) |
147 |
+- ui.notify.assert_not_called() |
148 |
+- |
149 |
+ @utilities.async_test |
150 |
+ async def test_no_spawn_stdin_attached(self): |
151 |
+ ui = utilities.make_ui() |
152 |
+-- |
153 |
+2.21.0 |
154 |
+ |