commit:     600898546b0f5da50b6233dc68932e6bfe9d73cf
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 27 20:20:42 2025 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sat Dec 27 21:01:53 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60089854

app-emacs/zenburn: bump EAPI to 8; refactor

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 ...110907-r1.ebuild => zenburn-20110907-r2.ebuild} | 34 +++++++++++++++-------
 1 file changed, 24 insertions(+), 10 deletions(-)

diff --git a/app-emacs/zenburn/zenburn-20110907-r1.ebuild 
b/app-emacs/zenburn/zenburn-20110907-r2.ebuild
similarity index 52%
rename from app-emacs/zenburn/zenburn-20110907-r1.ebuild
rename to app-emacs/zenburn/zenburn-20110907-r2.ebuild
index 4f1f09a16046..074a89e8963d 100644
--- a/app-emacs/zenburn/zenburn-20110907-r1.ebuild
+++ b/app-emacs/zenburn/zenburn-20110907-r2.ebuild
@@ -1,24 +1,38 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
+
+COMMIT="2b0672b04ef3e95c25f849dceb10d669296a188b"
 
 inherit elisp readme.gentoo-r1
 
-COMMIT="2b0672b04ef3e95c25f849dceb10d669296a188b"
 DESCRIPTION="Zenburn color theme for Emacs"
 
HOMEPAGE="https://web.archive.org/web/20140612104441/http://slinky.imukuppi.org/zenburnpage/
-       https://github.com/dbrock/zenburn-el";
-SRC_URI="https://github.com/dbrock/${PN}-el/archive/${COMMIT}.tar.gz -> 
${P}.tar.gz"
+       https://github.com/dbrock/zenburn-el/";
+
+if [[ "${PV}" == *9999* ]] ; then
+       inherit git-r3
+
+       EGIT_REPO_URI="https://github.com/dbrock/${PN}-el";
+else
+       SRC_URI="https://github.com/dbrock/${PN}-el/archive/${COMMIT}.tar.gz
+               -> ${P}.tar.gz"
+       S="${WORKDIR}/${PN}-el-${COMMIT}"
+
+       KEYWORDS="amd64 x86"
+fi
 
 LICENSE="GPL-2+"
 SLOT="0"
-KEYWORDS="amd64 x86"
 
-RDEPEND="app-emacs/color-theme"
-BDEPEND="${RDEPEND}"
+RDEPEND="
+       app-emacs/color-theme
+"
+BDEPEND="
+       ${RDEPEND}
+"
 
-S="${WORKDIR}/${PN}-el-${COMMIT}"
-SITEFILE="50${PN}-gentoo.el"
 DOC_CONTENTS="To enable zenburn by default, initialise it in your ~/.emacs:
        \n\t(color-theme-zenburn)"
+SITEFILE="50${PN}-gentoo.el"

Reply via email to