* [gentoo-commits] repo/gentoo:master commit in: app-emacs/erlang-mode/
@ 2024-08-03 14:12 Maciej Barć
0 siblings, 0 replies; 3+ messages in thread
From: Maciej Barć @ 2024-08-03 14:12 UTC (permalink / raw
To: gentoo-commits
commit: 03696cf00fe354e0281ab7672b38775717ce7eac
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 3 14:06:37 2024 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sat Aug 3 14:12:17 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03696cf0
app-emacs/erlang-mode: fix HOMEPAGE and other minor tweaks
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
app-emacs/erlang-mode/erlang-mode-27.0.1.ebuild | 39 ++++++++++++++++++-------
1 file changed, 28 insertions(+), 11 deletions(-)
diff --git a/app-emacs/erlang-mode/erlang-mode-27.0.1.ebuild b/app-emacs/erlang-mode/erlang-mode-27.0.1.ebuild
index 70b48bf303d9..614c5b4699a1 100644
--- a/app-emacs/erlang-mode/erlang-mode-27.0.1.ebuild
+++ b/app-emacs/erlang-mode/erlang-mode-27.0.1.ebuild
@@ -5,24 +5,41 @@ EAPI=8
inherit elisp
-# Distfile is shared with dev-lang/erlang.
DESCRIPTION="A major mode for editing Erlang"
-HOMEPAGE="https://www.erlang. https://github.com/erlang/"
-SRC_URI="https://github.com/erlang/otp/archive/OTP-${PV}.tar.gz -> erlang-${PV}.tar.gz"
-S="${WORKDIR}"/otp-OTP-${PV}/lib/tools/emacs
+HOMEPAGE="https://www.erlang/
+ https://github.com/erlang/"
+
+if [[ "${PV}" == *9999* ]] ; then
+ inherit git-r3
+
+ EGIT_REPO_URI="https://github.com/erlang/otp.git"
+ S="${WORKDIR}/${P}/lib/tools/emacs"
+else
+ # Distfile is shared with dev-lang/erlang.
+ SRC_URI="https://github.com/erlang/otp/archive/OTP-${PV}.tar.gz
+ -> erlang-${PV}.tar.gz"
+ S="${WORKDIR}/otp-OTP-${PV}/lib/tools/emacs"
+
+ KEYWORDS="~amd64 ~x86"
+fi
LICENSE="Apache-2.0"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
-RDEPEND="!dev-lang/erlang[emacs(-)]"
+RDEPEND="
+ !dev-lang/erlang[emacs(-)]
+"
-SITEFILE=50${PN}-gentoo.el
+SITEFILE="50${PN}-gentoo.el"
-src_install() {
- elisp-install erlang *.el *.elc
+src_prepare() {
+ elisp_src_prepare
sed -e "s:/usr/share:${EPREFIX}/usr/share:g" \
- "${FILESDIR}"/${SITEFILE} > "${T}"/${SITEFILE} || die
- elisp-site-file-install "${T}"/${SITEFILE}
+ "${FILESDIR}/${SITEFILE}" > "${T}/${SITEFILE}" || die
+}
+
+src_install() {
+ elisp-install erlang *.el{,c}
+ elisp-site-file-install "${T}/${SITEFILE}"
}
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-emacs/erlang-mode/
@ 2024-08-03 14:12 Maciej Barć
0 siblings, 0 replies; 3+ messages in thread
From: Maciej Barć @ 2024-08-03 14:12 UTC (permalink / raw
To: gentoo-commits
commit: fde4642a012f5678b417ca937644e2d6ca49b498
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 3 14:11:45 2024 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sat Aug 3 14:12:17 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fde4642a
app-emacs/erlang-mode: sync live 9999 version
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
app-emacs/erlang-mode/erlang-mode-9999.ebuild | 45 +++++++++++++++++++++++++++
1 file changed, 45 insertions(+)
diff --git a/app-emacs/erlang-mode/erlang-mode-9999.ebuild b/app-emacs/erlang-mode/erlang-mode-9999.ebuild
new file mode 100644
index 000000000000..614c5b4699a1
--- /dev/null
+++ b/app-emacs/erlang-mode/erlang-mode-9999.ebuild
@@ -0,0 +1,45 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit elisp
+
+DESCRIPTION="A major mode for editing Erlang"
+HOMEPAGE="https://www.erlang/
+ https://github.com/erlang/"
+
+if [[ "${PV}" == *9999* ]] ; then
+ inherit git-r3
+
+ EGIT_REPO_URI="https://github.com/erlang/otp.git"
+ S="${WORKDIR}/${P}/lib/tools/emacs"
+else
+ # Distfile is shared with dev-lang/erlang.
+ SRC_URI="https://github.com/erlang/otp/archive/OTP-${PV}.tar.gz
+ -> erlang-${PV}.tar.gz"
+ S="${WORKDIR}/otp-OTP-${PV}/lib/tools/emacs"
+
+ KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="Apache-2.0"
+SLOT="0"
+
+RDEPEND="
+ !dev-lang/erlang[emacs(-)]
+"
+
+SITEFILE="50${PN}-gentoo.el"
+
+src_prepare() {
+ elisp_src_prepare
+
+ sed -e "s:/usr/share:${EPREFIX}/usr/share:g" \
+ "${FILESDIR}/${SITEFILE}" > "${T}/${SITEFILE}" || die
+}
+
+src_install() {
+ elisp-install erlang *.el{,c}
+ elisp-site-file-install "${T}/${SITEFILE}"
+}
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-emacs/erlang-mode/
@ 2025-09-27 21:58 Maciej Barć
0 siblings, 0 replies; 3+ messages in thread
From: Maciej Barć @ 2025-09-27 21:58 UTC (permalink / raw
To: gentoo-commits
commit: 8c53c8e73533cae8e9f06e0b9a417e755af84d42
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 27 18:51:41 2025 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sat Sep 27 20:56:12 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c53c8e7
app-emacs/erlang-mode: bump to 28.1
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
app-emacs/erlang-mode/Manifest | 1 +
app-emacs/erlang-mode/erlang-mode-28.1.ebuild | 45 +++++++++++++++++++++++++++
2 files changed, 46 insertions(+)
diff --git a/app-emacs/erlang-mode/Manifest b/app-emacs/erlang-mode/Manifest
index 04ec6d235edb..2c5661163bb3 100644
--- a/app-emacs/erlang-mode/Manifest
+++ b/app-emacs/erlang-mode/Manifest
@@ -1 +1,2 @@
DIST erlang-27.0.1.tar.gz 62055749 BLAKE2B 2cbf74efb6e2bd821b30e9b39d13b5b16899a49eedcbedd171068cb4da5d2f5cd98697a4234387d194aeace3ec1c168d752a2afd5bc52c4c6799dfd68ade6916 SHA512 03bba7f7d8226474b4dba9855e78b59c7cf78973fbb2ed48893a26879dc0dce579336e9cae6870f154bdd48cf3be6398cc1ec4ff52f252017d84edb20d565e71
+DIST erlang-28.1.tar.gz 63993104 BLAKE2B b02df23135c00940f8122133cfb581f56d23f380396b980e7f12b98bf3a4d540474b5da184710297b5d00948c44f30a638887bcbe5e93259e3d72fe40e052816 SHA512 98b956bcd00fceb277b5ba335db8d947c4be104b55225c0bddbb8cd145366cc237fbf1a8f477c091dce9ecc6d617a7964198379f7f37fd79e0d24df692c1f6b7
diff --git a/app-emacs/erlang-mode/erlang-mode-28.1.ebuild b/app-emacs/erlang-mode/erlang-mode-28.1.ebuild
new file mode 100644
index 000000000000..77975c35652c
--- /dev/null
+++ b/app-emacs/erlang-mode/erlang-mode-28.1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit elisp
+
+DESCRIPTION="A major mode for editing Erlang"
+HOMEPAGE="https://www.erlang/
+ https://github.com/erlang/"
+
+if [[ "${PV}" == *9999* ]] ; then
+ inherit git-r3
+
+ EGIT_REPO_URI="https://github.com/erlang/otp.git"
+ S="${WORKDIR}/${P}/lib/tools/emacs"
+else
+ # Distfile is shared with dev-lang/erlang.
+ SRC_URI="https://github.com/erlang/otp/archive/OTP-${PV}.tar.gz
+ -> erlang-${PV}.tar.gz"
+ S="${WORKDIR}/otp-OTP-${PV}/lib/tools/emacs"
+
+ KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="Apache-2.0"
+SLOT="0"
+
+RDEPEND="
+ !dev-lang/erlang[emacs(-)]
+"
+
+SITEFILE="50${PN}-gentoo.el"
+
+src_prepare() {
+ elisp_src_prepare
+
+ sed -e "s:/usr/share:${EPREFIX}/usr/share:g" \
+ "${FILESDIR}/${SITEFILE}" > "${T}/${SITEFILE}" || die
+}
+
+src_install() {
+ elisp-install erlang *.el{,c}
+ elisp-site-file-install "${T}/${SITEFILE}"
+}
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-09-27 21:59 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-03 14:12 [gentoo-commits] repo/gentoo:master commit in: app-emacs/erlang-mode/ Maciej Barć
-- strict thread matches above, loose matches on Subject: below --
2024-08-03 14:12 Maciej Barć
2025-09-27 21:58 Maciej Barć
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox