public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Georgy Yakovlev" <gyakovlev@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: mail-client/aerc/
Date: Mon,  2 Dec 2019 20:14:47 +0000 (UTC)	[thread overview]
Message-ID: <1575317204.123fbb00361b61e5f12df1de267b7de4e7ae9d9c.gyakovlev@gentoo> (raw)

commit:     123fbb00361b61e5f12df1de267b7de4e7ae9d9c
Author:     William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Mon Dec  2 14:53:26 2019 +0000
Commit:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> 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 <williamh <AT> gentoo.org>
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> 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() {


             reply	other threads:[~2019-12-02 20:14 UTC|newest]

Thread overview: 44+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-02 20:14 Georgy Yakovlev [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-08-07 13:46 [gentoo-commits] repo/gentoo:master commit in: mail-client/aerc/ William Hubbs
2024-08-07 13:44 William Hubbs
2024-07-18 17:35 William Hubbs
2024-07-18 17:35 William Hubbs
2024-05-03  9:37 Arthur Zamarin
2024-05-03  9:37 Arthur Zamarin
2023-11-10 17:24 William Hubbs
2023-05-25 15:20 William Hubbs
2023-05-25 15:20 William Hubbs
2023-01-11 19:49 William Hubbs
2023-01-11 19:24 William Hubbs
2022-09-20  4:06 William Hubbs
2022-09-20  2:04 William Hubbs
2022-09-13 17:02 William Hubbs
2022-08-14 20:06 Sam James
2022-07-16 19:38 William Hubbs
2022-05-24 14:03 Joonas Niilola
2022-05-24 14:03 Joonas Niilola
2022-05-11 15:48 William Hubbs
2022-04-03 16:20 William Hubbs
2022-03-19 16:54 William Hubbs
2022-03-06 16:10 William Hubbs
2022-03-06 15:43 William Hubbs
2022-02-27  2:48 William Hubbs
2022-02-11  6:26 William Hubbs
2022-02-11  6:26 William Hubbs
2021-02-21 23:09 William Hubbs
2021-01-11 15:41 William Hubbs
2020-07-11 15:51 William Hubbs
2020-07-11  6:03 Georgy Yakovlev
2020-06-11  2:00 Georgy Yakovlev
2020-05-20  6:16 Georgy Yakovlev
2020-05-20  6:16 Georgy Yakovlev
2020-05-20  6:16 Georgy Yakovlev
2020-03-22 19:07 William Hubbs
2020-03-05  6:09 Georgy Yakovlev
2019-12-11  1:50 Georgy Yakovlev
2019-12-02 20:14 Georgy Yakovlev
2019-12-02 20:14 Georgy Yakovlev
2019-11-21 23:11 Georgy Yakovlev
2019-08-17  2:06 Georgy Yakovlev
2019-08-01 16:37 Georgy Yakovlev
2019-08-01  7:03 Georgy Yakovlev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1575317204.123fbb00361b61e5f12df1de267b7de4e7ae9d9c.gyakovlev@gentoo \
    --to=gyakovlev@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox