summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-emacs/magit/magit-3.3.0-r1.ebuild4
-rw-r--r--app-emacs/magit/magit-3.3.0.ebuild33
-rw-r--r--app-emacs/magit/magit-9999.ebuild2
3 files changed, 36 insertions, 3 deletions
diff --git a/app-emacs/magit/magit-3.3.0-r1.ebuild b/app-emacs/magit/magit-3.3.0-r1.ebuild
index cbec2d023718..e15f4b690cc8 100644
--- a/app-emacs/magit/magit-3.3.0-r1.ebuild
+++ b/app-emacs/magit/magit-3.3.0-r1.ebuild
@@ -15,9 +15,9 @@ if [[ ${PV} == *9999* ]] ; then
else
SRC_URI="https://github.com/magit/magit/archive/v${PV}.tar.gz
-> ${P}.tar.gz"
- KEYWORDS="amd64 ~arm ~ppc64 ~riscv x86 ~amd64-linux ~x86-linux"
+ KEYWORDS="~amd64 ~arm ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux"
fi
-S="${S}/lisp"
+S="${WORKDIR}/${P}/lisp"
LICENSE="GPL-3+"
SLOT="0"
diff --git a/app-emacs/magit/magit-3.3.0.ebuild b/app-emacs/magit/magit-3.3.0.ebuild
new file mode 100644
index 000000000000..87684a463d06
--- /dev/null
+++ b/app-emacs/magit/magit-3.3.0.ebuild
@@ -0,0 +1,33 @@
+# 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/"
+SRC_URI="https://github.com/magit/magit/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="amd64 ~arm ~ppc64 ~riscv x86 ~amd64-linux ~x86-linux"
+
+S="${WORKDIR}/${P}/lisp"
+SITEFILE="50${PN}-gentoo.el"
+ELISP_TEXINFO="../Documentation/*.texi"
+DOCS="../README.md ../Documentation/AUTHORS.md ../Documentation/RelNotes/*"
+
+DEPEND="
+ >=app-emacs/dash-2.19.1
+ app-emacs/libegit2
+ >=app-emacs/transient-0.3.6
+ >=app-emacs/with-editor-3.0.5
+"
+RDEPEND="${DEPEND} >=dev-vcs/git-2.0.0"
+DEPEND="${DEPEND} sys-apps/texinfo"
+
+src_prepare() {
+ default
+ echo "(setq magit-version \"${PV}\")" > magit-version.el || die
+}
diff --git a/app-emacs/magit/magit-9999.ebuild b/app-emacs/magit/magit-9999.ebuild
index 57f82de1ff46..b3423758df8c 100644
--- a/app-emacs/magit/magit-9999.ebuild
+++ b/app-emacs/magit/magit-9999.ebuild
@@ -17,7 +17,7 @@ else
-> ${P}.tar.gz"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
fi
-S="${S}/lisp"
+S="${WORKDIR}/${P}/lisp"
LICENSE="GPL-3+"
SLOT="0"