summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmadeusz Żołnowski <aidecoe@gentoo.org>2016-07-19 21:53:11 +0100
committerAmadeusz Żołnowski <aidecoe@gentoo.org>2016-07-19 21:53:29 +0100
commitee16faa3b2fcadb880251f1c4045d7abf4ba8ca4 (patch)
tree54de8153557d47ae2603b67ed6220b0366f94ed4 /net-mail
parentapp-vim/html5: Stable for amd64. Retroactively mark stable for the remaining ... (diff)
downloadgentoo-ee16faa3b2fcadb880251f1c4045d7abf4ba8ca4.tar.gz
gentoo-ee16faa3b2fcadb880251f1c4045d7abf4ba8ca4.tar.bz2
gentoo-ee16faa3b2fcadb880251f1c4045d7abf4ba8ca4.zip
net-mail/notmuch: Don't die on unpack
Copy test database only for test. Package-Manager: portage-2.3.0
Diffstat (limited to 'net-mail')
-rw-r--r--net-mail/notmuch/notmuch-0.22-r2.ebuild6
-rw-r--r--net-mail/notmuch/notmuch-0.22.1.ebuild6
2 files changed, 8 insertions, 4 deletions
diff --git a/net-mail/notmuch/notmuch-0.22-r2.ebuild b/net-mail/notmuch/notmuch-0.22-r2.ebuild
index 28aab241a186..574809166b8e 100644
--- a/net-mail/notmuch/notmuch-0.22-r2.ebuild
+++ b/net-mail/notmuch/notmuch-0.22-r2.ebuild
@@ -93,8 +93,10 @@ pkg_setup() {
src_unpack() {
unpack "${P}".tar.gz
- mkdir -p "${S}"/test/test-databases || die
- cp "${DISTDIR}"/database-v1.tar.xz "${S}"/test/test-databases/ || die
+ if use test; then
+ mkdir -p "${S}"/test/test-databases || die
+ cp "${DISTDIR}"/database-v1.tar.xz "${S}"/test/test-databases/ || die
+ fi
}
src_prepare() {
diff --git a/net-mail/notmuch/notmuch-0.22.1.ebuild b/net-mail/notmuch/notmuch-0.22.1.ebuild
index 28aab241a186..574809166b8e 100644
--- a/net-mail/notmuch/notmuch-0.22.1.ebuild
+++ b/net-mail/notmuch/notmuch-0.22.1.ebuild
@@ -93,8 +93,10 @@ pkg_setup() {
src_unpack() {
unpack "${P}".tar.gz
- mkdir -p "${S}"/test/test-databases || die
- cp "${DISTDIR}"/database-v1.tar.xz "${S}"/test/test-databases/ || die
+ if use test; then
+ mkdir -p "${S}"/test/test-databases || die
+ cp "${DISTDIR}"/database-v1.tar.xz "${S}"/test/test-databases/ || die
+ fi
}
src_prepare() {