1 |
commit: 27eaa6f2f1a014f66fb9435c00631399b8b42e9d |
2 |
Author: Amadeusz Żołnowski <aidecoe <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon May 29 11:37:01 2017 +0000 |
4 |
Commit: Amadeusz Piotr Żołnowski <aidecoe <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon May 29 11:49:13 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27eaa6f2 |
7 |
|
8 |
mail-client/alot: Bump version |
9 |
|
10 |
Package-Manager: Portage-2.3.5, Repoman-2.3.2 |
11 |
|
12 |
mail-client/alot/Manifest | 1 + |
13 |
mail-client/alot/alot-0.5.1.ebuild | 87 ++++++++++++++++++++++ |
14 |
.../0.5.1-0001-Don-t-install-test-suite.patch | 28 +++++++ |
15 |
3 files changed, 116 insertions(+) |
16 |
|
17 |
diff --git a/mail-client/alot/Manifest b/mail-client/alot/Manifest |
18 |
index ea64befd1d0..f9151ecfa95 100644 |
19 |
--- a/mail-client/alot/Manifest |
20 |
+++ b/mail-client/alot/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST alot-0.3.6.tar.gz 1492278 SHA256 b8e6092f18e503a528e934231c448db0e03d00e11d844192ba7eeb483838fee7 SHA512 30037ca1d2c169dda6c1660a24dadee12c6b5858d733ec7cd78e49d633850eecb763852c16565340596e32a6831ff8c36764d3f812de7f7947584defe05322b4 WHIRLPOOL cd4aab9dd84a441b92f5d4c62c783d58d8c4fafca614bf8bf462c1b3f0ffb4266e083380712b16f9469a0b418af1672625a21a6ae1f82f6623c6c22e005be6e9 |
23 |
DIST alot-0.3.7.tar.gz 1475759 SHA256 fe281f6b5fbfcd371a1810c8f59084e8cbc3f69068269e3f787adb1df6f977b5 SHA512 a0b7e5a7b77f8cdee38c273eec2822bee2e7c409ab4b8803817a49d679dd53ff29750ba7f8a9214368cc7b0b17bd76a40b0263b4701b2ef695c7669316b1b116 WHIRLPOOL 3c37a037fc5543ff569f6a5364302462f71f5599c14d17661707cd4beb0e2a8597098dd4f4a42aec27793ace7095bba4eb80c35ed5fd8e470f6b7b9dbbecc46e |
24 |
+DIST alot-0.5.1.tar.gz 1490645 SHA256 e8404db01bfe41030f7df9f559ac6c61edc473bfc1ae86bcb58c4018703352c7 SHA512 0194f163724fc5485aa89fe5354d16bdfdd3f539f6f3cfdb715e61835f3e632b8ac0daed44983a95c20eb0244c44c1d7801d262a5fd16ad63c3efd046e05b787 WHIRLPOOL 2539956ab4f286c0db27837f5897f3dd8868c07422aca2845df76da8d0c2aa3b5915ec8de0b35d78f8f296406adb6d31c4d47b00c2c74a7453630e936d4aee98 |
25 |
|
26 |
diff --git a/mail-client/alot/alot-0.5.1.ebuild b/mail-client/alot/alot-0.5.1.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..868e96638b9 |
29 |
--- /dev/null |
30 |
+++ b/mail-client/alot/alot-0.5.1.ebuild |
31 |
@@ -0,0 +1,87 @@ |
32 |
+# Copyright 1999-2017 Gentoo Foundation |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=5 |
36 |
+ |
37 |
+PYTHON_COMPAT=( python2_7 ) |
38 |
+ |
39 |
+inherit distutils-r1 vcs-snapshot |
40 |
+ |
41 |
+DESCRIPTION="Experimental terminal UI for net-mail/notmuch written in Python" |
42 |
+HOMEPAGE="https://github.com/pazz/alot" |
43 |
+SRC_URI="${HOMEPAGE}/tarball/${PV} -> ${P}.tar.gz" |
44 |
+ |
45 |
+LICENSE="GPL-3" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~amd64 ~x86" |
48 |
+IUSE="doc test" |
49 |
+ |
50 |
+DEPEND=" |
51 |
+ doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) |
52 |
+ test? ( dev-python/mock[${PYTHON_USEDEP}] ) |
53 |
+ " |
54 |
+RDEPEND=" |
55 |
+ >=dev-python/configobj-4.7.0[${PYTHON_USEDEP}] |
56 |
+ >=dev-python/pygpgme-0.2[${PYTHON_USEDEP}] |
57 |
+ dev-python/python-magic[${PYTHON_USEDEP}] |
58 |
+ >=dev-python/twisted-core-10.2.0[${PYTHON_USEDEP}] |
59 |
+ >=dev-python/urwid-1.1.0[${PYTHON_USEDEP}] |
60 |
+ >=dev-python/urwidtrees-1.0[${PYTHON_USEDEP}] |
61 |
+ net-mail/mailbase |
62 |
+ >=net-mail/notmuch-0.13[crypt,python] |
63 |
+ " |
64 |
+PATCHES=( "${FILESDIR}"/0.5.1-0001-Don-t-install-test-suite.patch ) |
65 |
+ |
66 |
+ALOT_UPDATE="" |
67 |
+ |
68 |
+pkg_setup() { |
69 |
+ if has_version "<${CATEGORY}/${PN}-0.3.2"; then |
70 |
+ ALOT_UPDATE="yes" |
71 |
+ fi |
72 |
+} |
73 |
+ |
74 |
+src_prepare() { |
75 |
+ find "${S}" -name '*.py' -print0 | xargs -0 -- sed \ |
76 |
+ -e '1i# -*- coding: utf-8 -*-' -i || die |
77 |
+ |
78 |
+ distutils-r1_src_prepare |
79 |
+ |
80 |
+ local md |
81 |
+ for md in *.md; do |
82 |
+ mv "${md}" "${md%.md}" |
83 |
+ done |
84 |
+} |
85 |
+ |
86 |
+src_compile() { |
87 |
+ distutils-r1_src_compile |
88 |
+ |
89 |
+ if use doc; then |
90 |
+ pushd docs || die |
91 |
+ emake html |
92 |
+ popd || die |
93 |
+ fi |
94 |
+} |
95 |
+ |
96 |
+src_install() { |
97 |
+ distutils-r1_src_install |
98 |
+ |
99 |
+ dodir /usr/share/alot |
100 |
+ insinto /usr/share/alot |
101 |
+ doins -r extra |
102 |
+ |
103 |
+ if use doc; then |
104 |
+ dohtml -r docs/build/html/* |
105 |
+ fi |
106 |
+} |
107 |
+ |
108 |
+pkg_postinst() { |
109 |
+ if [[ ${ALOT_UPDATE} = yes ]]; then |
110 |
+ ewarn "The syntax of theme-files and custom tags-sections of the config" |
111 |
+ ewarn "has been changed. You have to revise your config. There are" |
112 |
+ ewarn "converter scripts in /usr/share/alot/extra to help you out with" |
113 |
+ ewarn "this:" |
114 |
+ ewarn "" |
115 |
+ ewarn " * tagsections_convert.py for your ~/.config/alot/config" |
116 |
+ ewarn " * theme_convert.py to update your custom theme files" |
117 |
+ fi |
118 |
+} |
119 |
|
120 |
diff --git a/mail-client/alot/files/0.5.1-0001-Don-t-install-test-suite.patch b/mail-client/alot/files/0.5.1-0001-Don-t-install-test-suite.patch |
121 |
new file mode 100644 |
122 |
index 00000000000..cbe0bedb4be |
123 |
--- /dev/null |
124 |
+++ b/mail-client/alot/files/0.5.1-0001-Don-t-install-test-suite.patch |
125 |
@@ -0,0 +1,28 @@ |
126 |
+From 8af6cea015eeea61a3421b4f98ee4ba12f6c9b17 Mon Sep 17 00:00:00 2001 |
127 |
+From: =?UTF-8?q?Amadeusz=20=C5=BBo=C5=82nowski?= <aidecoe@×××××××.name> |
128 |
+Date: Mon, 29 May 2017 12:10:15 +0100 |
129 |
+Subject: [PATCH] Don't install test suite |
130 |
+ |
131 |
+See |
132 |
+<http://setuptools.readthedocs.io/en/latest/setuptools.html?highlight=find_packages#using-find-packages> |
133 |
+for example patterns. |
134 |
+--- |
135 |
+ setup.py | 2 +- |
136 |
+ 1 file changed, 1 insertion(+), 1 deletion(-) |
137 |
+ |
138 |
+diff --git a/setup.py b/setup.py |
139 |
+index a3f6f90..b4533f7 100755 |
140 |
+--- a/setup.py |
141 |
++++ b/setup.py |
142 |
+@@ -11,7 +11,7 @@ setup(name='alot', |
143 |
+ author_email=alot.__author_email__, |
144 |
+ url=alot.__url__, |
145 |
+ license=alot.__copyright__, |
146 |
+- packages=find_packages(), |
147 |
++ packages=find_packages(exclude=["tests.*", "tests"]), |
148 |
+ package_data={'alot': [ |
149 |
+ 'defaults/alot.rc.spec', |
150 |
+ 'defaults/notmuch.rc.spec', |
151 |
+-- |
152 |
+2.12.2 |
153 |
+ |