commit:     a77489710007822d996779e7e9b1caffa6ab899d
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 30 16:53:29 2023 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Mon Jan 30 17:00:51 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7748971

app-emacs/all-the-icons: set H for correct PV; format

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

 .../all-the-icons/all-the-icons-5.0.0_p20220325-r1.ebuild      | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/app-emacs/all-the-icons/all-the-icons-5.0.0_p20220325-r1.ebuild 
b/app-emacs/all-the-icons/all-the-icons-5.0.0_p20220325-r1.ebuild
index bee0fc32de73..14dc94b6fbe9 100644
--- a/app-emacs/all-the-icons/all-the-icons-5.0.0_p20220325-r1.ebuild
+++ b/app-emacs/all-the-icons/all-the-icons-5.0.0_p20220325-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-H=65c496d3d1d1298345beb9845840067bffb2ffd8
+[[ ${PV} == *_p20220325 ]] && H=65c496d3d1d1298345beb9845840067bffb2ffd8
 NEED_EMACS=24.3
 
 inherit elisp font readme.gentoo-r1
@@ -11,7 +11,7 @@ inherit elisp font readme.gentoo-r1
 DESCRIPTION="Various icon fonts propertized for Emacs"
 HOMEPAGE="https://github.com/domtronn/all-the-icons.el/";
 SRC_URI="https://github.com/domtronn/${PN}.el/archive/${H}.tar.gz
-                       -> ${P}.tar.gz"
+       -> ${P}.tar.gz"
 S="${WORKDIR}"/${PN}.el-${H}
 
 LICENSE="MIT"
@@ -38,9 +38,9 @@ src_compile() {
 }
 
 src_test() {
-       ${EMACS} ${EMACSFLAGS} ${BYTECOMPFLAGS} \
-                        -L . -L data -L test -l test/all-the-icons-test.el \
-                        -f ert-run-tests-batch-and-exit || die "tests failed"
+       ${EMACS} ${EMACSFLAGS} ${BYTECOMPFLAGS}                     \
+               -L . -L data -L test -l test/all-the-icons-test.el      \
+               -f ert-run-tests-batch-and-exit || die "tests failed"
 }
 
 src_install() {

Reply via email to