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 6B716138334 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 68FC2E0867; Mon, 2 Dec 2019 20:14:51 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 4E7ABE0867 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 D338F34D6DC for ; Mon, 2 Dec 2019 20:14:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 414D6778 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: <1575317204.123fbb00361b61e5f12df1de267b7de4e7ae9d9c.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.ebuild X-VCS-Directories: mail-client/aerc/ X-VCS-Committer: gyakovlev X-VCS-Committer-Name: Georgy Yakovlev X-VCS-Revision: 123fbb00361b61e5f12df1de267b7de4e7ae9d9c 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: dddc28b2-d049-4688-9caf-c82a7a7b0985 X-Archives-Hash: 653687ea1e652364f41766449aa00b54 commit: 123fbb00361b61e5f12df1de267b7de4e7ae9d9c Author: William Hubbs gentoo org> AuthorDate: Mon Dec 2 14:53:26 2019 +0000 Commit: Georgy Yakovlev gentoo org> CommitDate: Mon Dec 2 20:06:44 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=123fbb00 mail-client/aerc: migrate 0.3.0 to go-module This moves to the go-module eclass. Signed-off-by: William Hubbs gentoo.org> Signed-off-by: Georgy Yakovlev gentoo.org> mail-client/aerc/aerc-0.3.0.ebuild | 28 ++++++++-------------------- 1 file changed, 8 insertions(+), 20 deletions(-) diff --git a/mail-client/aerc/aerc-0.3.0.ebuild b/mail-client/aerc/aerc-0.3.0.ebuild index ade427fddc8..96e7daa4563 100644 --- a/mail-client/aerc/aerc-0.3.0.ebuild +++ b/mail-client/aerc/aerc-0.3.0.ebuild @@ -3,8 +3,12 @@ EAPI=7 +inherit go-module + +DESCRIPTION="Email client for your terminal" +HOMEPAGE="https://aerc-mail.org" + # go list -m all | magic -EGO_PN="git.sr.ht/~sircmpwn/aerc" EGO_VENDOR=( "git.sr.ht/~sircmpwn/getopt 292febf82fd0 git.sr.ht/~sircmpwn/getopt" "git.sr.ht/~sircmpwn/pty 3a43678975a9 git.sr.ht/~sircmpwn/pty" @@ -44,38 +48,22 @@ EGO_VENDOR=( "google.golang.org/appengine v1.6.1 github.com/golang/appengine" ) -inherit golang-vcs-snapshot - -DESCRIPTION="Email client for your terminal" -HOMEPAGE="https://aerc-mail.org" SRC_URI="https://git.sr.ht/~sircmpwn/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz - ${EGO_VENDOR_URI}" + $(go-module_vendor_uris)" LICENSE="Apache-2.0 BSD BSD-2 MIT" SLOT="0" KEYWORDS="~amd64 ~ppc64" -IUSE="" RDEPEND=" net-proxy/dante www-client/w3m " -BDEPEND=" - >=app-text/scdoc-1.9.7 - >=dev-lang/go-1.12 -" - -src_prepare() { - # needed to workaround go's assumptions about modules, GOPATH and dir sctructure - mv -v "src/${EGO_PN}"/* ./ || die - rm -rv src || die - - eapply_user -} +BDEPEND=">=app-text/scdoc-1.9.7" src_compile() { - GOFLAGS="-mod=vendor -v -work -x" emake PREFIX="${EPREFIX}/usr" + emake PREFIX="${EPREFIX}/usr" } src_install() {