summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2019-11-16 23:27:31 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2019-12-03 00:34:38 +0100
commite24133b9a620b7e479f2107a1cfd5e9caf96b197 (patch)
tree84d39d971087f237b2d79580f515dd5fa95a9c46 /eclass/kde.org.eclass
parentecm.eclass: _ECM_UTILS_ECLASS -> _ECM_ECLASS (diff)
downloadgentoo-e24133b9a620b7e479f2107a1cfd5e9caf96b197.tar.gz
gentoo-e24133b9a620b7e479f2107a1cfd5e9caf96b197.tar.bz2
gentoo-e24133b9a620b7e479f2107a1cfd5e9caf96b197.zip
kde.org.eclass: Prefix internal functions as well
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'eclass/kde.org.eclass')
-rw-r--r--eclass/kde.org.eclass14
1 files changed, 7 insertions, 7 deletions
diff --git a/eclass/kde.org.eclass b/eclass/kde.org.eclass
index 8e13232bb9d1..d1cdb1b15dc1 100644
--- a/eclass/kde.org.eclass
+++ b/eclass/kde.org.eclass
@@ -77,7 +77,7 @@ case ${CATEGORY} in
*) ;;
esac
-_kde_is_unreleased() {
+_kde.org_is_unreleased() {
local pair
for pair in "${KDE_UNRELEASED[@]}" ; do
if [[ "${pair}" = "${CATEGORY}-${PV}" ]]; then
@@ -89,7 +89,7 @@ _kde_is_unreleased() {
}
# Determine fetch location for released tarballs
-_calculate_src_uri() {
+_kde.org_calculate_src_uri() {
debug-print-function ${FUNCNAME} "$@"
local _src_uri="mirror://kde/"
@@ -144,13 +144,13 @@ _calculate_src_uri() {
SRC_URI="${_src_uri}${KDE_ORG_NAME}-${PV}.tar.xz"
- if _kde_is_unreleased ; then
+ if _kde.org_is_unreleased ; then
RESTRICT+=" fetch"
fi
}
# Determine fetch location for live sources
-_calculate_live_repo() {
+_kde.org_calculate_live_repo() {
debug-print-function ${FUNCNAME} "$@"
SRC_URI=""
@@ -181,9 +181,9 @@ _calculate_live_repo() {
}
case ${KDE_BUILD_TYPE} in
- live) _calculate_live_repo ;;
+ live) _kde.org_calculate_live_repo ;;
*)
- _calculate_src_uri
+ _kde.org_calculate_src_uri
debug-print "${LINENO} ${ECLASS} ${FUNCNAME}: SRC_URI is ${SRC_URI}"
;;
esac
@@ -199,7 +199,7 @@ fi
# KDE_UNRELEASED, display a giant warning that the package has not yet been
# released upstream and should not be used.
kde.org_pkg_nofetch() {
- if ! _kde_is_unreleased ; then
+ if ! _kde.org_is_unreleased ; then
return
fi