public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: app-emacs/julia-mode/
@ 2024-07-23 23:12 Maciej Barć
  0 siblings, 0 replies; only message in thread
From: Maciej Barć @ 2024-07-23 23:12 UTC (permalink / raw
  To: gentoo-commits

commit:     704bb817d5c2ed86651d0c238bbf2005f4924dc1
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 23 23:02:04 2024 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Tue Jul 23 23:12:15 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=704bb817

app-emacs/julia-mode: deselect failed test

Closes: https://bugs.gentoo.org/928919
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 .../julia-mode/julia-mode-0.4_p20211023.ebuild     | 28 +++++++++++++++-------
 1 file changed, 20 insertions(+), 8 deletions(-)

diff --git a/app-emacs/julia-mode/julia-mode-0.4_p20211023.ebuild b/app-emacs/julia-mode/julia-mode-0.4_p20211023.ebuild
index 9b4036b08784..e74d5df0575f 100644
--- a/app-emacs/julia-mode/julia-mode-0.4_p20211023.ebuild
+++ b/app-emacs/julia-mode/julia-mode-0.4_p20211023.ebuild
@@ -1,29 +1,41 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
 COMMIT=47f43f7d839019cac3ba6559d93b29487ca118cb
 
-inherit elisp
+inherit edo elisp
 
 DESCRIPTION="Emacs major mode for the Julia programming language"
 HOMEPAGE="https://github.com/JuliaEditorSupport/julia-emacs/"
-SRC_URI="https://github.com/JuliaEditorSupport/julia-emacs/archive/${COMMIT}.tar.gz
+
+if [[ "${PV}" == *9999* ]] ; then
+	inherit git-r3
+
+	EGIT_REPO_URI="https://github.com/JuliaEditorSupport/julia-emacs.git"
+else
+	SRC_URI="https://github.com/JuliaEditorSupport/julia-emacs/archive/${COMMIT}.tar.gz
 		-> ${P}.tar.gz"
-S="${WORKDIR}"/julia-emacs-${COMMIT}
+	S="${WORKDIR}/julia-emacs-${COMMIT}"
+
+	KEYWORDS="~amd64 ~x86"
+fi
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
 
 DOCS=( CHANGELOG.md README.md )
 SITEFILE="50${PN}-gentoo.el"
 
 src_test() {
-	${EMACS} ${EMACSFLAGS} ${BYTECOMPFLAGS}  \
-			 -l ert -l ./julia-mode-tests.el  \
-			 -f ert-run-tests-batch-and-exit || die "tests failed"
+	local -a bad_tests=(
+		julia--test-end-of-defun-nested-2
+	)
+
+	edo ${EMACS} ${EMACSFLAGS} ${BYTECOMPFLAGS} \
+		-l ert -l ./julia-mode-tests.el \
+		--eval "(ert-run-tests-batch-and-exit '(not ${bad_tests[@]}))"
 }
 
 src_install() {


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2024-07-23 23:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-23 23:12 [gentoo-commits] repo/gentoo:master commit in: app-emacs/julia-mode/ Maciej Barć

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox