From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id CDAC8138334 for ; Mon, 2 Dec 2019 20:14:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 17FD1E086E; Mon, 2 Dec 2019 20:14:52 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E80EDE086E for ; Mon, 2 Dec 2019 20:14:51 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 14A8C34D6DF for ; Mon, 2 Dec 2019 20:14:50 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 543788AD for ; Mon, 2 Dec 2019 20:14:47 +0000 (UTC) From: "Georgy Yakovlev" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Georgy Yakovlev" Message-ID: <1575317629.49cb21778ec65fb4bdb7894f6514666b011fda7f.gyakovlev@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: mail-client/aerc/ X-VCS-Repository: repo/gentoo X-VCS-Files: mail-client/aerc/aerc-0.3.0-r1.ebuild X-VCS-Directories: mail-client/aerc/ X-VCS-Committer: gyakovlev X-VCS-Committer-Name: Georgy Yakovlev X-VCS-Revision: 49cb21778ec65fb4bdb7894f6514666b011fda7f X-VCS-Branch: master Date: Mon, 2 Dec 2019 20:14:47 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: a6c51c5f-9717-433e-818d-8557e99c029a X-Archives-Hash: 884ad098b163e8bc382941ec299c2f01 commit: 49cb21778ec65fb4bdb7894f6514666b011fda7f Author: William Hubbs gentoo org> AuthorDate: Mon Dec 2 15:09:13 2019 +0000 Commit: Georgy Yakovlev gentoo org> CommitDate: Mon Dec 2 20:13:49 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49cb2177 mail-client/aerc: 0.3.0-r1 revbump to drop optional rdepends The default configuration of aerc does not render html email through dante/w3m so drop the dependencies on them and add a postinst message. Closes: https://bugs.gentoo.org/701770 Signed-off-by: William Hubbs gentoo.org> Signed-off-by: Georgy Yakovlev gentoo.org> mail-client/aerc/aerc-0.3.0-r1.ebuild | 85 +++++++++++++++++++++++++++++++++++ 1 file changed, 85 insertions(+) diff --git a/mail-client/aerc/aerc-0.3.0-r1.ebuild b/mail-client/aerc/aerc-0.3.0-r1.ebuild new file mode 100644 index 00000000000..58fbbeb85dd --- /dev/null +++ b/mail-client/aerc/aerc-0.3.0-r1.ebuild @@ -0,0 +1,85 @@ +# Copyright 2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit go-module + +DESCRIPTION="Email client for your terminal" +HOMEPAGE="https://aerc-mail.org" + +# go list -m all | magic +EGO_VENDOR=( + "git.sr.ht/~sircmpwn/getopt 292febf82fd0 git.sr.ht/~sircmpwn/getopt" + "git.sr.ht/~sircmpwn/pty 3a43678975a9 git.sr.ht/~sircmpwn/pty" + "github.com/danwakefield/fnmatch cbb64ac3d964" + "github.com/davecgh/go-spew v1.1.1" + "github.com/ddevault/go-libvterm b7d861da3810" + "github.com/emersion/go-imap v1.0.0" + "github.com/emersion/go-imap-idle 2704abd7050e" + "github.com/emersion/go-maildir 941194b0ac70" + "github.com/emersion/go-message v0.10.7" + "github.com/emersion/go-sasl 240c8404624e" + "github.com/emersion/go-smtp v0.11.2" + "github.com/emersion/go-textwrapper d0e65e56babe" + "github.com/fsnotify/fsnotify v1.4.7" + "github.com/gdamore/encoding v1.0.0" + "github.com/gdamore/tcell 3fdb6bc01a50 git.sr.ht/~sircmpwn/tcell" # fork + "github.com/go-ini/ini v1.44.0" + "github.com/golang/protobuf v1.3.2" + "github.com/google/shlex c34317bd91bf" + "github.com/kyoh86/xdg v1.0.0" + "github.com/lucasb-eyer/go-colorful v1.0.2" + "github.com/martinlindhe/base36 v1.0.0" + "github.com/mattn/go-isatty v0.0.8" + "github.com/mattn/go-pointer 49522c3f3791" + "github.com/mattn/go-runewidth v0.0.4" + "github.com/miolini/datacounter aa48df3a02c1" + "github.com/mitchellh/go-homedir v1.1.0" + "github.com/pkg/errors v0.8.1" + "github.com/pmezard/go-difflib v1.0.0" + "github.com/riywo/loginshell 2ed199a032f6" + "github.com/stretchr/testify v1.3.0" + "github.com/zenhack/go.notmuch 5a1961965cfb" + "golang.org/x/net 74dc4d7220e7 github.com/golang/net" + "golang.org/x/oauth2 0f29369cfe45 github.com/golang/oauth2" + "golang.org/x/sys fde4db37ae7a github.com/golang/sys" + "golang.org/x/text v0.3.2 github.com/golang/text" + "google.golang.org/appengine v1.6.1 github.com/golang/appengine" +) + +SRC_URI="https://git.sr.ht/~sircmpwn/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz + $(go-module_vendor_uris)" + +LICENSE="Apache-2.0 BSD BSD-2 MIT" +SLOT="0" +KEYWORDS="~amd64 ~ppc64" + +BDEPEND=">=app-text/scdoc-1.9.7" + +src_compile() { + emake PREFIX="${EPREFIX}/usr" +} + +src_install() { + emake PREFIX="${EPREFIX}/usr" DESTDIR="${ED}" install + einstalldocs +} + +pkg_postinst() { + if [[ -z ${REPLACING_VERSIONS} ]]; then + elog "If you want to allow your users to activate html email" + elog "processing via w3m as shown in the tutorial, make sure you" + elog "emerge net-proxy/dante and www-client/w3m" + fi + + local v + for v in ${REPLACING_VERSIONS}; do + if ver_test $v -lt 0.3.0-r1; then + elog "The dependencies on net-proxy/dante and www-client/w3m" + elog "have been removed since they are optional." + elog "Please emerge them before the next --depclean if you" + elog "need to use them." + fi + done +}