commit:     e911db1903a1a67abe97d18c2f3c5eee1e5f8e6e
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sun Oct  6 18:42:57 2024 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sun Oct  6 19:51:32 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e911db19

app-emacs/elixir-mode: minor tweaks

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

 app-emacs/elixir-mode/elixir-mode-2.5.0.ebuild | 20 +++++++++-----------
 1 file changed, 9 insertions(+), 11 deletions(-)

diff --git a/app-emacs/elixir-mode/elixir-mode-2.5.0.ebuild 
b/app-emacs/elixir-mode/elixir-mode-2.5.0.ebuild
index cc7f9f3b5819..605cde75fb0c 100644
--- a/app-emacs/elixir-mode/elixir-mode-2.5.0.ebuild
+++ b/app-emacs/elixir-mode/elixir-mode-2.5.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -8,30 +8,28 @@ inherit elisp
 DESCRIPTION="Emacs major mode for editing Elixir files"
 HOMEPAGE="https://github.com/elixir-editors/emacs-elixir/";
 
-if [[ ${PV} == *9999* ]] ; then
+if [[ "${PV}" == *9999* ]] ; then
        inherit git-r3
+
        EGIT_REPO_URI="https://github.com/elixir-editors/emacs-elixir.git";
 else
        
SRC_URI="https://github.com/elixir-editors/emacs-elixir/archive/v${PV}.tar.gz
                -> ${P}.tar.gz"
-       S="${WORKDIR}"/emacs-elixir-${PV}
+       S="${WORKDIR}/emacs-elixir-${PV}"
+
        KEYWORDS="~amd64 ~x86"
 fi
 
 LICENSE="GPL-2+"
 SLOT="0"
-IUSE="test"
-RESTRICT="!test? ( test )"
 
 BDEPEND="
-       test? ( dev-lang/elixir )
+       test? (
+               dev-lang/elixir
+       )
 "
 
 DOCS=( CHANGELOG.md README.md )
 SITEFILE="50${PN}-gentoo.el"
 
-elisp-enable-tests ert-runner
-
-src_test() {
-       ert-runner -L . -L tests --reporter ert+duration tests || die
-}
+elisp-enable-tests ert-runner tests

Reply via email to