summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-07-14 18:18:48 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2018-07-14 18:18:48 +0200
commite13af6858b4c65a6a1bdd54d8b05160655958bd8 (patch)
tree38c7b055e39532251fb59113058377ca020d7010 /app-office/libreoffice/libreoffice-9999.ebuild
parentdev-ruby/httparty: add ruby25, ignore failing test (diff)
downloadgentoo-e13af6858b4c65a6a1bdd54d8b05160655958bd8.tar.gz
gentoo-e13af6858b4c65a6a1bdd54d8b05160655958bd8.tar.bz2
gentoo-e13af6858b4c65a6a1bdd54d8b05160655958bd8.zip
app-office/libreoffice: Simpler check-reqs
Package-Manager: Portage-2.3.41, Repoman-2.3.9
Diffstat (limited to 'app-office/libreoffice/libreoffice-9999.ebuild')
-rw-r--r--app-office/libreoffice/libreoffice-9999.ebuild11
1 files changed, 3 insertions, 8 deletions
diff --git a/app-office/libreoffice/libreoffice-9999.ebuild b/app-office/libreoffice/libreoffice-9999.ebuild
index 1a45077dea2..46abef27e98 100644
--- a/app-office/libreoffice/libreoffice-9999.ebuild
+++ b/app-office/libreoffice/libreoffice-9999.ebuild
@@ -261,6 +261,7 @@ _check_reqs() {
else
CHECKREQS_DISK_BUILD="6G"
fi
+ check-reqs_$1
}
pkg_pretend() {
@@ -273,10 +274,7 @@ pkg_pretend() {
ewarn "See also: https://wiki.documentfoundation.org/ReleaseNotes/5.3#Base"
fi
- if [[ ${MERGE_TYPE} != binary ]]; then
- _check_reqs
- check-reqs_pkg_pretend
- fi
+ [[ ${MERGE_TYPE} != binary ]] && _check_reqs pkg_pretend
}
pkg_setup() {
@@ -284,10 +282,7 @@ pkg_setup() {
python-single-r1_pkg_setup
xdg_environment_reset
- if [[ ${MERGE_TYPE} != binary ]]; then
- _check_reqs
- check-reqs_pkg_setup
- fi
+ [[ ${MERGE_TYPE} != binary ]] && _check_reqs pkg_setup
}
src_unpack() {