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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A55E4158064 for ; Fri, 3 May 2024 09:37:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 533A0E2A9A; Fri, 3 May 2024 09:37:20 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E89D9E2A9C for ; Fri, 3 May 2024 09:37:19 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B2A74343009 for ; Fri, 3 May 2024 09:37:18 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E993819D9 for ; Fri, 3 May 2024 09:37:16 +0000 (UTC) From: "Arthur Zamarin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Arthur Zamarin" Message-ID: <1714729025.73ea972381b383389847ef68941f08216b6465a9.arthurzam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: mail-client/aerc/ X-VCS-Repository: repo/gentoo X-VCS-Files: mail-client/aerc/Manifest mail-client/aerc/aerc-0.17.0.ebuild X-VCS-Directories: mail-client/aerc/ X-VCS-Committer: arthurzam X-VCS-Committer-Name: Arthur Zamarin X-VCS-Revision: 73ea972381b383389847ef68941f08216b6465a9 X-VCS-Branch: master Date: Fri, 3 May 2024 09:37:16 +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: 2f8374dc-582d-4eee-bcc9-09f5e813143f X-Archives-Hash: be6aad38164429165d657ddbbc728605 commit: 73ea972381b383389847ef68941f08216b6465a9 Author: Arthur Zamarin gentoo org> AuthorDate: Fri May 3 09:29:41 2024 +0000 Commit: Arthur Zamarin gentoo org> CommitDate: Fri May 3 09:37:05 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73ea9723 mail-client/aerc: add 0.17.0 Signed-off-by: Arthur Zamarin gentoo.org> mail-client/aerc/Manifest | 2 ++ mail-client/aerc/aerc-0.17.0.ebuild | 70 +++++++++++++++++++++++++++++++++++++ 2 files changed, 72 insertions(+) diff --git a/mail-client/aerc/Manifest b/mail-client/aerc/Manifest index 57df81dbcadb..c409718f51b6 100644 --- a/mail-client/aerc/Manifest +++ b/mail-client/aerc/Manifest @@ -4,3 +4,5 @@ DIST aerc-0.15.2-deps.tar.xz 46530556 BLAKE2B 7ea7fa49dcb38e9fe54e224092cb3aa896 DIST aerc-0.15.2.tar.gz 331263 BLAKE2B 9426fb0b857374913e1da0712e2acab3f155c78b02b5855aac51d460519c31cb768f669da089122402c5e2e555b356334cf755b8ba2dbf9c9c41f3e54c4ef3ff SHA512 8744c6c5ea45fc8ad2ab46367e92d3859fab962843db4329c7655b0afe7b72dbea21dae588d44eab314a31da89d15e5b6543224699556aed31e0b3b9c7b0ddbc DIST aerc-0.16.0-deps.tar.xz 47250564 BLAKE2B 27c3d7b8276ef4b56f14b187ed707ce1e7ad8d2c265a94775da82f04e585b3b6661e6760e38b3d81c8ce0fe15de49e37cd9eec9e97528ee0a7ed3dc94d278adb SHA512 fb8b43dbc7586e0ff0e58117ee04cffdd7f03988530a8d4f05f2adefc7c4f22db9eea1a693f26df8f1ca71490f7e39f6900ceaf8ac735f48bf51937e0afd8ac4 DIST aerc-0.16.0.tar.gz 387833 BLAKE2B b001ea88f07aafba115ffa08f176f4c96f219c86fcaee1aee2eca7d9d7469d861b74376dffc4e5bc2c3110020cc350df64758386e10548b6c1ef95362fcc1181 SHA512 8196424915f8f6dc80bad0f936e34b7f51298665af3579ae8c06699a4f1caf962258185a432909911920ec1eb089c9f178c9086c54c0e799a44e1e0dac907fd8 +DIST aerc-0.17.0-deps.tar.xz 17227844 BLAKE2B b6222043e437ace7ab97c27109711ebe9bd306f08caee83b2236c8c08d653f7dcc0f99f6a2e54c4541c5f4423bfa7099381a7f6cb4a58ff8b647ce964ccd0411 SHA512 8fea417f0c731859496108e4fac052180cb4efc707d61de9b2c55217146aba88a7703cdc4f456e2937df083bfa548e766bc59e3becf7b481e441fc4fc603bf5a +DIST aerc-0.17.0.tar.gz 419228 BLAKE2B 6426f4b4f685ef18d8325eb67a2a06678f8da4d0768e8706362935ebc78b53d6fe3417a8b26d0785c7174d867c538a043bd283d92e70e8f52fd0a0b859739571 SHA512 6648123c37da36f932825e7caec268765bf285124a4473055b86ac48cfa937a250b03d2404764c2c93a978bb56dc9279550e5bf66aa0ff09f90525c5ead7c062 diff --git a/mail-client/aerc/aerc-0.17.0.ebuild b/mail-client/aerc/aerc-0.17.0.ebuild new file mode 100644 index 000000000000..79f2c7bfe772 --- /dev/null +++ b/mail-client/aerc/aerc-0.17.0.ebuild @@ -0,0 +1,70 @@ +# Copyright 2019-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit go-module xdg + +DESCRIPTION="Email client for your terminal" +HOMEPAGE="https://aerc-mail.org" + +if [[ ${PV} == *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://git.sr.ht/~rjarry/aerc" +else + SRC_URI="https://git.sr.ht/~rjarry/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + SRC_URI+=" https://dev.gentoo.org/~arthurzam/distfiles/mail-client/${PN}/${P}-deps.tar.xz" + KEYWORDS="~amd64 ~ppc64" +fi + +LICENSE="Apache-2.0 BSD BSD-2 MIT" +SLOT="0" +IUSE="notmuch" + +DEPEND="notmuch? ( net-mail/notmuch:= )" +RDEPEND="${DEPEND}" +BDEPEND=" + >=app-text/scdoc-1.11.3 + >=dev-lang/go-1.18 +" + +src_unpack() { + if [[ ${PV} == *9999 ]]; then + git-r3_src_unpack + go-module_live_vendor + else + go-module_src_unpack + fi +} + +src_compile() { + unset LDFLAGS + emake GOFLAGS="$(usex notmuch "-tags=notmuch" "")" \ + PREFIX="${EPREFIX}/usr" VERSION=${PV} all +} + +src_install() { + emake GOFLAGS="$(usex notmuch "-tags=notmuch" "")" \ + DESTDIR="${ED}" PREFIX="${EPREFIX}/usr" VERSION="${PV}" install + einstalldocs + dodoc CHANGELOG.md +} + +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 + xdg_pkg_postinst +}