* [gentoo-commits] repo/gentoo:master commit in: app-emacs/ert-runner/
@ 2022-04-20 14:07 Maciej Barć
0 siblings, 0 replies; 8+ messages in thread
From: Maciej Barć @ 2022-04-20 14:07 UTC (permalink / raw
To: gentoo-commits
commit: 171842b73e94e149e71cd99aefd43cf6a4945479
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 20 14:05:49 2022 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Wed Apr 20 14:06:57 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=171842b7
app-emacs/ert-runner: even with Cask, tests fail
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
app-emacs/ert-runner/ert-runner-0.8.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-emacs/ert-runner/ert-runner-0.8.0.ebuild b/app-emacs/ert-runner/ert-runner-0.8.0.ebuild
index b36b3923ccf6..046b3a467a4e 100644
--- a/app-emacs/ert-runner/ert-runner-0.8.0.ebuild
+++ b/app-emacs/ert-runner/ert-runner-0.8.0.ebuild
@@ -14,7 +14,7 @@ S="${WORKDIR}"/${PN}.el-${PV}
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-RESTRICT="test" # Needs Cask
+RESTRICT="test" # Tests fail (even with Cask installed)
RDEPEND="
app-emacs/ansi
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-emacs/ert-runner/
@ 2023-01-27 17:13 Arthur Zamarin
0 siblings, 0 replies; 8+ messages in thread
From: Arthur Zamarin @ 2023-01-27 17:13 UTC (permalink / raw
To: gentoo-commits
commit: a3e2095b242269dbee328ba42ef487fef56b5d69
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 27 17:12:55 2023 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Jan 27 17:12:55 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3e2095b
app-emacs/ert-runner: Stabilize 0.8.0 amd64, #892233
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
app-emacs/ert-runner/ert-runner-0.8.0.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/app-emacs/ert-runner/ert-runner-0.8.0.ebuild b/app-emacs/ert-runner/ert-runner-0.8.0.ebuild
index 046b3a467a4e..1da433778011 100644
--- a/app-emacs/ert-runner/ert-runner-0.8.0.ebuild
+++ b/app-emacs/ert-runner/ert-runner-0.8.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -13,7 +13,7 @@ S="${WORKDIR}"/${PN}.el-${PV}
LICENSE="GPL-3+"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
RESTRICT="test" # Tests fail (even with Cask installed)
RDEPEND="
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-emacs/ert-runner/
@ 2024-01-14 17:54 Arthur Zamarin
0 siblings, 0 replies; 8+ messages in thread
From: Arthur Zamarin @ 2024-01-14 17:54 UTC (permalink / raw
To: gentoo-commits
commit: c3f3474841ef0dbfa843571f4018a6da45cde340
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 14 17:53:26 2024 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sun Jan 14 17:53:26 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3f34748
app-emacs/ert-runner: Keyword 0.8.0 arm64, #922064
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
app-emacs/ert-runner/ert-runner-0.8.0.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/app-emacs/ert-runner/ert-runner-0.8.0.ebuild b/app-emacs/ert-runner/ert-runner-0.8.0.ebuild
index 1da433778011..13d887bf9b32 100644
--- a/app-emacs/ert-runner/ert-runner-0.8.0.ebuild
+++ b/app-emacs/ert-runner/ert-runner-0.8.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
@@ -13,7 +13,7 @@ S="${WORKDIR}"/${PN}.el-${PV}
LICENSE="GPL-3+"
SLOT="0"
-KEYWORDS="amd64 ~x86"
+KEYWORDS="amd64 ~arm64 ~x86"
RESTRICT="test" # Tests fail (even with Cask installed)
RDEPEND="
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-emacs/ert-runner/
@ 2024-10-06 1:06 Sam James
0 siblings, 0 replies; 8+ messages in thread
From: Sam James @ 2024-10-06 1:06 UTC (permalink / raw
To: gentoo-commits
commit: 2df21c6b30ce30fd8383bd5c5c6692d63a4d7592
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 6 01:05:53 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Oct 6 01:05:53 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2df21c6b
app-emacs/ert-runner: Keyword 0.8.0 sparc, #940918
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-emacs/ert-runner/ert-runner-0.8.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-emacs/ert-runner/ert-runner-0.8.0.ebuild b/app-emacs/ert-runner/ert-runner-0.8.0.ebuild
index 13d887bf9b32..9f08f42be2dd 100644
--- a/app-emacs/ert-runner/ert-runner-0.8.0.ebuild
+++ b/app-emacs/ert-runner/ert-runner-0.8.0.ebuild
@@ -13,7 +13,7 @@ S="${WORKDIR}"/${PN}.el-${PV}
LICENSE="GPL-3+"
SLOT="0"
-KEYWORDS="amd64 ~arm64 ~x86"
+KEYWORDS="amd64 ~arm64 ~sparc ~x86"
RESTRICT="test" # Tests fail (even with Cask installed)
RDEPEND="
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-emacs/ert-runner/
@ 2024-10-06 5:28 Sam James
0 siblings, 0 replies; 8+ messages in thread
From: Sam James @ 2024-10-06 5:28 UTC (permalink / raw
To: gentoo-commits
commit: ae4bf1c865378bedda1d159c233117f58e318719
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 6 05:26:30 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Oct 6 05:27:15 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae4bf1c8
app-emacs/ert-runner: Keyword 0.8.0 ppc64, #940918
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-emacs/ert-runner/ert-runner-0.8.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-emacs/ert-runner/ert-runner-0.8.0.ebuild b/app-emacs/ert-runner/ert-runner-0.8.0.ebuild
index 9f08f42be2dd..3c704bf3f85d 100644
--- a/app-emacs/ert-runner/ert-runner-0.8.0.ebuild
+++ b/app-emacs/ert-runner/ert-runner-0.8.0.ebuild
@@ -13,7 +13,7 @@ S="${WORKDIR}"/${PN}.el-${PV}
LICENSE="GPL-3+"
SLOT="0"
-KEYWORDS="amd64 ~arm64 ~sparc ~x86"
+KEYWORDS="amd64 ~arm64 ~ppc64 ~sparc ~x86"
RESTRICT="test" # Tests fail (even with Cask installed)
RDEPEND="
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-emacs/ert-runner/
@ 2024-10-06 10:27 Jakov Smolić
0 siblings, 0 replies; 8+ messages in thread
From: Jakov Smolić @ 2024-10-06 10:27 UTC (permalink / raw
To: gentoo-commits
commit: 64e4152680afb840e4fdb5abfed9726b03429720
Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 6 10:27:39 2024 +0000
Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Sun Oct 6 10:27:39 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64e41526
app-emacs/ert-runner: Keyword 0.8.0 riscv, #940918
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>
app-emacs/ert-runner/ert-runner-0.8.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-emacs/ert-runner/ert-runner-0.8.0.ebuild b/app-emacs/ert-runner/ert-runner-0.8.0.ebuild
index 3c704bf3f85d..fd701b7c02b3 100644
--- a/app-emacs/ert-runner/ert-runner-0.8.0.ebuild
+++ b/app-emacs/ert-runner/ert-runner-0.8.0.ebuild
@@ -13,7 +13,7 @@ S="${WORKDIR}"/${PN}.el-${PV}
LICENSE="GPL-3+"
SLOT="0"
-KEYWORDS="amd64 ~arm64 ~ppc64 ~sparc ~x86"
+KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv ~sparc ~x86"
RESTRICT="test" # Tests fail (even with Cask installed)
RDEPEND="
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-emacs/ert-runner/
@ 2024-10-06 19:53 Maciej Barć
0 siblings, 0 replies; 8+ messages in thread
From: Maciej Barć @ 2024-10-06 19:53 UTC (permalink / raw
To: gentoo-commits
commit: b506dc58cbbb462610346bd332a27d16a06fec20
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 6 17:50:34 2024 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sun Oct 6 19:51:36 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b506dc58
app-emacs/ert-runner: enable tests; minor tweaks
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
app-emacs/ert-runner/ert-runner-0.8.0-r1.ebuild | 87 +++++++++++++++++++++++++
1 file changed, 87 insertions(+)
diff --git a/app-emacs/ert-runner/ert-runner-0.8.0-r1.ebuild b/app-emacs/ert-runner/ert-runner-0.8.0-r1.ebuild
new file mode 100644
index 000000000000..2124baa14fb0
--- /dev/null
+++ b/app-emacs/ert-runner/ert-runner-0.8.0-r1.ebuild
@@ -0,0 +1,87 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit elisp edo
+
+DESCRIPTION="Opinionated Emacs Ert testing workflow"
+HOMEPAGE="https://github.com/rejeep/ert-runner.el/"
+
+if [[ "${PV}" == *9999* ]] ; then
+ inherit git-r3
+
+ EGIT_REPO_URI="https://github.com/rejeep/${PN}.el.git"
+else
+ SRC_URI="https://github.com/rejeep/${PN}.el/archive/v${PV}.tar.gz
+ -> ${P}.tar.gz"
+ S="${WORKDIR}/${PN}.el-${PV}"
+
+ KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~sparc ~x86"
+fi
+
+LICENSE="GPL-3+"
+SLOT="0"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ app-emacs/ansi
+ app-emacs/commander
+ app-emacs/dash
+ app-emacs/f
+ app-emacs/dash
+ app-emacs/shut-up
+"
+BDEPEND="
+ ${RDEPEND}
+ test? (
+ app-emacs/ecukes
+ )
+"
+
+ELISP_REMOVE="
+ Makefile
+ features/reporter.feature
+"
+PATCHES=(
+ "${FILESDIR}/${PN}-bin-launcher-fix.patch"
+)
+
+DOCS=( README.md )
+SITEFILE="50${PN}-gentoo.el"
+
+src_prepare() {
+ elisp_src_prepare
+
+ sed "s|@SITELISP@|${EPREFIX}${SITELISP}/${PN}|" -i "./bin/${PN}" || die
+}
+
+src_compile() {
+ elisp_src_compile
+ elisp-compile ./reporters/*.el
+}
+
+src_test() {
+ # Set up fake Cask for tests.
+ mkdir -p "${T}/bin" || die
+ cat <<-EOF >> "${T}/bin/cask" || die
+ #!/usr/bin/env bash
+ set -e
+ if [[ "\${1}" != exec ]] ; then echo "Not a exec call!" ; exit 1 ; fi
+ shift
+ "\${@}"
+ EOF
+ chmod +x "${T}/bin/cask" || die
+ local -x PATH="${T}/bin:${PATH}" || die
+
+ edo ecukes --debug --reporter spec --script --verbose features
+}
+
+src_install() {
+ elisp_src_install
+ elisp-install "${PN}/reporters" reporters/*.el{,c}
+
+ exeinto /usr/bin
+ doexe "./bin/${PN}"
+}
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-emacs/ert-runner/
@ 2024-10-07 7:45 Maciej Barć
0 siblings, 0 replies; 8+ messages in thread
From: Maciej Barć @ 2024-10-07 7:45 UTC (permalink / raw
To: gentoo-commits
commit: 8ccdea6752be5e1e8948c3c6274389a811ae3888
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 7 07:43:05 2024 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Mon Oct 7 07:45:55 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ccdea67
app-emacs/ert-runner: fix ert-runner test launcher
Closes: https://bugs.gentoo.org/941096
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
app-emacs/ert-runner/ert-runner-0.8.0-r1.ebuild | 19 +++++++++++++++----
1 file changed, 15 insertions(+), 4 deletions(-)
diff --git a/app-emacs/ert-runner/ert-runner-0.8.0-r1.ebuild b/app-emacs/ert-runner/ert-runner-0.8.0-r1.ebuild
index 2124baa14fb0..79295684f877 100644
--- a/app-emacs/ert-runner/ert-runner-0.8.0-r1.ebuild
+++ b/app-emacs/ert-runner/ert-runner-0.8.0-r1.ebuild
@@ -54,7 +54,18 @@ SITEFILE="50${PN}-gentoo.el"
src_prepare() {
elisp_src_prepare
- sed "s|@SITELISP@|${EPREFIX}${SITELISP}/${PN}|" -i "./bin/${PN}" || die
+ # There are two "ert-runner" launchers,
+ # the one in "${S}" will be installed,
+ # the one in ./bin/ert-runner will be used only for tests.
+
+ # For later install.
+ sed "./bin/${PN}" \
+ -e "s|@SITELISP@|${EPREFIX}${SITELISP}/${PN}|" \
+ > "./${PN}.bash" \
+ || die
+
+ # For tests.
+ sed -i "./bin/${PN}" -e "s|@SITELISP@|${S}|" || die
}
src_compile() {
@@ -75,13 +86,13 @@ src_test() {
chmod +x "${T}/bin/cask" || die
local -x PATH="${T}/bin:${PATH}" || die
- edo ecukes --debug --reporter spec --script --verbose features
+ edo ecukes --debug --reporter spec --script --verbose ./features
}
src_install() {
elisp_src_install
- elisp-install "${PN}/reporters" reporters/*.el{,c}
+ elisp-install "${PN}/reporters" ./reporters/*.el{,c}
exeinto /usr/bin
- doexe "./bin/${PN}"
+ newexe "./${PN}.bash" "${PN}"
}
^ permalink raw reply related [flat|nested] 8+ messages in thread
end of thread, other threads:[~2024-10-07 7:46 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-06 10:27 [gentoo-commits] repo/gentoo:master commit in: app-emacs/ert-runner/ Jakov Smolić
-- strict thread matches above, loose matches on Subject: below --
2024-10-07 7:45 Maciej Barć
2024-10-06 19:53 Maciej Barć
2024-10-06 5:28 Sam James
2024-10-06 1:06 Sam James
2024-01-14 17:54 Arthur Zamarin
2023-01-27 17:13 Arthur Zamarin
2022-04-20 14:07 Maciej Barć
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox