Gentoo Archives: gentoo-commits

From: Georgy Yakovlev <gyakovlev@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: mail-client/aerc/
Date: Mon, 02 Dec 2019 20:14:52
Message-Id: 1575317629.49cb21778ec65fb4bdb7894f6514666b011fda7f.gyakovlev@gentoo
1 commit: 49cb21778ec65fb4bdb7894f6514666b011fda7f
2 Author: William Hubbs <williamh <AT> gentoo <DOT> org>
3 AuthorDate: Mon Dec 2 15:09:13 2019 +0000
4 Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
5 CommitDate: Mon Dec 2 20:13:49 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49cb2177
7
8 mail-client/aerc: 0.3.0-r1 revbump to drop optional rdepends
9
10 The default configuration of aerc does not render html email through
11 dante/w3m so drop the dependencies on them and add a postinst message.
12
13 Closes: https://bugs.gentoo.org/701770
14
15 Signed-off-by: William Hubbs <williamh <AT> gentoo.org>
16 Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
17
18 mail-client/aerc/aerc-0.3.0-r1.ebuild | 85 +++++++++++++++++++++++++++++++++++
19 1 file changed, 85 insertions(+)
20
21 diff --git a/mail-client/aerc/aerc-0.3.0-r1.ebuild b/mail-client/aerc/aerc-0.3.0-r1.ebuild
22 new file mode 100644
23 index 00000000000..58fbbeb85dd
24 --- /dev/null
25 +++ b/mail-client/aerc/aerc-0.3.0-r1.ebuild
26 @@ -0,0 +1,85 @@
27 +# Copyright 2019 Gentoo Authors
28 +# Distributed under the terms of the GNU General Public License v2
29 +
30 +EAPI=7
31 +
32 +inherit go-module
33 +
34 +DESCRIPTION="Email client for your terminal"
35 +HOMEPAGE="https://aerc-mail.org"
36 +
37 +# go list -m all | magic
38 +EGO_VENDOR=(
39 + "git.sr.ht/~sircmpwn/getopt 292febf82fd0 git.sr.ht/~sircmpwn/getopt"
40 + "git.sr.ht/~sircmpwn/pty 3a43678975a9 git.sr.ht/~sircmpwn/pty"
41 + "github.com/danwakefield/fnmatch cbb64ac3d964"
42 + "github.com/davecgh/go-spew v1.1.1"
43 + "github.com/ddevault/go-libvterm b7d861da3810"
44 + "github.com/emersion/go-imap v1.0.0"
45 + "github.com/emersion/go-imap-idle 2704abd7050e"
46 + "github.com/emersion/go-maildir 941194b0ac70"
47 + "github.com/emersion/go-message v0.10.7"
48 + "github.com/emersion/go-sasl 240c8404624e"
49 + "github.com/emersion/go-smtp v0.11.2"
50 + "github.com/emersion/go-textwrapper d0e65e56babe"
51 + "github.com/fsnotify/fsnotify v1.4.7"
52 + "github.com/gdamore/encoding v1.0.0"
53 + "github.com/gdamore/tcell 3fdb6bc01a50 git.sr.ht/~sircmpwn/tcell" # fork
54 + "github.com/go-ini/ini v1.44.0"
55 + "github.com/golang/protobuf v1.3.2"
56 + "github.com/google/shlex c34317bd91bf"
57 + "github.com/kyoh86/xdg v1.0.0"
58 + "github.com/lucasb-eyer/go-colorful v1.0.2"
59 + "github.com/martinlindhe/base36 v1.0.0"
60 + "github.com/mattn/go-isatty v0.0.8"
61 + "github.com/mattn/go-pointer 49522c3f3791"
62 + "github.com/mattn/go-runewidth v0.0.4"
63 + "github.com/miolini/datacounter aa48df3a02c1"
64 + "github.com/mitchellh/go-homedir v1.1.0"
65 + "github.com/pkg/errors v0.8.1"
66 + "github.com/pmezard/go-difflib v1.0.0"
67 + "github.com/riywo/loginshell 2ed199a032f6"
68 + "github.com/stretchr/testify v1.3.0"
69 + "github.com/zenhack/go.notmuch 5a1961965cfb"
70 + "golang.org/x/net 74dc4d7220e7 github.com/golang/net"
71 + "golang.org/x/oauth2 0f29369cfe45 github.com/golang/oauth2"
72 + "golang.org/x/sys fde4db37ae7a github.com/golang/sys"
73 + "golang.org/x/text v0.3.2 github.com/golang/text"
74 + "google.golang.org/appengine v1.6.1 github.com/golang/appengine"
75 +)
76 +
77 +SRC_URI="https://git.sr.ht/~sircmpwn/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz
78 + $(go-module_vendor_uris)"
79 +
80 +LICENSE="Apache-2.0 BSD BSD-2 MIT"
81 +SLOT="0"
82 +KEYWORDS="~amd64 ~ppc64"
83 +
84 +BDEPEND=">=app-text/scdoc-1.9.7"
85 +
86 +src_compile() {
87 + emake PREFIX="${EPREFIX}/usr"
88 +}
89 +
90 +src_install() {
91 + emake PREFIX="${EPREFIX}/usr" DESTDIR="${ED}" install
92 + einstalldocs
93 +}
94 +
95 +pkg_postinst() {
96 + if [[ -z ${REPLACING_VERSIONS} ]]; then
97 + elog "If you want to allow your users to activate html email"
98 + elog "processing via w3m as shown in the tutorial, make sure you"
99 + elog "emerge net-proxy/dante and www-client/w3m"
100 + fi
101 +
102 + local v
103 + for v in ${REPLACING_VERSIONS}; do
104 + if ver_test $v -lt 0.3.0-r1; then
105 + elog "The dependencies on net-proxy/dante and www-client/w3m"
106 + elog "have been removed since they are optional."
107 + elog "Please emerge them before the next --depclean if you"
108 + elog "need to use them."
109 + fi
110 + done
111 +}