From 5592cdf4338db2ee0c5d5dc33b0fc3f341326ef9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Bar=C4=87?= Date: Sat, 27 Dec 2025 19:56:22 +0100 Subject: [PATCH] app-emacs/yaml-mode: bump EAPI to 8; refactor MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maciej Barć --- .../yaml-mode/yaml-mode-0.0.16-r1.ebuild | 28 +++++++++++++++++++ app-emacs/yaml-mode/yaml-mode-0.0.16.ebuild | 18 ------------ 2 files changed, 28 insertions(+), 18 deletions(-) create mode 100644 app-emacs/yaml-mode/yaml-mode-0.0.16-r1.ebuild delete mode 100644 app-emacs/yaml-mode/yaml-mode-0.0.16.ebuild diff --git a/app-emacs/yaml-mode/yaml-mode-0.0.16-r1.ebuild b/app-emacs/yaml-mode/yaml-mode-0.0.16-r1.ebuild new file mode 100644 index 0000000000000..ebf58b0d53535 --- /dev/null +++ b/app-emacs/yaml-mode/yaml-mode-0.0.16-r1.ebuild @@ -0,0 +1,28 @@ +# 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 GNU Emacs for editing YAML files" +HOMEPAGE="https://github.com/yoshiki/yaml-mode/" + +if [[ "${PV}" == *9999* ]] ; then + inherit git-r3 + + EGIT_REPO_URI="https://github.com/yoshiki/${PN}" +else + SRC_URI="https://github.com/yoshiki/${PN}/archive/${PV}.tar.gz + -> ${P}.tar.gz" + + KEYWORDS="amd64 ~arm64 ~x86" +fi + +LICENSE="GPL-2+" +SLOT="0" + +DOCS=( Changes README ) +SITEFILE="50${PN}-gentoo.el" + +elisp-enable-tests ert test diff --git a/app-emacs/yaml-mode/yaml-mode-0.0.16.ebuild b/app-emacs/yaml-mode/yaml-mode-0.0.16.ebuild deleted file mode 100644 index d9246138a4fe3..0000000000000 --- a/app-emacs/yaml-mode/yaml-mode-0.0.16.ebuild +++ /dev/null @@ -1,18 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit elisp - -DESCRIPTION="A major mode for GNU Emacs for editing YAML files" -HOMEPAGE="https://github.com/yoshiki/yaml-mode" -SRC_URI="https://github.com/yoshiki/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="amd64 ~arm64 ~x86" - -#S="${WORKDIR}/${PN}-release-${PV}" -DOCS="README Changes" -SITEFILE="50${PN}-gentoo.el"