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 3C034158089 for ; Wed, 13 Sep 2023 18:31:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7C8602BC018; Wed, 13 Sep 2023 18:31: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 5F3182BC017 for ; Wed, 13 Sep 2023 18:31:20 +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 646A1335CEA for ; Wed, 13 Sep 2023 18:31:19 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B082F11A5 for ; Wed, 13 Sep 2023 18:31:17 +0000 (UTC) From: "Maciej Barć" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Maciej Barć" Message-ID: <1694629873.d5a5b8b957aad91cb6122fd0125c7662059ce697.xgqt@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-emacs/magit/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-emacs/magit/Manifest app-emacs/magit/magit-3.3.0.50_p20230912.ebuild X-VCS-Directories: app-emacs/magit/ X-VCS-Committer: xgqt X-VCS-Committer-Name: Maciej Barć X-VCS-Revision: d5a5b8b957aad91cb6122fd0125c7662059ce697 X-VCS-Branch: master Date: Wed, 13 Sep 2023 18:31:17 +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: fbb814d6-b167-4f2f-9a9f-a8ac2665bcd0 X-Archives-Hash: 98c33970ca136cc0fe58246f3af87cae commit: d5a5b8b957aad91cb6122fd0125c7662059ce697 Author: Maciej Barć gentoo org> AuthorDate: Wed Sep 13 12:52:47 2023 +0000 Commit: Maciej Barć gentoo org> CommitDate: Wed Sep 13 18:31:13 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5a5b8b9 app-emacs/magit: bump to 3.3.0.50_p20230912 Signed-off-by: Maciej Barć gentoo.org> app-emacs/magit/Manifest | 1 + app-emacs/magit/magit-3.3.0.50_p20230912.ebuild | 63 +++++++++++++++++++++++++ 2 files changed, 64 insertions(+) diff --git a/app-emacs/magit/Manifest b/app-emacs/magit/Manifest index 2a14fc6104c8..4e881efddb69 100644 --- a/app-emacs/magit/Manifest +++ b/app-emacs/magit/Manifest @@ -1 +1,2 @@ +DIST magit-3.3.0.50_p20230912.tar.gz 666150 BLAKE2B 52d0afa05fad68283c668810806a61e3df6494c8afecdceccf193c64eec5396fb5f45fad5c31d4cb601954c8abc27fcc4be240ffd72c4fc72531876657c4c157 SHA512 d6c8c32676b07253b661388e8db1602162f7012ff3bf5bc6bcc071507bb9c08633359043eb893b743e5f37d7474a17b1a2e96975cd64d0688e3c6337ca65470e DIST magit-3.3.0.tar.gz 629283 BLAKE2B b07a071682ac543ba4a94b9bb8d78cedca1dcc4a7140ad2972d65e014666a2fea078611a7fd98356747d02431e5aa2456801e7e9a12e2b08027666b437863535 SHA512 22fa7c41cb18746b33f64ef936f88dbf229f998e2d2a5d066771711450753c98430335040d0a9812832f3fa39f96f6e88133d5274964332bc899fa7ef19422eb diff --git a/app-emacs/magit/magit-3.3.0.50_p20230912.ebuild b/app-emacs/magit/magit-3.3.0.50_p20230912.ebuild new file mode 100644 index 000000000000..e3ec1a1224e8 --- /dev/null +++ b/app-emacs/magit/magit-3.3.0.50_p20230912.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit elisp + +DESCRIPTION="A Git porcelain inside Emacs" +HOMEPAGE="https://magit.vc/ + https://github.com/magit/magit/" + +if [[ ${PV} == *9999* ]] ; then + inherit git-r3 + + EGIT_REPO_URI="https://github.com/magit/magit.git" + S="${WORKDIR}/${P}/lisp" +else + [[ ${PV} == *_p20230912 ]] && COMMIT=141dd46798e5cae57617e941418ebbb3a2172f5e + + SRC_URI="https://github.com/magit/magit/archive/${COMMIT}.tar.gz + -> ${P}.tar.gz" + S="${WORKDIR}/${PN}-${COMMIT}/lisp" + + KEYWORDS="~amd64 ~arm ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux" +fi + +LICENSE="GPL-3+" +SLOT="0" +IUSE="libgit" + +DOCS=( ../README.md ../docs/AUTHORS.md ../docs/RelNotes ) +ELISP_TEXINFO="../docs/*.texi" +SITEFILE="50${PN}-gentoo.el" + +RDEPEND=" + >=app-emacs/dash-2.19.1 + >=app-emacs/transient-0.3.6 + >=app-emacs/with-editor-3.0.5 + libgit? ( app-emacs/libegit2 ) +" +BDEPEND=" + ${RDEPEND} + sys-apps/texinfo +" +RDEPEND+=" + >=dev-vcs/git-2.0.0 +" + +src_prepare() { + default + use libgit || rm magit-libgit.el || die + echo "(setq magit-version \"${PV}\")" > magit-version.el || die +} + +pkg_postinst() { + elisp_pkg_postinst + + if ! use libgit; then + einfo "The dependency on app-emacs/libegit2 is optional" + einfo "since magit version 3.3.0. Enable the \"libgit\" flag" + einfo "if you need the libgit backend." + fi +}