From: Georgy Yakovlev Date: Wed, 20 May 2020 06:11:59 +0000 (-0700) Subject: mail-client/aerc: sync live ebuild X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=dc18db2d242302dd63e401fa3a8f98e2e1a6e7fb;p=gentoo.git mail-client/aerc: sync live ebuild Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Georgy Yakovlev --- diff --git a/mail-client/aerc/aerc-9999.ebuild b/mail-client/aerc/aerc-9999.ebuild index 455ac923f0d7..db3a9c7f1487 100644 --- a/mail-client/aerc/aerc-9999.ebuild +++ b/mail-client/aerc/aerc-9999.ebuild @@ -3,24 +3,43 @@ EAPI=7 -inherit git-r3 go-module +inherit go-module DESCRIPTION="Email client for your terminal" HOMEPAGE="https://aerc-mail.org" -EGIT_REPO_URI="https://git.sr.ht/~sircmpwn/aerc" +if [[ ${PV} == *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://git.sr.ht/~sircmpwn/aerc" +else + EGO_SUM=( + # to be filled on bumps + ) + go-module_set_globals + SRC_URI="https://git.sr.ht/~sircmpwn/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz + ${EGO_SUM_SRC_URI}" + KEYWORDS="~amd64 ~ppc64" +fi LICENSE="Apache-2.0 BSD BSD-2 MIT" SLOT="0" IUSE="notmuch" -BDEPEND=">=app-text/scdoc-1.9.7" +BDEPEND=" + >=app-text/scdoc-1.9.7 + >=dev-lang/go-1.13 +" + DEPEND="notmuch? ( net-mail/notmuch:= )" RDEPEND="${DEPEND}" src_unpack() { - git-r3_src_unpack - go-module_live_vendor + if [[ ${PV} == *9999 ]]; then + git-r3_src_unpack + go-module_live_vendor + else + go-module_src_unpack + fi } src_compile() {