1 |
commit: 72f7a18acb61d77f2b2f2fcf4e0651034bf04bd6 |
2 |
Author: Guillaume Seren <guillaumeseren <AT> gmail <DOT> com> |
3 |
AuthorDate: Fri Feb 23 08:36:25 2018 +0000 |
4 |
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Feb 23 19:50:03 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72f7a18a |
7 |
|
8 |
mail-client/alot: version bump to 0.7. |
9 |
|
10 |
Package-Manager: Portage-2.3.19, Repoman-2.3.6 |
11 |
Closes: https://bugs.gentoo.org/648592 |
12 |
Closes: https://github.com/gentoo/gentoo/pull/7262 |
13 |
|
14 |
mail-client/alot/Manifest | 1 + |
15 |
mail-client/alot/alot-0.7.ebuild | 88 ++++++++++++++++++++++++++++++++++++++++ |
16 |
2 files changed, 89 insertions(+) |
17 |
|
18 |
diff --git a/mail-client/alot/Manifest b/mail-client/alot/Manifest |
19 |
index 74e7437a037..ebf3ec61eb1 100644 |
20 |
--- a/mail-client/alot/Manifest |
21 |
+++ b/mail-client/alot/Manifest |
22 |
@@ -1,3 +1,4 @@ |
23 |
DIST alot-0.3.7.tar.gz 1475759 BLAKE2B d14ba03f86dfb04f16644f27286e6a7314d0559b345d0430226d45430e99f5ed72eb35cad9c576bf88cdccbc83c5265eb09a30efb2254b79d6b85e5a30ef5a49 SHA512 a0b7e5a7b77f8cdee38c273eec2822bee2e7c409ab4b8803817a49d679dd53ff29750ba7f8a9214368cc7b0b17bd76a40b0263b4701b2ef695c7669316b1b116 |
24 |
DIST alot-0.5.1.tar.gz 1490645 BLAKE2B fd63ff7191fba3ee7fa3cf362cad9d684513fd6180263a2b888ee2cc00d55ca5442e273ed1b4e4012106db67404715eff4302ea25b89343ca0f467953402de33 SHA512 0194f163724fc5485aa89fe5354d16bdfdd3f539f6f3cfdb715e61835f3e632b8ac0daed44983a95c20eb0244c44c1d7801d262a5fd16ad63c3efd046e05b787 |
25 |
DIST alot-0.6.tar.gz 1527183 BLAKE2B 60e06d806bf5bfacdec485c3bcde6a5473bce2093abcc20d5e105b40f6d78bf93773c3b54311fdbbb632abe724a410d8941cfb0018842ee445ccea64c73a5033 SHA512 300b99d4919dd59d569de49195e33a3224bc28fbddf0b2aa6e3b419e030a22ec2d9acf389d67eb062cad9f2cd85f019cd6dff23e724491718e246397e70ed059 |
26 |
+DIST alot-0.7.tar.gz 1539283 BLAKE2B 33e77f815c4f83fc08f1834a89a984309c1d4b89454d9bb0df625d00725c64769ce4989fa8df8f38d40d1c35fb78202880fedc0a0a5e7134f1938a03c79e7721 SHA512 542827c94e6cfc57699613b352527582dc2e365d957ba6b7e835584e8b83d0704452acd5ab8e4e1e408c283ec3400a8bbe465b2a8fad9f95fb330328c4fe81f8 |
27 |
|
28 |
diff --git a/mail-client/alot/alot-0.7.ebuild b/mail-client/alot/alot-0.7.ebuild |
29 |
new file mode 100644 |
30 |
index 00000000000..3432cecd6bc |
31 |
--- /dev/null |
32 |
+++ b/mail-client/alot/alot-0.7.ebuild |
33 |
@@ -0,0 +1,88 @@ |
34 |
+# Copyright 1999-2018 Gentoo Foundation |
35 |
+# Distributed under the terms of the GNU General Public License v2 |
36 |
+ |
37 |
+EAPI=6 |
38 |
+ |
39 |
+PYTHON_COMPAT=( python2_7 ) |
40 |
+ |
41 |
+inherit distutils-r1 vcs-snapshot |
42 |
+ |
43 |
+DESCRIPTION="Experimental terminal UI for net-mail/notmuch written in Python" |
44 |
+HOMEPAGE="https://github.com/pazz/alot" |
45 |
+SRC_URI="https://github.com/pazz/alot/tarball/${PV} -> ${P}.tar.gz" |
46 |
+ |
47 |
+LICENSE="GPL-3" |
48 |
+SLOT="0" |
49 |
+KEYWORDS="~amd64 ~x86" |
50 |
+IUSE="doc test" |
51 |
+ |
52 |
+DEPEND=" |
53 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
54 |
+ doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) |
55 |
+ test? ( dev-python/mock[${PYTHON_USEDEP}] ) |
56 |
+ " |
57 |
+RDEPEND=" |
58 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
59 |
+ >=dev-python/configobj-4.7.0[${PYTHON_USEDEP}] |
60 |
+ >=app-crypt/gpgme-1.9.0[python,${PYTHON_USEDEP}] |
61 |
+ dev-python/python-magic[${PYTHON_USEDEP}] |
62 |
+ >=dev-python/twisted-core-10.2.0[${PYTHON_USEDEP}] |
63 |
+ >=dev-python/urwid-1.1.0[${PYTHON_USEDEP}] |
64 |
+ >=dev-python/urwidtrees-1.0[${PYTHON_USEDEP}] |
65 |
+ net-mail/mailbase |
66 |
+ >=net-mail/notmuch-0.13[crypt,python] |
67 |
+ " |
68 |
+ |
69 |
+python_prepare_all() { |
70 |
+ find "${S}" -name '*.py' -exec sed -e '1i# -*- coding: utf-8 -*-' -i '{}' + |
71 |
+ |
72 |
+ distutils-r1_python_prepare_all |
73 |
+} |
74 |
+ |
75 |
+python_compile_all() { |
76 |
+ if use doc; then |
77 |
+ emake -C docs html |
78 |
+ HTML_DOCS=( docs/build/html/. ) |
79 |
+ fi |
80 |
+} |
81 |
+ |
82 |
+python_install_all() { |
83 |
+ distutils-r1_python_install_all |
84 |
+ |
85 |
+ insinto /usr/share/alot |
86 |
+ doins -r extra |
87 |
+} |
88 |
+ |
89 |
+pkg_postinst() { |
90 |
+ if [[ -z ${REPLACING_VERSIONS} ]] ; then |
91 |
+ echo |
92 |
+ elog "If you are new to Alot you may want to take a look at" |
93 |
+ elog "the user manual:" |
94 |
+ elog " https://alot.readthedocs.io/en/latest/" |
95 |
+ echo |
96 |
+ else |
97 |
+ local rv |
98 |
+ for rv in ${REPLACING_VERSIONS} ; do |
99 |
+ if [[ "0.3.2" == "${rv}" ]]; then |
100 |
+ ewarn "" |
101 |
+ ewarn "The syntax of theme-files and custom tags-sections of the config" |
102 |
+ ewarn "has been changed. You have to revise your config. There are" |
103 |
+ ewarn "converter scripts in /usr/share/alot/extra to help you out with" |
104 |
+ ewarn "this:" |
105 |
+ ewarn "" |
106 |
+ ewarn " * tagsections_convert.py for your ~/.config/alot/config" |
107 |
+ ewarn " * theme_convert.py to update your custom theme files" |
108 |
+ break; |
109 |
+ fi |
110 |
+ if [[ "0.5.1" == "${rv}" ]]; then |
111 |
+ ewarn "" |
112 |
+ ewarn "Since 0.6 version the GPG engine has switched to app-crypt/gpgme" |
113 |
+ ewarn "to use GPG signing operations, you can pass the key id has arg" |
114 |
+ ewarn "or setup the gpg_key value in your config file, see" |
115 |
+ ewarn " https://alot.readthedocs.io/en/latest/usage/crypto.html?highlight=gpg" |
116 |
+ ewarn "" |
117 |
+ break; |
118 |
+ fi |
119 |
+ done |
120 |
+ fi |
121 |
+} |