From: "Amadeusz Piotr Żołnowski" <aidecoe@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-mail/notmuch/files/, net-mail/notmuch/
Date: Sun, 5 Feb 2017 11:19:12 +0000 (UTC) [thread overview]
Message-ID: <1486293447.c932649c01ff95cdc89b328548de7f44ee1384da.aidecoe@gentoo> (raw)
commit: c932649c01ff95cdc89b328548de7f44ee1384da
Author: Amadeusz Żołnowski <aidecoe <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 5 10:29:51 2017 +0000
Commit: Amadeusz Piotr Żołnowski <aidecoe <AT> gentoo <DOT> org>
CommitDate: Sun Feb 5 11:17:27 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c932649c
net-mail/notmuch: Fix tests to work with >=app-crypt/gnupg-2.1.16
Tests have been failing because path for Unix socket was too long.
Socket had been created in temporary directory within workdir. Create
temporary directory in /tmp instead.
Package-Manager: Portage-2.3.3, Repoman-2.3.1
net-mail/notmuch/files/fix-gpg-tests.patch | 16 ++++++++++++++++
net-mail/notmuch/notmuch-0.23.3.ebuild | 1 +
net-mail/notmuch/notmuch-0.23.5.ebuild | 1 +
3 files changed, 18 insertions(+)
diff --git a/net-mail/notmuch/files/fix-gpg-tests.patch b/net-mail/notmuch/files/fix-gpg-tests.patch
new file mode 100644
index 00000000..e674f18
--- /dev/null
+++ b/net-mail/notmuch/files/fix-gpg-tests.patch
@@ -0,0 +1,16 @@
+diff --git a/test/test-lib-common.sh b/test/test-lib-common.sh
+index 03ef1d2d..178820bd 100644
+--- a/test/test-lib-common.sh
++++ b/test/test-lib-common.sh
+@@ -139,10 +139,7 @@ export PATH MANPATH
+ # Test repository
+ test="tmp.$(basename "$0" .sh)"
+ test -n "$root" && test="$root/$test"
+-case "$test" in
+-/*) TMP_DIRECTORY="$test" ;;
+- *) TMP_DIRECTORY="$TEST_DIRECTORY/$test" ;;
+-esac
++TMP_DIRECTORY="$(mktemp -d)"
+ test ! -z "$debug" || remove_tmp=$TMP_DIRECTORY
+ rm -fr "$test" || {
+ GIT_EXIT_OK=t
diff --git a/net-mail/notmuch/notmuch-0.23.3.ebuild b/net-mail/notmuch/notmuch-0.23.3.ebuild
index 8a372a9..9799558 100644
--- a/net-mail/notmuch/notmuch-0.23.3.ebuild
+++ b/net-mail/notmuch/notmuch-0.23.3.ebuild
@@ -57,6 +57,7 @@ RDEPEND="${CDEPEND}
"
DOCS=( AUTHORS NEWS README )
+PATCHES=( "${FILESDIR}/fix-gpg-tests.patch" )
SITEFILE="50${PN}-gentoo.el"
MY_LD_LIBRARY_PATH="${WORKDIR}/${P}/lib"
diff --git a/net-mail/notmuch/notmuch-0.23.5.ebuild b/net-mail/notmuch/notmuch-0.23.5.ebuild
index b448318..86e50bb 100644
--- a/net-mail/notmuch/notmuch-0.23.5.ebuild
+++ b/net-mail/notmuch/notmuch-0.23.5.ebuild
@@ -57,6 +57,7 @@ RDEPEND="${CDEPEND}
"
DOCS=( AUTHORS NEWS README )
+PATCHES=( "${FILESDIR}/fix-gpg-tests.patch" )
SITEFILE="50${PN}-gentoo.el"
MY_LD_LIBRARY_PATH="${WORKDIR}/${P}/lib"
next reply other threads:[~2017-02-05 11:19 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-05 11:19 Amadeusz Piotr Żołnowski [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-03-22 21:14 [gentoo-commits] repo/gentoo:master commit in: net-mail/notmuch/files/, net-mail/notmuch/ Sam James
2025-03-22 20:06 Michał Górny
2024-05-08 21:26 Sam James
2023-01-13 8:22 Sam James
2021-06-13 7:10 Georgy Yakovlev
2021-04-14 0:27 Sam James
2020-02-01 23:37 Amadeusz Piotr Żołnowski
2019-11-19 22:15 Amadeusz Piotr Żołnowski
2017-04-01 19:46 Amadeusz Piotr Żołnowski
2017-01-25 22:46 Amadeusz Piotr Żołnowski
2016-12-29 21:39 Amadeusz Piotr Żołnowski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1486293447.c932649c01ff95cdc89b328548de7f44ee1384da.aidecoe@gentoo \
--to=aidecoe@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox