commit:     390e47bf8ce3f3e37fa5978c6ac782d417800ec3
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 27 20:17:57 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=390e47bf

app-emacs/pkg-info: bump EAPI to 8; refactor

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

 app-emacs/pkg-info/pkg-info-0.6-r1.ebuild | 31 +++++++++++++++++++++++++++++++
 app-emacs/pkg-info/pkg-info-0.6.ebuild    | 20 --------------------
 2 files changed, 31 insertions(+), 20 deletions(-)

diff --git a/app-emacs/pkg-info/pkg-info-0.6-r1.ebuild 
b/app-emacs/pkg-info/pkg-info-0.6-r1.ebuild
new file mode 100644
index 000000000000..6beb211b6805
--- /dev/null
+++ b/app-emacs/pkg-info/pkg-info-0.6-r1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 2021-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit elisp
+
+DESCRIPTION="Provide information about Emacs packages"
+HOMEPAGE="https://github.com/emacsorphanage/pkg-info/";
+
+if [[ "${PV}" == *9999* ]] ; then
+       inherit git-r3
+
+       EGIT_REPO_URI="https://github.com/emacsorphanage/${PN}";
+else
+       
SRC_URI="https://github.com/emacsorphanage/${PN}/archive/refs/tags/${PV}.tar.gz
+               -> ${P}.tar.gz"
+
+       KEYWORDS="~alpha amd64 ~arm arm64 ~ppc64 ~riscv ~sparc ~x86 ~x64-macos"
+fi
+
+LICENSE="GPL-3"
+SLOT="0"
+RESTRICT="test"  # Tests fail
+
+RDEPEND="
+       >=app-emacs/epl-0.8
+"
+
+DOCS=( README.md CHANGES.md )
+SITEFILE="50${PN}-gentoo.el"

diff --git a/app-emacs/pkg-info/pkg-info-0.6.ebuild 
b/app-emacs/pkg-info/pkg-info-0.6.ebuild
deleted file mode 100644
index 48776ddb11d1..000000000000
--- a/app-emacs/pkg-info/pkg-info-0.6.ebuild
+++ /dev/null
@@ -1,20 +0,0 @@
-# Copyright 2021-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit elisp
-
-DESCRIPTION="Provide information about Emacs packages"
-HOMEPAGE="https://github.com/emacsorphanage/pkg-info";
-SRC_URI="https://github.com/emacsorphanage/pkg-info/archive/refs/tags/${PV}.tar.gz
 -> ${P}.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~alpha amd64 ~arm arm64 ~ppc64 ~riscv ~sparc ~x86 ~x64-macos"
-RESTRICT="test"  # Tests fail
-
-RDEPEND=">=app-emacs/epl-0.8"
-
-SITEFILE="50${PN}-gentoo.el"
-DOCS=( README.md CHANGES.md )

Reply via email to