summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkinori Hattori <hattya@gentoo.org>2024-05-07 21:35:32 +0900
committerAkinori Hattori <hattya@gentoo.org>2024-05-07 21:37:54 +0900
commit8d87e9079a27f2293a908f651e5c736c4e86f8c5 (patch)
tree17baac338e1aabf907035baf8a2cb3696e8b0368 /app-text
parentapp-text/namazu: keepdir /var/lib/namazu/index (diff)
downloadgentoo-8d87e9079a27f2293a908f651e5c736c4e86f8c5.tar.gz
gentoo-8d87e9079a27f2293a908f651e5c736c4e86f8c5.tar.bz2
gentoo-8d87e9079a27f2293a908f651e5c736c4e86f8c5.zip
app-text/namazu: fix tests
Closes: https://bugs.gentoo.org/882465 Signed-off-by: Akinori Hattori <hattya@gentoo.org>
Diffstat (limited to 'app-text')
-rw-r--r--app-text/namazu/files/namazu-tests.patch8
-rw-r--r--app-text/namazu/namazu-2.0.21.ebuild5
-rw-r--r--app-text/namazu/namazu-2.0.22_pre8.ebuild5
3 files changed, 10 insertions, 8 deletions
diff --git a/app-text/namazu/files/namazu-tests.patch b/app-text/namazu/files/namazu-tests.patch
new file mode 100644
index 000000000000..c79f8aade6f3
--- /dev/null
+++ b/app-text/namazu/files/namazu-tests.patch
@@ -0,0 +1,8 @@
+--- a/tests/Makefile.am
++++ b/tests/Makefile.am
+@@ -26,3 +26,5 @@
+ rm -rf test-log tmp-data tmp.* idx[0-9]* ja-idx[0-9]*
+
+ EXTRA_DIST = $(TESTS) select-data commonfuncs
++
++.NOTPARALLEL:
diff --git a/app-text/namazu/namazu-2.0.21.ebuild b/app-text/namazu/namazu-2.0.21.ebuild
index daba19585dff..e62835732267 100644
--- a/app-text/namazu/namazu-2.0.21.ebuild
+++ b/app-text/namazu/namazu-2.0.21.ebuild
@@ -39,6 +39,7 @@ PATCHES=(
"${FILESDIR}"/${PN}-emacs-27.patch
"${FILESDIR}"/${PN}-perl-5.18.patch
"${FILESDIR}"/${PN}-perl-5.26.patch
+ "${FILESDIR}"/${PN}-tests.patch
"${FILESDIR}"/${PN}-underlinking.patch
"${FILESDIR}"/${P}-memmove.patch
)
@@ -76,10 +77,6 @@ src_compile() {
fi
}
-src_test() {
- emake -j1 check
-}
-
src_install() {
default
find "${ED}" -name '*.la' -delete || die
diff --git a/app-text/namazu/namazu-2.0.22_pre8.ebuild b/app-text/namazu/namazu-2.0.22_pre8.ebuild
index 972c12327567..8c3793c15d95 100644
--- a/app-text/namazu/namazu-2.0.22_pre8.ebuild
+++ b/app-text/namazu/namazu-2.0.22_pre8.ebuild
@@ -39,6 +39,7 @@ S="${WORKDIR}"/${MY_P}
PATCHES=(
"${FILESDIR}"/${PN}-gentoo.patch
"${FILESDIR}"/${PN}-configure.patch
+ "${FILESDIR}"/${PN}-tests.patch
"${FILESDIR}"/${PN}-underlinking.patch
)
@@ -75,10 +76,6 @@ src_compile() {
fi
}
-src_test() {
- emake -j1 check
-}
-
src_install() {
default
find "${ED}" -name '*.la' -delete || die