diff options
Diffstat (limited to 'eclass')
124 files changed, 782 insertions, 715 deletions
diff --git a/eclass/Manifest.gz b/eclass/Manifest.gz Binary files differindex 1ef4583da99c..bb92e28945d5 100644 --- a/eclass/Manifest.gz +++ b/eclass/Manifest.gz diff --git a/eclass/acct-group.eclass b/eclass/acct-group.eclass index b309d3643212..56b76ba1885b 100644 --- a/eclass/acct-group.eclass +++ b/eclass/acct-group.eclass @@ -48,7 +48,7 @@ inherit user # << Eclass variables >> -# @ECLASS-VARIABLE: ACCT_GROUP_NAME +# @ECLASS_VARIABLE: ACCT_GROUP_NAME # @INTERNAL # @DESCRIPTION: # The name of the group. This is forced to ${PN} and the policy @@ -56,7 +56,7 @@ inherit user ACCT_GROUP_NAME=${PN} readonly ACCT_GROUP_NAME -# @ECLASS-VARIABLE: ACCT_GROUP_ID +# @ECLASS_VARIABLE: ACCT_GROUP_ID # @REQUIRED # @DESCRIPTION: # Preferred GID for the new group. This variable is obligatory, and its @@ -66,7 +66,7 @@ readonly ACCT_GROUP_NAME # Overlays should set this to -1 to dynamically allocate GID. Using -1 # in ::gentoo is prohibited by policy. -# @ECLASS-VARIABLE: ACCT_GROUP_ENFORCE_ID +# @ECLASS_VARIABLE: ACCT_GROUP_ENFORCE_ID # @DESCRIPTION: # If set to a non-null value, the eclass will require the group to have # specified GID. If the group already exists with another GID, or diff --git a/eclass/acct-user.eclass b/eclass/acct-user.eclass index cf47470c1558..70ae2434b5df 100644 --- a/eclass/acct-user.eclass +++ b/eclass/acct-user.eclass @@ -56,7 +56,7 @@ inherit user # << Eclass variables >> -# @ECLASS-VARIABLE: ACCT_USER_NAME +# @ECLASS_VARIABLE: ACCT_USER_NAME # @INTERNAL # @DESCRIPTION: # The name of the user. This is forced to ${PN} and the policy prohibits @@ -64,7 +64,7 @@ inherit user ACCT_USER_NAME=${PN} readonly ACCT_USER_NAME -# @ECLASS-VARIABLE: ACCT_USER_ID +# @ECLASS_VARIABLE: ACCT_USER_ID # @REQUIRED # @DESCRIPTION: # Preferred UID for the new user. This variable is obligatory, and its @@ -74,33 +74,33 @@ readonly ACCT_USER_NAME # Overlays should set this to -1 to dynamically allocate UID. Using -1 # in ::gentoo is prohibited by policy. -# @ECLASS-VARIABLE: _ACCT_USER_ALREADY_EXISTS +# @ECLASS_VARIABLE: _ACCT_USER_ALREADY_EXISTS # @INTERNAL # @DESCRIPTION: # Status variable which indicates if user already exists. -# @ECLASS-VARIABLE: ACCT_USER_ENFORCE_ID +# @ECLASS_VARIABLE: ACCT_USER_ENFORCE_ID # @DESCRIPTION: # If set to a non-null value, the eclass will require the user to have # specified UID. If the user already exists with another UID, or # the UID is taken by another user, the install will fail. : ${ACCT_USER_ENFORCE_ID:=} -# @ECLASS-VARIABLE: ACCT_USER_NO_MODIFY +# @ECLASS_VARIABLE: ACCT_USER_NO_MODIFY # @DEFAULT_UNSET # @DESCRIPTION: # If set to a non-null value, the eclass will not make any changes # to an already existing user. : ${ACCT_USER_NO_MODIFY:=} -# @ECLASS-VARIABLE: ACCT_USER_SHELL +# @ECLASS_VARIABLE: ACCT_USER_SHELL # @DESCRIPTION: # The shell to use for the user. If not specified, a 'nologin' variant # for the system is used. This can be overriden in make.conf through # ACCT_USER_<UPPERCASE_USERNAME>_SHELL variable. : ${ACCT_USER_SHELL:=-1} -# @ECLASS-VARIABLE: ACCT_USER_HOME +# @ECLASS_VARIABLE: ACCT_USER_HOME # @DESCRIPTION: # The home directory for the user. If not specified, /dev/null is used. # The directory will be created with appropriate permissions if it does @@ -109,7 +109,7 @@ readonly ACCT_USER_NAME # ACCT_USER_<UPPERCASE_USERNAME>_HOME variable. : ${ACCT_USER_HOME:=/dev/null} -# @ECLASS-VARIABLE: ACCT_USER_HOME_OWNER +# @ECLASS_VARIABLE: ACCT_USER_HOME_OWNER # @DEFAULT_UNSET # @DESCRIPTION: # The ownership to use for the home directory, in chown ([user][:group]) @@ -117,14 +117,14 @@ readonly ACCT_USER_NAME # This can be overriden in make.conf through # ACCT_USER_<UPPERCASE_USERNAME>_HOME_OWNER variable. -# @ECLASS-VARIABLE: ACCT_USER_HOME_PERMS +# @ECLASS_VARIABLE: ACCT_USER_HOME_PERMS # @DESCRIPTION: # The permissions to use for the home directory, in chmod (octal # or verbose) form. This can be overriden in make.conf through # ACCT_USER_<UPPERCASE_USERNAME>_HOME_PERMS variable. : ${ACCT_USER_HOME_PERMS:=0755} -# @ECLASS-VARIABLE: ACCT_USER_GROUPS +# @ECLASS_VARIABLE: ACCT_USER_GROUPS # @REQUIRED # @DESCRIPTION: # List of groups the user should belong to. This must be a bash diff --git a/eclass/ada.eclass b/eclass/ada.eclass index b8deb31255c2..0bf3dcfe41cc 100644 --- a/eclass/ada.eclass +++ b/eclass/ada.eclass @@ -37,7 +37,7 @@ esac EXPORT_FUNCTIONS pkg_setup -# @ECLASS-VARIABLE: ADA_DEPS +# @ECLASS_VARIABLE: ADA_DEPS # @OUTPUT_VARIABLE # @DESCRIPTION: # This is an eclass-generated Ada dependency string for all @@ -53,7 +53,7 @@ EXPORT_FUNCTIONS pkg_setup # @CODE # -# @ECLASS-VARIABLE: _ADA_ALL_IMPLS +# @ECLASS_VARIABLE: _ADA_ALL_IMPLS # @INTERNAL # @DESCRIPTION: # All supported Ada implementations, most preferred last. diff --git a/eclass/alternatives.eclass b/eclass/alternatives.eclass index d6bb6b19e973..155a2457bbdf 100644 --- a/eclass/alternatives.eclass +++ b/eclass/alternatives.eclass @@ -51,12 +51,12 @@ EXPORT_FUNCTIONS pkg_postinst pkg_postrm if [[ -z ${_ALTERNATIVES_ECLASS} ]]; then _ALTERNATIVES_ECLASS=1 -# @ECLASS-VARIABLE: SOURCE +# @ECLASS_VARIABLE: SOURCE # @DEFAULT_UNSET # @DESCRIPTION: # The symlink to be created -# @ECLASS-VARIABLE: ALTERNATIVES +# @ECLASS_VARIABLE: ALTERNATIVES # @DEFAULT_UNSET # @DESCRIPTION: # The list of alternatives diff --git a/eclass/ant-tasks.eclass b/eclass/ant-tasks.eclass index 71923261084c..a11716bf2b62 100644 --- a/eclass/ant-tasks.eclass +++ b/eclass/ant-tasks.eclass @@ -33,27 +33,27 @@ inherit java-pkg-2 java-ant-2 EXPORT_FUNCTIONS src_unpack src_compile src_install -# @ECLASS-VARIABLE: ANT_TASK_JDKVER +# @ECLASS_VARIABLE: ANT_TASK_JDKVER # @PRE_INHERIT # @DESCRIPTION: # Affects the >=virtual/jdk version set in DEPEND string. Defaults to 1.8, can # be overridden from ebuild BEFORE inheriting this eclass. ANT_TASK_JDKVER=${ANT_TASK_JDKVER-1.8} -# @ECLASS-VARIABLE: ANT_TASK_JREVER +# @ECLASS_VARIABLE: ANT_TASK_JREVER # @PRE_INHERIT # @DESCRIPTION: # Affects the >=virtual/jre version set in DEPEND string. Defaults to 1.8, can # be overridden from ebuild BEFORE inheriting this eclass. ANT_TASK_JREVER=${ANT_TASK_JREVER-1.8} -# @ECLASS-VARIABLE: ANT_TASK_NAME +# @ECLASS_VARIABLE: ANT_TASK_NAME # @DESCRIPTION: # The name of this ant task as recognized by ant's build.xml, derived from $PN # by removing the ant- prefix. Read-only. ANT_TASK_NAME="${PN#ant-}" -# @ECLASS-VARIABLE: ANT_TASK_DEPNAME +# @ECLASS_VARIABLE: ANT_TASK_DEPNAME # @PRE_INHERIT # @DESCRIPTION: # Specifies JAVA_PKG_NAME (PN{-SLOT} used with java-pkg_jar-from) of the package @@ -63,7 +63,7 @@ ANT_TASK_NAME="${PN#ant-}" # one for each dependency. ANT_TASK_DEPNAME=${ANT_TASK_DEPNAME-${ANT_TASK_NAME}} -# @ECLASS-VARIABLE: ANT_TASK_DISABLE_VM_DEPS +# @ECLASS_VARIABLE: ANT_TASK_DISABLE_VM_DEPS # @PRE_INHERIT # @DEFAULT_UNSET # @DESCRIPTION: diff --git a/eclass/apache-2.eclass b/eclass/apache-2.eclass index ccdfaa4533b2..2197b3d84cd8 100644 --- a/eclass/apache-2.eclass +++ b/eclass/apache-2.eclass @@ -36,7 +36,7 @@ esac # INTERNAL VARIABLES # ============================================================================== -# @ECLASS-VARIABLE: GENTOO_PATCHNAME +# @ECLASS_VARIABLE: GENTOO_PATCHNAME # @DESCRIPTION: # This internal variable contains the prefix for the patch tarball. # Defaults to the full name and version (including revision) of the package. @@ -45,7 +45,7 @@ esac # GENTOO_PATCHNAME="gentoo-${PN}-${PV}${ORIG_PR:+-${ORIG_PR}}" [[ -n "${GENTOO_PATCHNAME}" ]] || GENTOO_PATCHNAME="gentoo-${PF}" -# @ECLASS-VARIABLE: GENTOO_PATCHDIR +# @ECLASS_VARIABLE: GENTOO_PATCHDIR # @DESCRIPTION: # This internal variable contains the working directory where patches and config # files are located. @@ -200,7 +200,7 @@ unset -f _apache2_set_module_depends # INTERNAL FUNCTIONS # ============================================================================== -# @ECLASS-VARIABLE: MY_MPM +# @ECLASS_VARIABLE: MY_MPM # @DESCRIPTION: # This internal variable contains the selected MPM after a call to setup_mpm() @@ -266,12 +266,12 @@ check_module_critical() { fi } -# @ECLASS-VARIABLE: MY_CONF +# @ECLASS_VARIABLE: MY_CONF # @DESCRIPTION: # This internal variable contains the econf options for the current module # selection after a call to setup_modules() -# @ECLASS-VARIABLE: MY_MODS +# @ECLASS_VARIABLE: MY_MODS # @DESCRIPTION: # This internal variable contains a sorted, space separated list of currently # selected modules after a call to setup_modules() diff --git a/eclass/aspell-dict-r1.eclass b/eclass/aspell-dict-r1.eclass index a779bf96e82b..c95f7c056354 100644 --- a/eclass/aspell-dict-r1.eclass +++ b/eclass/aspell-dict-r1.eclass @@ -14,7 +14,7 @@ # the new Aspell dictionaries (from gnu.org) which support aspell-0.60. # Support for aspell-0.60 has been added by Sergey Ulanov. -# @ECLASS-VARIABLE: ASPELL_LANG +# @ECLASS_VARIABLE: ASPELL_LANG # @PRE_INHERIT # @REQUIRED # @DESCRIPTION: @@ -22,13 +22,13 @@ # This is the name of the language, for instance "Hungarian". # Needs to be defined before inheriting the eclass. -# @ECLASS-VARIABLE: ASPELL_SPELLANG +# @ECLASS_VARIABLE: ASPELL_SPELLANG # @DESCRIPTION: # Short (readonly) form of the language code, generated from ${PN} # For instance, 'aspell-hu' yields the value 'hu'. readonly ASPELL_SPELLANG=${PN/aspell-/} -# @ECLASS-VARIABLE: ASPELL_VERSION +# @ECLASS_VARIABLE: ASPELL_VERSION # @PRE_INHERIT # @DEFAULT_UNSET # @DESCRIPTION: diff --git a/eclass/autotools.eclass b/eclass/autotools.eclass index 85be205c1032..8a44aae417db 100644 --- a/eclass/autotools.eclass +++ b/eclass/autotools.eclass @@ -37,25 +37,25 @@ esac inherit gnuconfig libtool -# @ECLASS-VARIABLE: WANT_AUTOCONF +# @ECLASS_VARIABLE: WANT_AUTOCONF # @PRE_INHERIT # @DESCRIPTION: # The major version of autoconf your package needs : ${WANT_AUTOCONF:=latest} -# @ECLASS-VARIABLE: WANT_AUTOMAKE +# @ECLASS_VARIABLE: WANT_AUTOMAKE # @PRE_INHERIT # @DESCRIPTION: # The major version of automake your package needs : ${WANT_AUTOMAKE:=latest} -# @ECLASS-VARIABLE: WANT_LIBTOOL +# @ECLASS_VARIABLE: WANT_LIBTOOL # @PRE_INHERIT # @DESCRIPTION: # Do you want libtool? Valid values here are "latest" and "none". : ${WANT_LIBTOOL:=latest} -# @ECLASS-VARIABLE: _LATEST_AUTOMAKE +# @ECLASS_VARIABLE: _LATEST_AUTOMAKE # @INTERNAL # @DESCRIPTION: # CONSTANT! @@ -111,7 +111,7 @@ if [[ -n ${WANT_LIBTOOL} ]] ; then export WANT_LIBTOOL fi -# @ECLASS-VARIABLE: AUTOTOOLS_DEPEND +# @ECLASS_VARIABLE: AUTOTOOLS_DEPEND # @OUTPUT_VARIABLE # @DESCRIPTION: # Contains the combination of requested automake/autoconf/libtool @@ -121,7 +121,7 @@ AUTOTOOLS_DEPEND="${_automake_atom} ${_libtool_atom}" RDEPEND="" -# @ECLASS-VARIABLE: AUTOTOOLS_AUTO_DEPEND +# @ECLASS_VARIABLE: AUTOTOOLS_AUTO_DEPEND # @PRE_INHERIT # @DESCRIPTION: # Set to 'no' to disable automatically adding to DEPEND. This lets @@ -138,21 +138,21 @@ __AUTOTOOLS_AUTO_DEPEND=${AUTOTOOLS_AUTO_DEPEND} # See top of eclass unset _automake_atom _autoconf_atom -# @ECLASS-VARIABLE: AM_OPTS +# @ECLASS_VARIABLE: AM_OPTS # @DEFAULT_UNSET # @DESCRIPTION: # Additional options to pass to automake during # eautoreconf call. : ${AM_OPTS:=} -# @ECLASS-VARIABLE: AT_NOEAUTOHEADER +# @ECLASS_VARIABLE: AT_NOEAUTOHEADER # @DEFAULT_UNSET # @DESCRIPTION: # Don't run eautoheader command if set to 'yes'; only used to work around # packages that don't want their headers being modified. : ${AT_NOEAUTOHEADER:=} -# @ECLASS-VARIABLE: AT_NOEAUTOMAKE +# @ECLASS_VARIABLE: AT_NOEAUTOMAKE # @DEFAULT_UNSET # @DESCRIPTION: # Don't run eautomake command if set to 'yes'; only used to workaround @@ -160,7 +160,7 @@ unset _automake_atom _autoconf_atom # not call AM_INIT_AUTOMAKE if it doesn't actually use automake. : ${AT_NOEAUTOMAKE:=} -# @ECLASS-VARIABLE: AT_NOELIBTOOLIZE +# @ECLASS_VARIABLE: AT_NOELIBTOOLIZE # @DEFAULT_UNSET # @DESCRIPTION: # Don't run elibtoolize command if set to 'yes', @@ -168,13 +168,13 @@ unset _automake_atom _autoconf_atom # particular options : ${AT_NOELIBTOOLIZE:=} -# @ECLASS-VARIABLE: AT_M4DIR +# @ECLASS_VARIABLE: AT_M4DIR # @DEFAULT_UNSET # @DESCRIPTION: # Additional director(y|ies) aclocal should search : ${AT_M4DIR:=} -# @ECLASS-VARIABLE: AT_SYS_M4DIR +# @ECLASS_VARIABLE: AT_SYS_M4DIR # @DEFAULT_UNSET # @INTERNAL # @DESCRIPTION: diff --git a/eclass/bzr.eclass b/eclass/bzr.eclass index b89f4216034f..ba4ddad45f18 100644 --- a/eclass/bzr.eclass +++ b/eclass/bzr.eclass @@ -30,59 +30,59 @@ BDEPEND="dev-vcs/breezy" EXPORT_FUNCTIONS src_unpack -# @ECLASS-VARIABLE: EBZR_STORE_DIR +# @ECLASS_VARIABLE: EBZR_STORE_DIR # @USER_VARIABLE # @DESCRIPTION: # The directory to store all fetched Bazaar live sources. : ${EBZR_STORE_DIR:=${PORTAGE_ACTUAL_DISTDIR:-${DISTDIR}}/bzr-src} -# @ECLASS-VARIABLE: EBZR_UNPACK_DIR +# @ECLASS_VARIABLE: EBZR_UNPACK_DIR # @DESCRIPTION: # The working directory where the sources are copied to. : ${EBZR_UNPACK_DIR:=${WORKDIR}/${P}} -# @ECLASS-VARIABLE: EBZR_INIT_REPO_CMD +# @ECLASS_VARIABLE: EBZR_INIT_REPO_CMD # @DESCRIPTION: # The Bazaar command to initialise a shared repository. : ${EBZR_INIT_REPO_CMD:="brz init-shared-repository --no-trees"} -# @ECLASS-VARIABLE: EBZR_FETCH_CMD +# @ECLASS_VARIABLE: EBZR_FETCH_CMD # @DESCRIPTION: # The Bazaar command to fetch the sources. : ${EBZR_FETCH_CMD:="brz branch --no-tree"} -# @ECLASS-VARIABLE: EBZR_UPDATE_CMD +# @ECLASS_VARIABLE: EBZR_UPDATE_CMD # @DESCRIPTION: # The Bazaar command to update the sources. : ${EBZR_UPDATE_CMD:="brz pull --overwrite-tags"} -# @ECLASS-VARIABLE: EBZR_EXPORT_CMD +# @ECLASS_VARIABLE: EBZR_EXPORT_CMD # @DESCRIPTION: # The Bazaar command to export a branch. : ${EBZR_EXPORT_CMD:="brz export"} -# @ECLASS-VARIABLE: EBZR_CHECKOUT_CMD +# @ECLASS_VARIABLE: EBZR_CHECKOUT_CMD # @DESCRIPTION: # The Bazaar command to checkout a branch. : ${EBZR_CHECKOUT_CMD:="brz checkout --lightweight -q"} -# @ECLASS-VARIABLE: EBZR_REVNO_CMD +# @ECLASS_VARIABLE: EBZR_REVNO_CMD # @DESCRIPTION: # The Bazaar command to list a revision number of the branch. : ${EBZR_REVNO_CMD:="brz revno"} -# @ECLASS-VARIABLE: EBZR_OPTIONS +# @ECLASS_VARIABLE: EBZR_OPTIONS # @DEFAULT_UNSET # @DESCRIPTION: # The options passed to the fetch and update commands. -# @ECLASS-VARIABLE: EBZR_REPO_URI +# @ECLASS_VARIABLE: EBZR_REPO_URI # @DEFAULT_UNSET # @REQUIRED # @DESCRIPTION: # The repository URI for the source package. -# @ECLASS-VARIABLE: EBZR_PROJECT +# @ECLASS_VARIABLE: EBZR_PROJECT # @DESCRIPTION: # The project name of your ebuild. Normally, the branch will be stored # in the ${EBZR_STORE_DIR}/${EBZR_PROJECT} directory. @@ -92,7 +92,7 @@ EXPORT_FUNCTIONS src_unpack # ${EBZR_STORE_DIR}/${EBZR_PROJECT}/${EBZR_BRANCH}. : ${EBZR_PROJECT:=${PN}} -# @ECLASS-VARIABLE: EBZR_BRANCH +# @ECLASS_VARIABLE: EBZR_BRANCH # @DEFAULT_UNSET # @DESCRIPTION: # The directory where to store the branch within a shared repository, @@ -107,12 +107,12 @@ EXPORT_FUNCTIONS src_unpack # needs not be set. In this case, the branch will be stored in a # stand-alone repository directly in EBZR_PROJECT. -# @ECLASS-VARIABLE: EBZR_REVISION +# @ECLASS_VARIABLE: EBZR_REVISION # @DEFAULT_UNSET # @DESCRIPTION: # Revision to fetch, defaults to the latest (see brz help revisionspec). -# @ECLASS-VARIABLE: EBZR_OFFLINE +# @ECLASS_VARIABLE: EBZR_OFFLINE # @USER_VARIABLE # @DESCRIPTION: # Set this variable to a non-empty value to disable automatic updating @@ -120,7 +120,7 @@ EXPORT_FUNCTIONS src_unpack # by users. : ${EBZR_OFFLINE=${EVCS_OFFLINE}} -# @ECLASS-VARIABLE: EVCS_UMASK +# @ECLASS_VARIABLE: EVCS_UMASK # @USER_VARIABLE # @DEFAULT_UNSET # @DESCRIPTION: @@ -132,7 +132,7 @@ EXPORT_FUNCTIONS src_unpack # portage group write access already can screw the system over in more # creative ways. -# @ECLASS-VARIABLE: EBZR_WORKDIR_CHECKOUT +# @ECLASS_VARIABLE: EBZR_WORKDIR_CHECKOUT # @DEFAULT_UNSET # @DESCRIPTION: # If this variable is set to a non-empty value, EBZR_CHECKOUT_CMD will diff --git a/eclass/cargo.eclass b/eclass/cargo.eclass index 18afd10fa0ed..c46f48146aed 100644 --- a/eclass/cargo.eclass +++ b/eclass/cargo.eclass @@ -57,7 +57,7 @@ IUSE="${IUSE} debug" ECARGO_HOME="${WORKDIR}/cargo_home" ECARGO_VENDOR="${ECARGO_HOME}/gentoo" -# @ECLASS-VARIABLE: CRATES +# @ECLASS_VARIABLE: CRATES # @DEFAULT_UNSET # @PRE_INHERIT # @DESCRIPTION: @@ -75,7 +75,7 @@ ECARGO_VENDOR="${ECARGO_HOME}/gentoo" # SRC_URI="$(cargo_crate_uris)" # @CODE -# @ECLASS-VARIABLE: CARGO_OPTIONAL +# @ECLASS_VARIABLE: CARGO_OPTIONAL # @DEFAULT_UNSET # @PRE_INHERIT # @DESCRIPTION: @@ -105,7 +105,7 @@ ECARGO_VENDOR="${ECARGO_HOME}/gentoo" # } # @CODE -# @ECLASS-VARIABLE: ECARGO_REGISTRY_DIR +# @ECLASS_VARIABLE: ECARGO_REGISTRY_DIR # @USER_VARIABLE # @DEFAULT_UNSET # @DESCRIPTION: @@ -116,7 +116,7 @@ ECARGO_VENDOR="${ECARGO_HOME}/gentoo" # # Defaults to "${DISTDIR}/cargo-registry" it not set. -# @ECLASS-VARIABLE: ECARGO_OFFLINE +# @ECLASS_VARIABLE: ECARGO_OFFLINE # @USER_VARIABLE # @DEFAULT_UNSET # @DESCRIPTION: @@ -124,7 +124,7 @@ ECARGO_VENDOR="${ECARGO_HOME}/gentoo" # cargo_live_src_unpack. # Inherits value of EVCS_OFFLINE if not set explicitly. -# @ECLASS-VARIABLE: EVCS_UMASK +# @ECLASS_VARIABLE: EVCS_UMASK # @USER_VARIABLE # @DEFAULT_UNSET # @DESCRIPTION: diff --git a/eclass/cdrom.eclass b/eclass/cdrom.eclass index 9dca3f63bc10..5d90a11eab77 100644 --- a/eclass/cdrom.eclass +++ b/eclass/cdrom.eclass @@ -25,7 +25,7 @@ _CDROM_ECLASS=1 inherit portability -# @ECLASS-VARIABLE: CDROM_OPTIONAL +# @ECLASS_VARIABLE: CDROM_OPTIONAL # @DEFAULT_UNSET # @PRE_INHERIT # @DESCRIPTION: diff --git a/eclass/check-reqs.eclass b/eclass/check-reqs.eclass index 2130e2e34914..5a754c54a303 100644 --- a/eclass/check-reqs.eclass +++ b/eclass/check-reqs.eclass @@ -48,27 +48,27 @@ EXPORT_FUNCTIONS pkg_pretend pkg_setup if [[ ! ${_CHECK_REQS_ECLASS} ]]; then _CHECK_REQS_ECLASS=1 -# @ECLASS-VARIABLE: CHECKREQS_MEMORY +# @ECLASS_VARIABLE: CHECKREQS_MEMORY # @DEFAULT_UNSET # @DESCRIPTION: # How much RAM is needed? Eg.: CHECKREQS_MEMORY=15M -# @ECLASS-VARIABLE: CHECKREQS_DISK_BUILD +# @ECLASS_VARIABLE: CHECKREQS_DISK_BUILD # @DEFAULT_UNSET # @DESCRIPTION: # How much diskspace is needed to build the package? Eg.: CHECKREQS_DISK_BUILD=2T -# @ECLASS-VARIABLE: CHECKREQS_DISK_USR +# @ECLASS_VARIABLE: CHECKREQS_DISK_USR # @DEFAULT_UNSET # @DESCRIPTION: # How much space in /usr is needed to install the package? Eg.: CHECKREQS_DISK_USR=15G -# @ECLASS-VARIABLE: CHECKREQS_DISK_VAR +# @ECLASS_VARIABLE: CHECKREQS_DISK_VAR # @DEFAULT_UNSET # @DESCRIPTION: # How much space is needed in /var? Eg.: CHECKREQS_DISK_VAR=3000M -# @ECLASS-VARIABLE: CHECKREQS_DONOTHING +# @ECLASS_VARIABLE: CHECKREQS_DONOTHING # @USER_VARIABLE # @DEFAULT_UNSET # @DESCRIPTION: @@ -457,7 +457,7 @@ _check-reqs_unsatisfied() { [[ ${EBUILD_PHASE} == "pretend" && -z ${CHECKREQS_DONOTHING} ]] && msg="eerror" ${msg} "There is NOT at least ${sizeunit} ${location}" - # @ECLASS-VARIABLE: CHECKREQS_FAILED + # @ECLASS_VARIABLE: CHECKREQS_FAILED # @INTERNAL # @DESCRIPTION: # If set the checks failed and eclass should abort the build. diff --git a/eclass/chromium-2.eclass b/eclass/chromium-2.eclass index 156ff21e2012..bf509d8ff0f8 100644 --- a/eclass/chromium-2.eclass +++ b/eclass/chromium-2.eclass @@ -46,7 +46,7 @@ chromium_suid_sandbox_check_kernel_config() { fi } -# @ECLASS-VARIABLE: CHROMIUM_LANGS +# @ECLASS_VARIABLE: CHROMIUM_LANGS # @DEFAULT_UNSET # @DESCRIPTION: # List of language packs available for this package. diff --git a/eclass/cmake-multilib.eclass b/eclass/cmake-multilib.eclass index b40157dc3fd4..61bacd3d60e3 100644 --- a/eclass/cmake-multilib.eclass +++ b/eclass/cmake-multilib.eclass @@ -21,7 +21,7 @@ # phase rather than 'default'. [[ ${EAPI} == 7 ]] && : ${CMAKE_ECLASS:=cmake-utils} -# @ECLASS-VARIABLE: CMAKE_ECLASS +# @ECLASS_VARIABLE: CMAKE_ECLASS # @PRE_INHERIT # @DESCRIPTION: # Only "cmake" is supported in EAPI-8 and later. @@ -29,7 +29,7 @@ # ebuilds that ported to cmake.eclass already. : ${CMAKE_ECLASS:=cmake} -# @ECLASS-VARIABLE: _CMAKE_ECLASS_IMPL +# @ECLASS_VARIABLE: _CMAKE_ECLASS_IMPL # @INTERNAL # @DESCRIPTION: # TODO: Cleanup once EAPI-7 support is gone. diff --git a/eclass/cmake-utils.eclass b/eclass/cmake-utils.eclass index 28753faf664b..85a9367b04b7 100644 --- a/eclass/cmake-utils.eclass +++ b/eclass/cmake-utils.eclass @@ -23,7 +23,7 @@ if [[ -z ${_CMAKE_UTILS_ECLASS} ]]; then _CMAKE_UTILS_ECLASS=1 -# @ECLASS-VARIABLE: BUILD_DIR +# @ECLASS_VARIABLE: BUILD_DIR # @DESCRIPTION: # Build directory where all cmake processed files should be generated. # For in-source build it's fixed to ${CMAKE_USE_DIR}. @@ -33,12 +33,12 @@ _CMAKE_UTILS_ECLASS=1 # This variable has been called CMAKE_BUILD_DIR formerly. # It is set under that name for compatibility. -# @ECLASS-VARIABLE: CMAKE_BINARY +# @ECLASS_VARIABLE: CMAKE_BINARY # @DESCRIPTION: # Eclass can use different cmake binary than the one provided in by system. : ${CMAKE_BINARY:=cmake} -# @ECLASS-VARIABLE: CMAKE_BUILD_TYPE +# @ECLASS_VARIABLE: CMAKE_BUILD_TYPE # @DESCRIPTION: # Set to override default CMAKE_BUILD_TYPE. Only useful for packages # known to make use of "if (CMAKE_BUILD_TYPE MATCHES xxx)". @@ -47,12 +47,12 @@ _CMAKE_UTILS_ECLASS=1 # specific compiler flags overriding make.conf. : ${CMAKE_BUILD_TYPE:=Gentoo} -# @ECLASS-VARIABLE: CMAKE_IN_SOURCE_BUILD +# @ECLASS_VARIABLE: CMAKE_IN_SOURCE_BUILD # @DEFAULT_UNSET # @DESCRIPTION: # Set to enable in-source build. -# @ECLASS-VARIABLE: CMAKE_MAKEFILE_GENERATOR +# @ECLASS_VARIABLE: CMAKE_MAKEFILE_GENERATOR # @DEFAULT_UNSET # @DESCRIPTION: # Specify a makefile generator to be used by cmake. @@ -60,41 +60,41 @@ _CMAKE_UTILS_ECLASS=1 # In EAPI 7 and above, the default is set to "ninja", # whereas in EAPIs below 7, it is set to "emake". -# @ECLASS-VARIABLE: CMAKE_MIN_VERSION +# @ECLASS_VARIABLE: CMAKE_MIN_VERSION # @DESCRIPTION: # Specify the minimum required CMake version. : ${CMAKE_MIN_VERSION:=3.9.6} -# @ECLASS-VARIABLE: CMAKE_REMOVE_MODULES +# @ECLASS_VARIABLE: CMAKE_REMOVE_MODULES # @DESCRIPTION: # Do we want to remove anything? yes or whatever else for no : ${CMAKE_REMOVE_MODULES:=yes} -# @ECLASS-VARIABLE: CMAKE_REMOVE_MODULES_LIST +# @ECLASS_VARIABLE: CMAKE_REMOVE_MODULES_LIST # @DESCRIPTION: # Space-separated list of CMake modules that will be removed in $S during src_prepare, # in order to force packages to use the system version. : ${CMAKE_REMOVE_MODULES_LIST:=FindBLAS FindLAPACK} -# @ECLASS-VARIABLE: CMAKE_USE_DIR +# @ECLASS_VARIABLE: CMAKE_USE_DIR # @DESCRIPTION: # Sets the directory where we are working with cmake. # For example when application uses autotools and only one # plugin needs to be done by cmake. # By default it uses ${S}. -# @ECLASS-VARIABLE: CMAKE_VERBOSE +# @ECLASS_VARIABLE: CMAKE_VERBOSE # @DESCRIPTION: # Set to OFF to disable verbose messages during compilation : ${CMAKE_VERBOSE:=ON} -# @ECLASS-VARIABLE: CMAKE_WARN_UNUSED_CLI +# @ECLASS_VARIABLE: CMAKE_WARN_UNUSED_CLI # @DESCRIPTION: # Warn about variables that are declared on the command line # but not used. Might give false-positives. # "no" to disable (default) or anything else to enable. -# @ECLASS-VARIABLE: CMAKE_EXTRA_CACHE_FILE +# @ECLASS_VARIABLE: CMAKE_EXTRA_CACHE_FILE # @USER_VARIABLE # @DEFAULT_UNSET # @DESCRIPTION: @@ -102,7 +102,7 @@ _CMAKE_UTILS_ECLASS=1 # for econf and is needed to pass TRY_RUN results when cross-compiling. # Should be set by user in a per-package basis in /etc/portage/package.env. -# @ECLASS-VARIABLE: CMAKE_UTILS_QA_SRC_DIR_READONLY +# @ECLASS_VARIABLE: CMAKE_UTILS_QA_SRC_DIR_READONLY # @USER_VARIABLE # @DEFAULT_UNSET # @DESCRIPTION: diff --git a/eclass/cmake.eclass b/eclass/cmake.eclass index c9ff40f42c2e..3d4cc0bd7128 100644 --- a/eclass/cmake.eclass +++ b/eclass/cmake.eclass @@ -28,7 +28,7 @@ _CMAKE_ECLASS=1 inherit flag-o-matic multiprocessing ninja-utils toolchain-funcs xdg-utils -# @ECLASS-VARIABLE: BUILD_DIR +# @ECLASS_VARIABLE: BUILD_DIR # @DEFAULT_UNSET # @DESCRIPTION: # Build directory where all cmake processed files should be generated. @@ -38,13 +38,13 @@ inherit flag-o-matic multiprocessing ninja-utils toolchain-funcs xdg-utils [[ ${EAPI} == 7 ]] && : ${BUILD_DIR:=${WORKDIR}/${P}_build} # EAPI-8: set inside _cmake_check_build_dir -# @ECLASS-VARIABLE: CMAKE_BINARY +# @ECLASS_VARIABLE: CMAKE_BINARY # @DESCRIPTION: # Eclass can use different cmake binary than the one provided in by system. : ${CMAKE_BINARY:=cmake} [[ ${EAPI} == 7 ]] && : ${CMAKE_BUILD_TYPE:=Gentoo} -# @ECLASS-VARIABLE: CMAKE_BUILD_TYPE +# @ECLASS_VARIABLE: CMAKE_BUILD_TYPE # @DESCRIPTION: # Set to override default CMAKE_BUILD_TYPE. Only useful for packages # known to make use of "if (CMAKE_BUILD_TYPE MATCHES xxx)". @@ -57,12 +57,12 @@ inherit flag-o-matic multiprocessing ninja-utils toolchain-funcs xdg-utils # In EAPI 7, the default was non-standard build type of Gentoo. : ${CMAKE_BUILD_TYPE:=RelWithDebInfo} -# @ECLASS-VARIABLE: CMAKE_IN_SOURCE_BUILD +# @ECLASS_VARIABLE: CMAKE_IN_SOURCE_BUILD # @DEFAULT_UNSET # @DESCRIPTION: # Set to enable in-source build. -# @ECLASS-VARIABLE: CMAKE_MAKEFILE_GENERATOR +# @ECLASS_VARIABLE: CMAKE_MAKEFILE_GENERATOR # @PRE_INHERIT # @DEFAULT_UNSET # @DESCRIPTION: @@ -71,7 +71,7 @@ inherit flag-o-matic multiprocessing ninja-utils toolchain-funcs xdg-utils # The default is set to "ninja". : ${CMAKE_MAKEFILE_GENERATOR:=ninja} -# @ECLASS-VARIABLE: CMAKE_REMOVE_MODULES_LIST +# @ECLASS_VARIABLE: CMAKE_REMOVE_MODULES_LIST # @PRE_INHERIT # @DEFAULT_UNSET # @DESCRIPTION: @@ -90,25 +90,25 @@ else fi fi -# @ECLASS-VARIABLE: CMAKE_USE_DIR +# @ECLASS_VARIABLE: CMAKE_USE_DIR # @DESCRIPTION: # Sets the directory where we are working with cmake, for example when # application uses autotools and only one plugin needs to be done by cmake. # By default it uses current working directory (in EAPI-7: ${S}). -# @ECLASS-VARIABLE: CMAKE_VERBOSE +# @ECLASS_VARIABLE: CMAKE_VERBOSE # @DESCRIPTION: # Set to OFF to disable verbose messages during compilation : ${CMAKE_VERBOSE:=ON} -# @ECLASS-VARIABLE: CMAKE_WARN_UNUSED_CLI +# @ECLASS_VARIABLE: CMAKE_WARN_UNUSED_CLI # @DESCRIPTION: # Warn about variables that are declared on the command line # but not used. Might give false-positives. # "no" to disable (default) or anything else to enable. : ${CMAKE_WARN_UNUSED_CLI:=yes} -# @ECLASS-VARIABLE: CMAKE_EXTRA_CACHE_FILE +# @ECLASS_VARIABLE: CMAKE_EXTRA_CACHE_FILE # @USER_VARIABLE # @DEFAULT_UNSET # @DESCRIPTION: @@ -116,7 +116,7 @@ fi # for econf and is needed to pass TRY_RUN results when cross-compiling. # Should be set by user in a per-package basis in /etc/portage/package.env. -# @ECLASS-VARIABLE: CMAKE_QA_SRC_DIR_READONLY +# @ECLASS_VARIABLE: CMAKE_QA_SRC_DIR_READONLY # @USER_VARIABLE # @DEFAULT_UNSET # @DESCRIPTION: diff --git a/eclass/common-lisp-3.eclass b/eclass/common-lisp-3.eclass index 78f18f5231fa..5314e391db8f 100644 --- a/eclass/common-lisp-3.eclass +++ b/eclass/common-lisp-3.eclass @@ -20,25 +20,25 @@ inherit eutils if [[ -z ${_COMMON_LISP_3_ECLASS} ]]; then _COMMON_LISP_3_ECLASS=1 -# @ECLASS-VARIABLE: CLIMPLEMENTATIONS +# @ECLASS_VARIABLE: CLIMPLEMENTATIONS # @DESCRIPTION: # Common Lisp implementations CLIMPLEMENTATIONS="sbcl clisp clozurecl cmucl ecls gcl abcl" -# @ECLASS-VARIABLE: CLSOURCEROOT +# @ECLASS_VARIABLE: CLSOURCEROOT # @DESCRIPTION: # Default path of Common Lisp libraries sources. Sources will # be installed into ${CLSOURCEROOT}/${CLPACKAGE}. CLSOURCEROOT="${ROOT%/}"/usr/share/common-lisp/source -# @ECLASS-VARIABLE: CLSYSTEMROOT +# @ECLASS_VARIABLE: CLSYSTEMROOT # @DESCRIPTION: # Default path to find any asdf file. Any asdf files will be # symlinked in ${CLSYSTEMROOT}/${CLSYSTEM} as they may be in # an arbitrarily deeply nested directory under ${CLSOURCEROOT}/${CLPACKAGE}. CLSYSTEMROOT="${ROOT%/}"/usr/share/common-lisp/systems -# @ECLASS-VARIABLE: CLPACKAGE +# @ECLASS_VARIABLE: CLPACKAGE # @DESCRIPTION: # Default package name. To override, set these after inheriting this eclass. CLPACKAGE="${PN}" diff --git a/eclass/cuda.eclass b/eclass/cuda.eclass index 08d2302d55b9..3dc8299c275c 100644 --- a/eclass/cuda.eclass +++ b/eclass/cuda.eclass @@ -30,13 +30,13 @@ if [[ -z ${_CUDA_ECLASS} ]]; then inherit flag-o-matic toolchain-funcs [[ ${EAPI} == [56] ]] && inherit eapi7-ver -# @ECLASS-VARIABLE: NVCCFLAGS +# @ECLASS_VARIABLE: NVCCFLAGS # @DESCRIPTION: # nvcc compiler flags (see nvcc --help), which should be used like # CFLAGS for c compiler : ${NVCCFLAGS:=-O2} -# @ECLASS-VARIABLE: CUDA_VERBOSE +# @ECLASS_VARIABLE: CUDA_VERBOSE # @DESCRIPTION: # Being verbose during compilation to see underlying commands : ${CUDA_VERBOSE:=true} diff --git a/eclass/cvs.eclass b/eclass/cvs.eclass index 99b90cec6b54..a90a4d87f1c5 100644 --- a/eclass/cvs.eclass +++ b/eclass/cvs.eclass @@ -33,19 +33,19 @@ esac # this eclass will take care of that. If you want to set the global # KDE cvs ebuilds' settings, see the comments in kde-source.eclass. -# @ECLASS-VARIABLE: ECVS_CVS_COMPRESS +# @ECLASS_VARIABLE: ECVS_CVS_COMPRESS # @DESCRIPTION: # Set the default compression level. Has no effect when ECVS_CVS_COMMAND # is defined by ebuild/user. : ${ECVS_CVS_COMPRESS:=-z1} -# @ECLASS-VARIABLE: ECVS_CVS_OPTIONS +# @ECLASS_VARIABLE: ECVS_CVS_OPTIONS # @DESCRIPTION: # Additional options to the cvs commands. Has no effect when ECVS_CVS_COMMAND # is defined by ebuild/user. : ${ECVS_CVS_OPTIONS:=-q -f} -# @ECLASS-VARIABLE: ECVS_CVS_COMMAND +# @ECLASS_VARIABLE: ECVS_CVS_COMMAND # @DESCRIPTION: # CVS command to run # @@ -55,18 +55,18 @@ esac # compression. : ${ECVS_CVS_COMMAND:=cvs ${ECVS_CVS_OPTIONS} ${ECVS_CVS_COMPRESS}} -# @ECLASS-VARIABLE: ECVS_UP_OPTS +# @ECLASS_VARIABLE: ECVS_UP_OPTS # @DESCRIPTION: # CVS options given after the cvs update command. Don't remove "-dP" or things # won't work. : ${ECVS_UP_OPTS:=-dP} -# @ECLASS-VARIABLE: ECVS_CO_OPTS +# @ECLASS_VARIABLE: ECVS_CO_OPTS # @DEFAULT_UNSET # @DESCRIPTION: # CVS options given after the cvs checkout command. -# @ECLASS-VARIABLE: ECVS_OFFLINE +# @ECLASS_VARIABLE: ECVS_OFFLINE # @USER_VARIABLE # @DESCRIPTION: # Set this variable to a non-empty value to disable the automatic updating of @@ -74,14 +74,14 @@ esac # tree by users. : ${ECVS_OFFLINE:=${EVCS_OFFLINE}} -# @ECLASS-VARIABLE: ECVS_LOCAL +# @ECLASS_VARIABLE: ECVS_LOCAL # @DEFAULT_UNSET # @DESCRIPTION: # If this is set, the CVS module will be fetched non-recursively. # Refer to the information in the CVS man page regarding the -l # command option (not the -l global option). -# @ECLASS-VARIABLE: ECVS_LOCALNAME +# @ECLASS_VARIABLE: ECVS_LOCALNAME # @DEFAULT_UNSET # @DESCRIPTION: # Local name of checkout directory @@ -94,12 +94,12 @@ esac # some such, things will break because the ebuild won't expect it and # have e.g. a wrong $S setting. -# @ECLASS-VARIABLE: ECVS_TOP_DIR +# @ECLASS_VARIABLE: ECVS_TOP_DIR # @DESCRIPTION: # The directory under which CVS modules are checked out. : ${ECVS_TOP_DIR:="${PORTAGE_ACTUAL_DISTDIR-${DISTDIR}}/cvs-src"} -# @ECLASS-VARIABLE: ECVS_SERVER +# @ECLASS_VARIABLE: ECVS_SERVER # @DESCRIPTION: # CVS path # @@ -112,7 +112,7 @@ esac # is already checked out in ECVS_TOP_DIR). : ${ECVS_SERVER:="offline"} -# @ECLASS-VARIABLE: ECVS_MODULE +# @ECLASS_VARIABLE: ECVS_MODULE # @REQUIRED # @DESCRIPTION: # The name of the CVS module to be fetched @@ -121,13 +121,13 @@ esac # several directory levels, i.e. "foo/bar/baz" #[[ -z ${ECVS_MODULE} ]] && die "$ECLASS: error: ECVS_MODULE not set, cannot continue" -# @ECLASS-VARIABLE: ECVS_DATE +# @ECLASS_VARIABLE: ECVS_DATE # @DEFAULT_UNSET # @DESCRIPTION: # The date of the checkout. See the -D date_spec option in the cvs # man page for more details. -# @ECLASS-VARIABLE: ECVS_BRANCH +# @ECLASS_VARIABLE: ECVS_BRANCH # @DEFAULT_UNSET # @DESCRIPTION: # The name of the branch/tag to use @@ -136,7 +136,7 @@ esac # branch checkout to head if used. #: ${ECVS_BRANCH:="HEAD"} -# @ECLASS-VARIABLE: ECVS_AUTH +# @ECLASS_VARIABLE: ECVS_AUTH # @PRE_INHERIT # @DESCRIPTION: # Authentication method to use @@ -154,17 +154,17 @@ esac # ( from gnustep-apps/textedit ) : ${ECVS_AUTH:="pserver"} -# @ECLASS-VARIABLE: ECVS_USER +# @ECLASS_VARIABLE: ECVS_USER # @DESCRIPTION: # Username to use for authentication on the remote server. : ${ECVS_USER:="anonymous"} -# @ECLASS-VARIABLE: ECVS_PASS +# @ECLASS_VARIABLE: ECVS_PASS # @DEFAULT_UNSET # @DESCRIPTION: # Password to use for authentication on the remote server -# @ECLASS-VARIABLE: ECVS_SSH_HOST_KEY +# @ECLASS_VARIABLE: ECVS_SSH_HOST_KEY # @DEFAULT_UNSET # @DESCRIPTION: # If SSH is used for `ext' authentication, use this variable to @@ -174,7 +174,7 @@ esac # WARNING: If a SSH host key is not specified using this variable, the # remote host key will not be verified. -# @ECLASS-VARIABLE: ECVS_CLEAN +# @ECLASS_VARIABLE: ECVS_CLEAN # @DEFAULT_UNSET # @DESCRIPTION: # Set this to get a clean copy when updating (passes the diff --git a/eclass/depend.apache.eclass b/eclass/depend.apache.eclass index a6ce217687b9..51410265bbc5 100644 --- a/eclass/depend.apache.eclass +++ b/eclass/depend.apache.eclass @@ -55,69 +55,69 @@ esac # INTERNAL VARIABLES # ============================================================================== -# @ECLASS-VARIABLE: APACHE_VERSION +# @ECLASS_VARIABLE: APACHE_VERSION # @DESCRIPTION: # Stores the version of apache we are going to be ebuilding. # This variable is set by the want/need_apache functions. -# @ECLASS-VARIABLE: APXS +# @ECLASS_VARIABLE: APXS # @DESCRIPTION: # Path to the apxs tool. # This variable is set by the want/need_apache functions. -# @ECLASS-VARIABLE: APACHE_BIN +# @ECLASS_VARIABLE: APACHE_BIN # @DESCRIPTION: # Path to the apache binary. # This variable is set by the want/need_apache functions. -# @ECLASS-VARIABLE: APACHE_CTL +# @ECLASS_VARIABLE: APACHE_CTL # @DESCRIPTION: # Path to the apachectl tool. # This variable is set by the want/need_apache functions. -# @ECLASS-VARIABLE: APACHE_BASEDIR +# @ECLASS_VARIABLE: APACHE_BASEDIR # @DESCRIPTION: # Path to the server root directory. # This variable is set by the want/need_apache functions (EAPI=0 through 5) # or depend.apache_pkg_setup (EAPI=6 and later). -# @ECLASS-VARIABLE: APACHE_CONFDIR +# @ECLASS_VARIABLE: APACHE_CONFDIR # @DESCRIPTION: # Path to the configuration file directory. # This variable is set by the want/need_apache functions. -# @ECLASS-VARIABLE: APACHE_MODULES_CONFDIR +# @ECLASS_VARIABLE: APACHE_MODULES_CONFDIR # @DESCRIPTION: # Path where module configuration files are kept. # This variable is set by the want/need_apache functions. -# @ECLASS-VARIABLE: APACHE_VHOSTS_CONFDIR +# @ECLASS_VARIABLE: APACHE_VHOSTS_CONFDIR # @DESCRIPTION: # Path where virtual host configuration files are kept. # This variable is set by the want/need_apache functions. -# @ECLASS-VARIABLE: APACHE_MODULESDIR +# @ECLASS_VARIABLE: APACHE_MODULESDIR # @DESCRIPTION: # Path where we install modules. # This variable is set by the want/need_apache functions (EAPI=0 through 5) # or depend.apache_pkg_setup (EAPI=6 and later). -# @ECLASS-VARIABLE: APACHE_DEPEND +# @ECLASS_VARIABLE: APACHE_DEPEND # @DESCRIPTION: # Dependencies for Apache APACHE_DEPEND="www-servers/apache" -# @ECLASS-VARIABLE: APACHE2_DEPEND +# @ECLASS_VARIABLE: APACHE2_DEPEND # @DESCRIPTION: # Dependencies for Apache 2.x APACHE2_DEPEND="=www-servers/apache-2*" -# @ECLASS-VARIABLE: APACHE2_2_DEPEND +# @ECLASS_VARIABLE: APACHE2_2_DEPEND # @DESCRIPTION: # Dependencies for Apache 2.2.x APACHE2_2_DEPEND="=www-servers/apache-2.2*" -# @ECLASS-VARIABLE: APACHE2_4_DEPEND +# @ECLASS_VARIABLE: APACHE2_4_DEPEND # @DESCRIPTION: # Dependencies for Apache 2.4.x APACHE2_4_DEPEND="=www-servers/apache-2.4*" diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass index 4ce666eee902..ed2e9f70269f 100644 --- a/eclass/distutils-r1.eclass +++ b/eclass/distutils-r1.eclass @@ -55,7 +55,7 @@ case "${EAPI:-0}" in ;; esac -# @ECLASS-VARIABLE: DISTUTILS_OPTIONAL +# @ECLASS_VARIABLE: DISTUTILS_OPTIONAL # @DEFAULT_UNSET # @DESCRIPTION: # If set to a non-null value, distutils part in the ebuild will @@ -67,7 +67,7 @@ esac # distutils-r1 default phase functions or call the build system # manually. -# @ECLASS-VARIABLE: DISTUTILS_SINGLE_IMPL +# @ECLASS_VARIABLE: DISTUTILS_SINGLE_IMPL # @DEFAULT_UNSET # @DESCRIPTION: # If set to a non-null value, the ebuild will support setting a single @@ -78,7 +78,7 @@ esac # to be exported. It must be run in order for the eclass functions # to function properly. -# @ECLASS-VARIABLE: DISTUTILS_USE_PEP517 +# @ECLASS_VARIABLE: DISTUTILS_USE_PEP517 # @PRE_INHERIT # @DEFAULT_UNSET # @DESCRIPTION: @@ -110,7 +110,7 @@ esac # The variable needs to be set before the inherit line. The eclass # adds appropriate build-time dependencies and verifies the value. -# @ECLASS-VARIABLE: DISTUTILS_USE_SETUPTOOLS +# @ECLASS_VARIABLE: DISTUTILS_USE_SETUPTOOLS # @DEFAULT_UNSET # @PRE_INHERIT # @DESCRIPTION: @@ -133,7 +133,7 @@ esac # It is available only in non-PEP517 mode. It needs to be set before # the inherit line. -# @ECLASS-VARIABLE: DISTUTILS_DEPS +# @ECLASS_VARIABLE: DISTUTILS_DEPS # @OUTPUT_VARIABLE # @DESCRIPTION: # This is an eclass-generated build-time dependency string for the build @@ -268,7 +268,7 @@ _distutils_set_globals() { _distutils_set_globals unset -f _distutils_set_globals -# @ECLASS-VARIABLE: PATCHES +# @ECLASS_VARIABLE: PATCHES # @DEFAULT_UNSET # @DESCRIPTION: # An array containing patches to be applied to the sources before @@ -284,7 +284,7 @@ unset -f _distutils_set_globals # PATCHES=( "${FILESDIR}"/${P}-make-gentoo-happy.patch ) # @CODE -# @ECLASS-VARIABLE: DOCS +# @ECLASS_VARIABLE: DOCS # @DEFAULT_UNSET # @DESCRIPTION: # An array containing documents installed using dodoc. The files listed @@ -300,7 +300,7 @@ unset -f _distutils_set_globals # DOCS=( NEWS README ) # @CODE -# @ECLASS-VARIABLE: HTML_DOCS +# @ECLASS_VARIABLE: HTML_DOCS # @DEFAULT_UNSET # @DESCRIPTION: # An array containing documents installed using dohtml. The files @@ -314,7 +314,7 @@ unset -f _distutils_set_globals # HTML_DOCS=( doc/html/. ) # @CODE -# @ECLASS-VARIABLE: DISTUTILS_IN_SOURCE_BUILD +# @ECLASS_VARIABLE: DISTUTILS_IN_SOURCE_BUILD # @DEFAULT_UNSET # @DESCRIPTION: # If set to a non-null value, in-source builds will be enabled. @@ -330,7 +330,7 @@ unset -f _distutils_set_globals # 'build --build-base ${BUILD_DIR}' to enforce keeping & using built # files in the specific root. -# @ECLASS-VARIABLE: DISTUTILS_ALL_SUBPHASE_IMPLS +# @ECLASS_VARIABLE: DISTUTILS_ALL_SUBPHASE_IMPLS # @DEFAULT_UNSET # @DESCRIPTION: # An array of patterns specifying which implementations can be used @@ -358,7 +358,7 @@ unset -f _distutils_set_globals # } # @CODE -# @ECLASS-VARIABLE: DISTUTILS_ARGS +# @ECLASS_VARIABLE: DISTUTILS_ARGS # @DEFAULT_UNSET # @DESCRIPTION: # An array containing options to be passed to setup.py. They are passed diff --git a/eclass/docs.eclass b/eclass/docs.eclass index 684ab26919ce..611485c227ff 100644 --- a/eclass/docs.eclass +++ b/eclass/docs.eclass @@ -68,7 +68,7 @@ case "${EAPI:-0}" in ;; esac -# @ECLASS-VARIABLE: DOCS_BUILDER +# @ECLASS_VARIABLE: DOCS_BUILDER # @REQUIRED # @PRE_INHERIT # @DESCRIPTION: @@ -77,7 +77,7 @@ esac # PYTHON_COMPAT should be set for python based # doc builders: sphinx and mkdocs -# @ECLASS-VARIABLE: DOCS_DIR +# @ECLASS_VARIABLE: DOCS_DIR # @DESCRIPTION: # Path containing the doc builder config file(s). # @@ -94,7 +94,7 @@ esac # # Defaults to ${S} -# @ECLASS-VARIABLE: DOCS_DEPEND +# @ECLASS_VARIABLE: DOCS_DEPEND # @DEFAULT_UNSET # @PRE_INHERIT # @DESCRIPTION: @@ -112,14 +112,14 @@ esac # possible to call it later in your ebuild again if # necessary. -# @ECLASS-VARIABLE: DOCS_AUTODOC +# @ECLASS_VARIABLE: DOCS_AUTODOC # @PRE_INHERIT # @DESCRIPTION: # Sets whether to use sphinx.ext.autodoc/mkautodoc # Defaults to 1 (True) for sphinx, and 0 (False) for mkdocs. # Not relevant for doxygen. -# @ECLASS-VARIABLE: DOCS_OUTDIR +# @ECLASS_VARIABLE: DOCS_OUTDIR # @DESCRIPTION: # Sets the directory where the documentation should # be built into. There is no real reason to change this. @@ -133,7 +133,7 @@ esac # # Defaults to ${S}/_build/html -# @ECLASS-VARIABLE: DOCS_CONFIG_NAME +# @ECLASS_VARIABLE: DOCS_CONFIG_NAME # @DESCRIPTION: # Name of the doc builder config file. # diff --git a/eclass/dotnet.eclass b/eclass/dotnet.eclass index cff3a5341569..3affc00ba458 100644 --- a/eclass/dotnet.eclass +++ b/eclass/dotnet.eclass @@ -27,7 +27,7 @@ esac inherit mono-env -# @ECLASS-VARIABLE: USE_DOTNET +# @ECLASS_VARIABLE: USE_DOTNET # @PRE_INHERIT # @DESCRIPTION: # Use flags added to IUSE diff --git a/eclass/dune.eclass b/eclass/dune.eclass index 522dc2a8b52f..5009648114f5 100644 --- a/eclass/dune.eclass +++ b/eclass/dune.eclass @@ -14,7 +14,7 @@ # Provides dependencies on dDne and OCaml and default src_compile, src_test and # src_install for Dune-based packages. -# @ECLASS-VARIABLE: DUNE_PKG_NAME +# @ECLASS_VARIABLE: DUNE_PKG_NAME # @PRE_INHERIT # @DESCRIPTION: # Sets the actual Dune package name, if different from Gentoo package name. diff --git a/eclass/ecm.eclass b/eclass/ecm.eclass index cd8110ab27f1..8c5e8bab1b4d 100644 --- a/eclass/ecm.eclass +++ b/eclass/ecm.eclass @@ -29,7 +29,7 @@ esac if [[ -z ${_ECM_ECLASS} ]]; then _ECM_ECLASS=1 -# @ECLASS-VARIABLE: VIRTUALX_REQUIRED +# @ECLASS_VARIABLE: VIRTUALX_REQUIRED # @DESCRIPTION: # For proper description see virtualx.eclass manpage. # Here we redefine default value to be manual, if your package needs virtualx @@ -38,7 +38,7 @@ _ECM_ECLASS=1 inherit cmake flag-o-matic toolchain-funcs virtualx -# @ECLASS-VARIABLE: ECM_NONGUI +# @ECLASS_VARIABLE: ECM_NONGUI # @DEFAULT_UNSET # @DESCRIPTION: # By default, for all CATEGORIES except kde-frameworks, assume we are building @@ -54,31 +54,31 @@ if [[ ${ECM_NONGUI} = false ]] ; then inherit xdg fi -# @ECLASS-VARIABLE: ECM_KDEINSTALLDIRS +# @ECLASS_VARIABLE: ECM_KDEINSTALLDIRS # @DESCRIPTION: # Assume the package is using KDEInstallDirs macro and switch # KDE_INSTALL_USE_QT_SYS_PATHS to ON. If set to "false", do nothing. : ${ECM_KDEINSTALLDIRS:=true} -# @ECLASS-VARIABLE: ECM_DEBUG +# @ECLASS_VARIABLE: ECM_DEBUG # @DESCRIPTION: # Add "debug" to IUSE. If !debug, add -DQT_NO_DEBUG to CPPFLAGS. If set to # "false", do nothing. : ${ECM_DEBUG:=true} -# @ECLASS-VARIABLE: ECM_DESIGNERPLUGIN +# @ECLASS_VARIABLE: ECM_DESIGNERPLUGIN # @DESCRIPTION: # If set to "true", add "designer" to IUSE to toggle build of designer plugins # and add the necessary BDEPEND. If set to "false", do nothing. : ${ECM_DESIGNERPLUGIN:=false} -# @ECLASS-VARIABLE: ECM_EXAMPLES +# @ECLASS_VARIABLE: ECM_EXAMPLES # @DESCRIPTION: # By default unconditionally ignore a top-level examples subdirectory. # If set to "true", add "examples" to IUSE to toggle adding that subdirectory. : ${ECM_EXAMPLES:=false} -# @ECLASS-VARIABLE: ECM_HANDBOOK +# @ECLASS_VARIABLE: ECM_HANDBOOK # @DESCRIPTION: # Will accept "true", "false", "optional", "forceoptional". If set to "false", # do nothing. @@ -92,20 +92,20 @@ fi # CMakeLists.txt in addition to the above. : ${ECM_HANDBOOK:=false} -# @ECLASS-VARIABLE: ECM_HANDBOOK_DIR +# @ECLASS_VARIABLE: ECM_HANDBOOK_DIR # @DESCRIPTION: # Specifies the directory containing the docbook file(s) relative to ${S} to # be processed by KF5DocTools (kdoctools_install). : ${ECM_HANDBOOK_DIR:=doc} -# @ECLASS-VARIABLE: ECM_PO_DIRS +# @ECLASS_VARIABLE: ECM_PO_DIRS # @DESCRIPTION: # Specifies directories of l10n files relative to ${S} to be processed by # KF5I18n (ki18n_install). If IUSE nls exists and is disabled then disable # build of these directories in CMakeLists.txt. : ${ECM_PO_DIRS:="po poqm"} -# @ECLASS-VARIABLE: ECM_QTHELP +# @ECLASS_VARIABLE: ECM_QTHELP # @DEFAULT_UNSET # @DESCRIPTION: # Default value for all CATEGORIES except kde-frameworks is "false". @@ -117,7 +117,7 @@ if [[ ${CATEGORY} = kde-frameworks ]]; then fi : ${ECM_QTHELP:=false} -# @ECLASS-VARIABLE: ECM_TEST +# @ECLASS_VARIABLE: ECM_TEST # @DEFAULT_UNSET # @DESCRIPTION: # Will accept "true", "false", "optional", "forceoptional", @@ -139,7 +139,7 @@ if [[ ${CATEGORY} = kde-frameworks ]]; then fi : ${ECM_TEST:=false} -# @ECLASS-VARIABLE: KFMIN +# @ECLASS_VARIABLE: KFMIN # @DEFAULT_UNSET # @DESCRIPTION: # Minimum version of Frameworks to require. Default value for kde-frameworks @@ -151,7 +151,7 @@ if [[ ${CATEGORY} = kde-frameworks ]]; then fi : ${KFMIN:=5.82.0} -# @ECLASS-VARIABLE: KFSLOT +# @ECLASS_VARIABLE: KFSLOT # @INTERNAL # @DESCRIPTION: # KDE Frameworks and Qt slot dependency, implied by KFMIN version. @@ -255,7 +255,7 @@ DEPEND+=" ${COMMONDEPEND}" RDEPEND+=" ${COMMONDEPEND}" unset COMMONDEPEND -# @ECLASS-VARIABLE: KDE_GCC_MINIMAL +# @ECLASS_VARIABLE: KDE_GCC_MINIMAL # @DEFAULT_UNSET # @DESCRIPTION: # Minimum version of active GCC to require. This is checked in diff --git a/eclass/elisp-common.eclass b/eclass/elisp-common.eclass index 1127d536697f..775bcbdb889c 100644 --- a/eclass/elisp-common.eclass +++ b/eclass/elisp-common.eclass @@ -171,44 +171,44 @@ case ${EAPI:-0} in *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;; esac -# @ECLASS-VARIABLE: SITELISP +# @ECLASS_VARIABLE: SITELISP # @DESCRIPTION: # Directory where packages install Emacs Lisp files. SITELISP=/usr/share/emacs/site-lisp -# @ECLASS-VARIABLE: SITEETC +# @ECLASS_VARIABLE: SITEETC # @DESCRIPTION: # Directory where packages install miscellaneous (not Lisp) files. SITEETC=/usr/share/emacs/etc -# @ECLASS-VARIABLE: EMACSMODULES +# @ECLASS_VARIABLE: EMACSMODULES # @DESCRIPTION: # Directory where packages install dynamically loaded modules. # May contain a @libdir@ token which will be replaced by $(get_libdir). EMACSMODULES=/usr/@libdir@/emacs/modules -# @ECLASS-VARIABLE: EMACS +# @ECLASS_VARIABLE: EMACS # @DESCRIPTION: # Path of Emacs executable. EMACS=${EPREFIX}/usr/bin/emacs -# @ECLASS-VARIABLE: EMACSFLAGS +# @ECLASS_VARIABLE: EMACSFLAGS # @DESCRIPTION: # Flags for executing Emacs in batch mode. # These work for Emacs versions 18-24, so don't change them. EMACSFLAGS="-batch -q --no-site-file" -# @ECLASS-VARIABLE: BYTECOMPFLAGS +# @ECLASS_VARIABLE: BYTECOMPFLAGS # @DESCRIPTION: # Emacs flags used for byte-compilation in elisp-compile(). BYTECOMPFLAGS="-L ." -# @ECLASS-VARIABLE: NEED_EMACS +# @ECLASS_VARIABLE: NEED_EMACS # @DESCRIPTION: # The minimum Emacs version required for the package. : ${NEED_EMACS:=23.1} -# @ECLASS-VARIABLE: _ELISP_EMACS_VERSION +# @ECLASS_VARIABLE: _ELISP_EMACS_VERSION # @INTERNAL # @DESCRIPTION: # Cached value of Emacs version detected in elisp-check-emacs-version(). diff --git a/eclass/elisp.eclass b/eclass/elisp.eclass index 282beee5b6ae..2fea311305f1 100644 --- a/eclass/elisp.eclass +++ b/eclass/elisp.eclass @@ -27,7 +27,7 @@ # file with the file name ${P}.el, then this eclass will move ${P}.el to # ${PN}.el in src_unpack(). -# @ECLASS-VARIABLE: NEED_EMACS +# @ECLASS_VARIABLE: NEED_EMACS # @PRE_INHERIT # @DEFAULT_UNSET # @DESCRIPTION: @@ -35,7 +35,7 @@ # variable before inheriting elisp.eclass. Set it to the version your # package uses and the dependency will be adjusted. -# @ECLASS-VARIABLE: ELISP_PATCHES +# @ECLASS_VARIABLE: ELISP_PATCHES # @DEFAULT_UNSET # @DESCRIPTION: # Space separated list of patches to apply after unpacking the sources. @@ -43,12 +43,12 @@ # FILESDIR. This variable is semi-deprecated, preferably use the # PATCHES array instead. -# @ECLASS-VARIABLE: ELISP_REMOVE +# @ECLASS_VARIABLE: ELISP_REMOVE # @DEFAULT_UNSET # @DESCRIPTION: # Space separated list of files to remove after unpacking the sources. -# @ECLASS-VARIABLE: SITEFILE +# @ECLASS_VARIABLE: SITEFILE # @DEFAULT_UNSET # @DESCRIPTION: # Name of package's site-init file. The filename must match the shell @@ -56,7 +56,7 @@ # reserved for internal use. "50${PN}-gentoo.el" is a reasonable choice # in most cases. -# @ECLASS-VARIABLE: ELISP_TEXINFO +# @ECLASS_VARIABLE: ELISP_TEXINFO # @DEFAULT_UNSET # @DESCRIPTION: # Space separated list of Texinfo sources. Respective GNU Info files diff --git a/eclass/emboss-r2.eclass b/eclass/emboss-r2.eclass index 1fb7369304a7..65e1c83f16d9 100644 --- a/eclass/emboss-r2.eclass +++ b/eclass/emboss-r2.eclass @@ -25,7 +25,7 @@ # # inherit emboss-r2 -# @ECLASS-VARIABLE: EBO_DESCRIPTION +# @ECLASS_VARIABLE: EBO_DESCRIPTION # @PRE_INHERIT # @DEFAULT_UNSET # @DESCRIPTION: @@ -84,7 +84,7 @@ fi DEPEND="${RDEPEND}" -# @ECLASS-VARIABLE: EBO_EAUTORECONF +# @ECLASS_VARIABLE: EBO_EAUTORECONF # @DEFAULT_UNSET # @DESCRIPTION: # If set, run eautoreconf from autotools.eclass after applying patches diff --git a/eclass/emboss-r3.eclass b/eclass/emboss-r3.eclass index bc372152cd93..84e258e02058 100644 --- a/eclass/emboss-r3.eclass +++ b/eclass/emboss-r3.eclass @@ -21,7 +21,7 @@ # # inherit emboss-r3 -# @ECLASS-VARIABLE: EBO_DESCRIPTION +# @ECLASS_VARIABLE: EBO_DESCRIPTION # @PRE_INHERIT # @DEFAULT_UNSET # @DESCRIPTION: diff --git a/eclass/fcaps.eclass b/eclass/fcaps.eclass index a5f88e9284a0..93aa7cd5928d 100644 --- a/eclass/fcaps.eclass +++ b/eclass/fcaps.eclass @@ -46,7 +46,7 @@ case ${EAPI} in *) IDEPEND="filecaps? ( sys-libs/libcap )" ;; esac -# @ECLASS-VARIABLE: FILECAPS +# @ECLASS_VARIABLE: FILECAPS # @DEFAULT_UNSET # @DESCRIPTION: # An array of fcap arguments to use to automatically execute fcaps. See that diff --git a/eclass/font.eclass b/eclass/font.eclass index ec1b6ca93587..13d2b5064c1d 100644 --- a/eclass/font.eclass +++ b/eclass/font.eclass @@ -17,30 +17,30 @@ _FONT_ECLASS=1 EXPORT_FUNCTIONS pkg_setup src_install pkg_postinst pkg_postrm -# @ECLASS-VARIABLE: FONT_SUFFIX +# @ECLASS_VARIABLE: FONT_SUFFIX # @DEFAULT_UNSET # @REQUIRED # @DESCRIPTION: # Space delimited list of font suffixes to install. FONT_SUFFIX=${FONT_SUFFIX:-} -# @ECLASS-VARIABLE: FONT_S +# @ECLASS_VARIABLE: FONT_S # @DEFAULT_UNSET # @DESCRIPTION: # Directory containing the fonts. If unset, ${S} is used instead. # Can also be an array of several directories. -# @ECLASS-VARIABLE: FONT_PN +# @ECLASS_VARIABLE: FONT_PN # @DESCRIPTION: # Font name (ie. last part of FONTDIR). FONT_PN=${FONT_PN:-${PN}} -# @ECLASS-VARIABLE: FONTDIR +# @ECLASS_VARIABLE: FONTDIR # @DESCRIPTION: # Full path to installation directory. FONTDIR=${FONTDIR:-/usr/share/fonts/${FONT_PN}} -# @ECLASS-VARIABLE: FONT_CONF +# @ECLASS_VARIABLE: FONT_CONF # @DEFAULT_UNSET # @DESCRIPTION: # Array containing fontconfig conf files to install. diff --git a/eclass/fortran-2.eclass b/eclass/fortran-2.eclass index 8fea2b4ceced..e26dd700f7cf 100644 --- a/eclass/fortran-2.eclass +++ b/eclass/fortran-2.eclass @@ -39,13 +39,13 @@ EXPORT_FUNCTIONS pkg_setup if [[ ! ${_FORTRAN_2_CLASS} ]]; then -# @ECLASS-VARIABLE: FORTRAN_NEED_OPENMP +# @ECLASS_VARIABLE: FORTRAN_NEED_OPENMP # @DESCRIPTION: # Set to "1" in order to automatically have the eclass abort if the fortran # compiler lacks openmp support. : ${FORTRAN_NEED_OPENMP:=0} -# @ECLASS-VARIABLE: FORTRAN_STANDARD +# @ECLASS_VARIABLE: FORTRAN_STANDARD # @DESCRIPTION: # Set this, if a special dialect needs to be supported. # Generally not needed as default is sufficient. @@ -53,7 +53,7 @@ if [[ ! ${_FORTRAN_2_CLASS} ]]; then # Valid settings are any combination of: 77 90 95 2003 : ${FORTRAN_STANDARD:=77} -# @ECLASS-VARIABLE: FORTRAN_NEEDED +# @ECLASS_VARIABLE: FORTRAN_NEEDED # @DESCRIPTION: # If your package has an optional fortran support, set this variable # to the space separated list of USE triggering the fortran diff --git a/eclass/freedict.eclass b/eclass/freedict.eclass index 47b203307e52..f38ce93edc82 100644 --- a/eclass/freedict.eclass +++ b/eclass/freedict.eclass @@ -15,7 +15,7 @@ if [[ -z ${_FREEDICT_ECLASS} ]]; then _FREEDICT_ECLASS=1 -# @ECLASS-VARIABLE: FREEDICT_P +# @ECLASS_VARIABLE: FREEDICT_P # @DESCRIPTION: # Strips PN of 'freedict' prefix, to be used in SRC_URI and doins FREEDICT_P=${PN/freedict-/} diff --git a/eclass/git-r3.eclass b/eclass/git-r3.eclass index 398170000498..59d4f9a0038f 100644 --- a/eclass/git-r3.eclass +++ b/eclass/git-r3.eclass @@ -27,7 +27,7 @@ else DEPEND=">=dev-vcs/git-1.8.2.1[curl]" fi -# @ECLASS-VARIABLE: EGIT_CLONE_TYPE +# @ECLASS_VARIABLE: EGIT_CLONE_TYPE # @USER_VARIABLE # @DESCRIPTION: # Type of clone that should be used against the remote repository. @@ -65,7 +65,7 @@ fi # embedded systems with limited disk space. : ${EGIT_CLONE_TYPE:=single} -# @ECLASS-VARIABLE: EGIT_MIN_CLONE_TYPE +# @ECLASS_VARIABLE: EGIT_MIN_CLONE_TYPE # @DESCRIPTION: # 'Minimum' clone type supported by the ebuild. Takes same values # as EGIT_CLONE_TYPE. When user sets a type that's 'lower' (that is, @@ -82,7 +82,7 @@ fi # fatal errors rather than 'non-pretty versions'. : ${EGIT_MIN_CLONE_TYPE:=shallow} -# @ECLASS-VARIABLE: EGIT3_STORE_DIR +# @ECLASS_VARIABLE: EGIT3_STORE_DIR # @USER_VARIABLE # @DEFAULT_UNSET # @DESCRIPTION: @@ -93,7 +93,7 @@ fi # # EGIT3_STORE_DIR=${DISTDIR}/git3-src -# @ECLASS-VARIABLE: EGIT_MIRROR_URI +# @ECLASS_VARIABLE: EGIT_MIRROR_URI # @DEFAULT_UNSET # @DESCRIPTION: # 'Top' URI to a local git mirror. If specified, the eclass will try @@ -107,7 +107,7 @@ fi # EGIT_MIRROR_URI="git://mirror.lan/" # @CODE -# @ECLASS-VARIABLE: EGIT_REPO_URI +# @ECLASS_VARIABLE: EGIT_REPO_URI # @REQUIRED # @DESCRIPTION: # URIs to the repository, e.g. https://foo. If multiple URIs are @@ -126,12 +126,12 @@ fi # EGIT_REPO_URI="https://a/b.git https://c/d.git" # @CODE -# @ECLASS-VARIABLE: EVCS_OFFLINE +# @ECLASS_VARIABLE: EVCS_OFFLINE # @DEFAULT_UNSET # @DESCRIPTION: # If non-empty, this variable prevents any online operations. -# @ECLASS-VARIABLE: EVCS_UMASK +# @ECLASS_VARIABLE: EVCS_UMASK # @DEFAULT_UNSET # @DESCRIPTION: # Set this variable to a custom umask. This is intended to be set by @@ -142,13 +142,13 @@ fi # portage group write access already can screw the system over in more # creative ways. -# @ECLASS-VARIABLE: EGIT_BRANCH +# @ECLASS_VARIABLE: EGIT_BRANCH # @DEFAULT_UNSET # @DESCRIPTION: # The branch name to check out. If unset, the upstream default (HEAD) # will be used. -# @ECLASS-VARIABLE: EGIT_COMMIT +# @ECLASS_VARIABLE: EGIT_COMMIT # @DEFAULT_UNSET # @DESCRIPTION: # The tag name or commit identifier to check out. If unset, newest @@ -156,7 +156,7 @@ fi # not on HEAD branch, EGIT_BRANCH needs to be set to a branch on which # the commit is available. -# @ECLASS-VARIABLE: EGIT_COMMIT_DATE +# @ECLASS_VARIABLE: EGIT_COMMIT_DATE # @DEFAULT_UNSET # @DESCRIPTION: # Attempt to check out the repository state for the specified timestamp. @@ -170,14 +170,14 @@ fi # will be considered alike a single commit with date corresponding # to the merge commit date. -# @ECLASS-VARIABLE: EGIT_CHECKOUT_DIR +# @ECLASS_VARIABLE: EGIT_CHECKOUT_DIR # @DEFAULT_UNSET # @DESCRIPTION: # The directory to check the git sources out to. # # EGIT_CHECKOUT_DIR=${WORKDIR}/${P} -# @ECLASS-VARIABLE: EGIT_SUBMODULES +# @ECLASS_VARIABLE: EGIT_SUBMODULES # @DEFAULT_UNSET # @DESCRIPTION: # An array of inclusive and exclusive wildcards on submodule names, diff --git a/eclass/gkrellm-plugin.eclass b/eclass/gkrellm-plugin.eclass index fb3800f56b7d..c1e4bcc1310a 100644 --- a/eclass/gkrellm-plugin.eclass +++ b/eclass/gkrellm-plugin.eclass @@ -7,7 +7,8 @@ # @AUTHOR: # Original author: Jim Ramsay <lack@gentoo.org> # EAPI 6 author: David Seifert <soap@gentoo.org> -# @SUPPORTED_EAPIS: 6 +# EAPI 8 author: Thomas Bracht Laumann Jespersen <t@laumann.xyz> +# @SUPPORTED_EAPIS: 6 8 # @PROVIDES: multilib # @BLURB: Provides src_install used by (almost) all gkrellm plugins # @DESCRIPTION: @@ -15,6 +16,8 @@ # - Provides a common src_install method to avoid code duplication # # Changelog: +# 17 March 2022: Thomas Bracht Laumann Jespersen <t@laumann.xyz> +# - Port to EAPI 8 # 03 January 2018: David Seifert <soap@gentoo.org> # - Port to EAPI 6, remove built_with_use, simplify a lot # 12 March 2007: Jim Ramsay <lack@gentoo.org> @@ -23,41 +26,41 @@ # - Initial commit # -# @ECLASS-VARIABLE: PLUGIN_SO +# @ECLASS_VARIABLE: PLUGIN_SO # @DESCRIPTION: # The name of the plugin's .so file which will be installed in # the plugin dir. Defaults to "${PN}$(get_modname)". Has to be a bash array. -# @ECLASS-VARIABLE: PLUGIN_SERVER_SO +# @ECLASS_VARIABLE: PLUGIN_SERVER_SO +# @DEFAULT_UNSET # @DESCRIPTION: # The name of the plugin's server plugin $(get_modname) portion. # Unset by default. Has to be a bash array. -# @ECLASS-VARIABLE: PLUGIN_DOCS +# @ECLASS_VARIABLE: PLUGIN_DOCS +# @DEFAULT_UNSET # @DESCRIPTION: # An optional list of docs to be installed, in addition to the default # DOCS variable which is respected too. Has to be a bash array. -case ${EAPI:-0} in - [0-5]) - die "${ECLASS} is banned in EAPI ${EAPI:-0}" - ;; - 6) - ;; - *) - die "Unknown EAPI ${EAPI:-0}" - ;; +case ${EAPI} in + 6|8) ;; + *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;; esac inherit multilib -EXPORT_FUNCTIONS src_install - if [[ ! ${_GKRELLM_PLUGIN_R1} ]]; then +_GKRELLM_PLUGIN_R1=1 -DEPEND="virtual/pkgconfig" +if [[ ${EAPI} == 6 ]]; then + DEPEND="virtual/pkgconfig" +else + BDEPEND="virtual/pkgconfig" +fi # @FUNCTION: gkrellm-plugin_src_install +# @USAGE: # @DESCRIPTION: # Install the plugins and call einstalldocs gkrellm-plugin_src_install() { @@ -71,7 +74,6 @@ gkrellm-plugin_src_install() { die "PLUGIN_SO has to be a bash array!" fi - if [[ -n ${PLUGIN_SERVER_SO} ]]; then exeinto /usr/$(get_libdir)/gkrellm2/plugins-gkrellmd @@ -97,5 +99,6 @@ gkrellm-plugin_src_install() { fi } -_GKRELLM_PLUGIN_R1=1 fi + +EXPORT_FUNCTIONS src_install diff --git a/eclass/gnome.org.eclass b/eclass/gnome.org.eclass index 7efd03bfa946..05025f5f58fa 100644 --- a/eclass/gnome.org.eclass +++ b/eclass/gnome.org.eclass @@ -23,7 +23,7 @@ _GNOME_ORG_ECLASS=1 # versionator inherit kept for older EAPIs due to ebuilds (potentially) relying on it [[ ${EAPI} == [56] ]] && inherit eapi7-ver versionator -# @ECLASS-VARIABLE: GNOME_TARBALL_SUFFIX +# @ECLASS_VARIABLE: GNOME_TARBALL_SUFFIX # @PRE_INHERIT # @DESCRIPTION: # Most projects hosted on gnome.org mirrors provide tarballs as tar.bz2 or @@ -41,13 +41,13 @@ if [[ ${GNOME_TARBALL_SUFFIX} == "xz" ]]; then fi fi -# @ECLASS-VARIABLE: GNOME_ORG_MODULE +# @ECLASS_VARIABLE: GNOME_ORG_MODULE # @DESCRIPTION: # Name of the module as hosted on gnome.org mirrors. # Leave unset if package name matches module name. : ${GNOME_ORG_MODULE:=$PN} -# @ECLASS-VARIABLE: GNOME_ORG_PVP +# @ECLASS_VARIABLE: GNOME_ORG_PVP # @INTERNAL # @DESCRIPTION: # Components of the version number that correspond to a 6 month release. diff --git a/eclass/gnome2-utils.eclass b/eclass/gnome2-utils.eclass index 97b845c7b88b..6c8d222a712e 100644 --- a/eclass/gnome2-utils.eclass +++ b/eclass/gnome2-utils.eclass @@ -25,55 +25,55 @@ case ${EAPI} in *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;; esac -# @ECLASS-VARIABLE: GCONFTOOL_BIN +# @ECLASS_VARIABLE: GCONFTOOL_BIN # @INTERNAL # @DESCRIPTION: # Path to gconftool-2 : ${GCONFTOOL_BIN:="/usr/bin/gconftool-2"} -# @ECLASS-VARIABLE: SCROLLKEEPER_DIR +# @ECLASS_VARIABLE: SCROLLKEEPER_DIR # @INTERNAL # @DESCRIPTION: # Directory where scrollkeeper-update should do its work : ${SCROLLKEEPER_DIR:="/var/lib/scrollkeeper"} -# @ECLASS-VARIABLE: SCROLLKEEPER_UPDATE_BIN +# @ECLASS_VARIABLE: SCROLLKEEPER_UPDATE_BIN # @INTERNAL # @DESCRIPTION: # Path to scrollkeeper-update : ${SCROLLKEEPER_UPDATE_BIN:="/usr/bin/scrollkeeper-update"} -# @ECLASS-VARIABLE: GLIB_COMPILE_SCHEMAS +# @ECLASS_VARIABLE: GLIB_COMPILE_SCHEMAS # @INTERNAL # @DESCRIPTION: # Path to glib-compile-schemas : ${GLIB_COMPILE_SCHEMAS:="/usr/bin/glib-compile-schemas"} -# @ECLASS-VARIABLE: GNOME2_ECLASS_SCHEMAS +# @ECLASS_VARIABLE: GNOME2_ECLASS_SCHEMAS # @INTERNAL # @DEFAULT_UNSET # @DESCRIPTION: # List of GConf schemas provided by the package -# @ECLASS-VARIABLE: GNOME2_ECLASS_ICONS +# @ECLASS_VARIABLE: GNOME2_ECLASS_ICONS # @INTERNAL # @DEFAULT_UNSET # @DESCRIPTION: # List of icons provided by the package -# @ECLASS-VARIABLE: GNOME2_ECLASS_SCROLLS +# @ECLASS_VARIABLE: GNOME2_ECLASS_SCROLLS # @INTERNAL # @DEFAULT_UNSET # @DESCRIPTION: # List of scrolls (documentation files) provided by the package -# @ECLASS-VARIABLE: GNOME2_ECLASS_GLIB_SCHEMAS +# @ECLASS_VARIABLE: GNOME2_ECLASS_GLIB_SCHEMAS # @INTERNAL # @DEFAULT_UNSET # @DESCRIPTION: # List of GSettings schemas provided by the package -# @ECLASS-VARIABLE: GNOME2_ECLASS_GDK_PIXBUF_LOADERS +# @ECLASS_VARIABLE: GNOME2_ECLASS_GDK_PIXBUF_LOADERS # @INTERNAL # @DEFAULT_UNSET # @DESCRIPTION: diff --git a/eclass/gnome2.eclass b/eclass/gnome2.eclass index 0414d5cd5f3a..e80a517ee0da 100644 --- a/eclass/gnome2.eclass +++ b/eclass/gnome2.eclass @@ -11,7 +11,7 @@ # Exports portage base functions used by ebuilds written for packages using the # GNOME framework. For additional functions, see gnome2-utils.eclass. -# @ECLASS-VARIABLE: GNOME2_EAUTORECONF +# @ECLASS_VARIABLE: GNOME2_EAUTORECONF # @DEFAULT_UNSET # @DESCRIPTION: # Run eautoreconf instead of only elibtoolize @@ -31,13 +31,13 @@ case ${EAPI} in *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;; esac -# @ECLASS-VARIABLE: ELTCONF +# @ECLASS_VARIABLE: ELTCONF # @DEFAULT_UNSET # @DESCRIPTION: # Extra options passed to elibtoolize ELTCONF=${ELTCONF:-""} -# @ECLASS-VARIABLE: G2CONF +# @ECLASS_VARIABLE: G2CONF # @DEFAULT_UNSET # @DESCRIPTION: # Extra configure opts passed to econf. @@ -47,7 +47,7 @@ if has ${EAPI} 5; then G2CONF=${G2CONF:-""} fi -# @ECLASS-VARIABLE: GCONF_DEBUG +# @ECLASS_VARIABLE: GCONF_DEBUG # @DEFAULT_UNSET # @DESCRIPTION: # Whether to handle debug or not. @@ -65,12 +65,12 @@ if has ${EAPI} 5; then fi fi -# @ECLASS-VARIABLE: GNOME2_ECLASS_GIO_MODULES +# @ECLASS_VARIABLE: GNOME2_ECLASS_GIO_MODULES # @INTERNAL # @DESCRIPTION: # Array containing glib GIO modules -# @ECLASS-VARIABLE: GNOME2_LA_PUNT +# @ECLASS_VARIABLE: GNOME2_LA_PUNT # @DESCRIPTION: # In EAPIs 5 and 6, it relies on prune_libtool_files (from ltprune.eclass) for # this. Later EAPIs use find ... -delete. Available values for GNOME2_LA_PUNT: diff --git a/eclass/go-module.eclass b/eclass/go-module.eclass index 9fada315fdbf..3027373ed3dd 100644 --- a/eclass/go-module.eclass +++ b/eclass/go-module.eclass @@ -104,7 +104,7 @@ QA_FLAGS_IGNORED='.*' # Go packages should not be stripped with strip(1). RESTRICT+=" strip" -# @ECLASS-VARIABLE: EGO_SUM +# @ECLASS_VARIABLE: EGO_SUM # @DEPRECATED # @DESCRIPTION: # This is replaced by a dependency tarball, see above for how to create @@ -152,7 +152,7 @@ RESTRICT+=" strip" # This decision does NOT weaken Go module security, as Go will verify the # go.sum copy of the Hash1 values during building of the package. -# @ECLASS-VARIABLE: _GOMODULE_GOPROXY_BASEURI +# @ECLASS_VARIABLE: _GOMODULE_GOPROXY_BASEURI # @DEPRECATED # @DESCRIPTION: # Golang module proxy service to fetch module files from. Note that the module @@ -175,7 +175,7 @@ RESTRICT+=" strip" # below, so please do not rely on it. : "${_GOMODULE_GOPROXY_BASEURI:=mirror://goproxy/}" -# @ECLASS-VARIABLE: _GOMODULE_GOSUM_REVERSE_MAP +# @ECLASS_VARIABLE: _GOMODULE_GOSUM_REVERSE_MAP # @DEPRECATED # @DESCRIPTION: # Mapping back from Gentoo distfile name to upstream distfile path. @@ -183,7 +183,7 @@ RESTRICT+=" strip" # directory structure. declare -A -g _GOMODULE_GOSUM_REVERSE_MAP -# @ECLASS-VARIABLE: GO_OPTIONAL +# @ECLASS_VARIABLE: GO_OPTIONAL # @DEFAULT_UNSET # @PRE_INHERIT # @DESCRIPTION: diff --git a/eclass/golang-base.eclass b/eclass/golang-base.eclass index f506e32dc7ca..4bba00200cfc 100644 --- a/eclass/golang-base.eclass +++ b/eclass/golang-base.eclass @@ -40,7 +40,7 @@ RESTRICT="strip" # force GO111MODULE to be auto for bug https://bugs.gentoo.org/771129 export GO111MODULE=auto -# @ECLASS-VARIABLE: EGO_PN +# @ECLASS_VARIABLE: EGO_PN # @REQUIRED # @DESCRIPTION: # This is the import path for the go package to build. Please emerge diff --git a/eclass/golang-build.eclass b/eclass/golang-build.eclass index 846593e1c019..f24029a1a9fd 100644 --- a/eclass/golang-build.eclass +++ b/eclass/golang-build.eclass @@ -28,7 +28,7 @@ if [[ -z ${_GOLANG_BUILD} ]]; then _GOLANG_BUILD=1 -# @ECLASS-VARIABLE: EGO_BUILD_FLAGS +# @ECLASS_VARIABLE: EGO_BUILD_FLAGS # @DEFAULT_UNSET # @DESCRIPTION: # This allows you to pass build flags to the Go compiler. These flags @@ -41,7 +41,7 @@ _GOLANG_BUILD=1 # EGO_BUILD_FLAGS="-ldflags \"-X main.version ${PV}\"" # @CODE -# @ECLASS-VARIABLE: EGO_PN +# @ECLASS_VARIABLE: EGO_PN # @REQUIRED # @DESCRIPTION: # This is the import path for the go package(s) to build. Please emerge diff --git a/eclass/golang-vcs-snapshot.eclass b/eclass/golang-vcs-snapshot.eclass index fb1e3c4a1eb2..5140064a651e 100644 --- a/eclass/golang-vcs-snapshot.eclass +++ b/eclass/golang-vcs-snapshot.eclass @@ -53,7 +53,7 @@ esac EXPORT_FUNCTIONS src_unpack -# @ECLASS-VARIABLE: EGO_VENDOR +# @ECLASS_VARIABLE: EGO_VENDOR # @DESCRIPTION: # This variable contains a list of vendored packages. # The items of this array are strings that contain the diff --git a/eclass/golang-vcs.eclass b/eclass/golang-vcs.eclass index 6492fe4378c5..595412ea0c88 100644 --- a/eclass/golang-vcs.eclass +++ b/eclass/golang-vcs.eclass @@ -30,7 +30,7 @@ _GOLANG_VCS=1 PROPERTIES+=" live" -# @ECLASS-VARIABLE: EGO_PN +# @ECLASS_VARIABLE: EGO_PN # @REQUIRED # @DESCRIPTION: # This is the import path for the go package(s). Please emerge dev-lang/go @@ -42,7 +42,7 @@ PROPERTIES+=" live" # EGO_PN="github.com/user1/package1 github.com/user2/package2" # @CODE -# @ECLASS-VARIABLE: EGO_STORE_DIR +# @ECLASS_VARIABLE: EGO_STORE_DIR # @USER_VARIABLE # @DESCRIPTION: # Storage directory for Go sources. @@ -52,12 +52,12 @@ PROPERTIES+=" live" # # EGO_STORE_DIR=${DISTDIR}/go-src -# @ECLASS-VARIABLE: EVCS_OFFLINE +# @ECLASS_VARIABLE: EVCS_OFFLINE # @DEFAULT_UNSET # @DESCRIPTION: # If non-empty, this variable prevents any online operations. -# @ECLASS-VARIABLE: EVCS_UMASK +# @ECLASS_VARIABLE: EVCS_UMASK # @DEFAULT_UNSET # @DESCRIPTION: # Set this variable to a custom umask. This is intended to be set by diff --git a/eclass/gstreamer-meson.eclass b/eclass/gstreamer-meson.eclass index 34472b76c823..490e71e9b97b 100644 --- a/eclass/gstreamer-meson.eclass +++ b/eclass/gstreamer-meson.eclass @@ -37,13 +37,13 @@ case "${EAPI:-0}" in ;; esac -# @ECLASS-VARIABLE: GST_PLUGINS_ENABLED +# @ECLASS_VARIABLE: GST_PLUGINS_ENABLED # @DESCRIPTION: # Defines the plugins to be built. # May be set by an ebuild and contain more than one indentifier, space # separated (only src_configure can handle mutiple plugins at this time). -# @ECLASS-VARIABLE: GST_PLUGINS_NOAUTO +# @ECLASS_VARIABLE: GST_PLUGINS_NOAUTO # @DESCRIPTION: # Space-separated list defined by the ebuild for plugin options which shouldn't # be automatically defined by gstreamer_multilib_src_configure. @@ -138,14 +138,14 @@ gstreamer_system_library() { done } -# @ECLASS-VARIABLE: GST_PLUGINS_BUILD_DIR +# @ECLASS_VARIABLE: GST_PLUGINS_BUILD_DIR # @DESCRIPTION: # Actual build directories of the plugins. # Most often the same as the configure switch name. # FIXME: Change into a bash array : ${GST_PLUGINS_BUILD_DIR:=${PN/gst-plugins-/}} -# @ECLASS-VARIABLE: GST_TARBALL_SUFFIX +# @ECLASS_VARIABLE: GST_TARBALL_SUFFIX # @DESCRIPTION: # Most projects hosted on gstreamer.freedesktop.org mirrors provide # tarballs as tar.bz2 or tar.xz. This eclass defaults to xz. This is @@ -159,13 +159,13 @@ if [[ ${GST_TARBALL_SUFFIX} == "xz" ]]; then BDEPEND="${BDEPEND} app-arch/xz-utils" fi -# @ECLASS-VARIABLE: GST_ORG_MODULE +# @ECLASS_VARIABLE: GST_ORG_MODULE # @DESCRIPTION: # Name of the module as hosted on gstreamer.freedesktop.org mirrors. # Leave unset if package name matches module name. : ${GST_ORG_MODULE:=${PN}} -# @ECLASS-VARIABLE: GST_ORG_PVP +# @ECLASS_VARIABLE: GST_ORG_PVP # @INTERNAL # @DESCRIPTION: # Major and minor numbers of the version number. diff --git a/eclass/gstreamer.eclass b/eclass/gstreamer.eclass index 399fe1377329..1a2c01afc884 100644 --- a/eclass/gstreamer.eclass +++ b/eclass/gstreamer.eclass @@ -37,20 +37,20 @@ case "${EAPI:-0}" in ;; esac -# @ECLASS-VARIABLE: GST_PLUGINS_BUILD +# @ECLASS_VARIABLE: GST_PLUGINS_BUILD # @DESCRIPTION: # Defines the plugins to be built. # May be set by an ebuild and contain more than one indentifier, space # seperated (only src_configure can handle mutiple plugins at this time). : ${GST_PLUGINS_BUILD:=${PN/gst-plugins-/}} -# @ECLASS-VARIABLE: GST_PLUGINS_BUILD_DIR +# @ECLASS_VARIABLE: GST_PLUGINS_BUILD_DIR # @DESCRIPTION: # Actual build directory of the plugin. # Most often the same as the configure switch name. : ${GST_PLUGINS_BUILD_DIR:=${PN/gst-plugins-/}} -# @ECLASS-VARIABLE: GST_TARBALL_SUFFIX +# @ECLASS_VARIABLE: GST_TARBALL_SUFFIX # @DESCRIPTION: # Most projects hosted on gstreamer.freedesktop.org mirrors provide # tarballs as tar.bz2 or tar.xz. This eclass defaults to xz. This is @@ -64,13 +64,13 @@ if [[ ${GST_TARBALL_SUFFIX} == "xz" ]]; then DEPEND="${DEPEND} app-arch/xz-utils" fi -# @ECLASS-VARIABLE: GST_ORG_MODULE +# @ECLASS_VARIABLE: GST_ORG_MODULE # @DESCRIPTION: # Name of the module as hosted on gstreamer.freedesktop.org mirrors. # Leave unset if package name matches module name. : ${GST_ORG_MODULE:=$PN} -# @ECLASS-VARIABLE: GST_ORG_PVP +# @ECLASS_VARIABLE: GST_ORG_PVP # @INTERNAL # @DESCRIPTION: # Major and minor numbers of the version number. diff --git a/eclass/haskell-cabal.eclass b/eclass/haskell-cabal.eclass index ab1b865fda93..ae3229cc2676 100644 --- a/eclass/haskell-cabal.eclass +++ b/eclass/haskell-cabal.eclass @@ -52,7 +52,7 @@ inherit ghc-package multilib toolchain-funcs EXPORT_FUNCTIONS pkg_setup src_configure src_compile src_test src_install pkg_postinst pkg_postrm -# @ECLASS-VARIABLE: CABAL_EXTRA_CONFIGURE_FLAGS +# @ECLASS_VARIABLE: CABAL_EXTRA_CONFIGURE_FLAGS # @USER_VARIABLE # @DESCRIPTION: # User-specified additional parameters passed to 'setup configure'. @@ -60,14 +60,14 @@ EXPORT_FUNCTIONS pkg_setup src_configure src_compile src_test src_install pkg_po # CABAL_EXTRA_CONFIGURE_FLAGS="--enable-shared --enable-executable-dynamic" : ${CABAL_EXTRA_CONFIGURE_FLAGS:=} -# @ECLASS-VARIABLE: CABAL_EXTRA_BUILD_FLAGS +# @ECLASS_VARIABLE: CABAL_EXTRA_BUILD_FLAGS # @USER_VARIABLE # @DESCRIPTION: # User-specified additional parameters passed to 'setup build'. # example: /etc/portage/make.conf: CABAL_EXTRA_BUILD_FLAGS=-v : ${CABAL_EXTRA_BUILD_FLAGS:=} -# @ECLASS-VARIABLE: GHC_BOOTSTRAP_FLAGS +# @ECLASS_VARIABLE: GHC_BOOTSTRAP_FLAGS # @USER_VARIABLE # @DESCRIPTION: # User-specified additional parameters for ghc when building @@ -76,7 +76,7 @@ EXPORT_FUNCTIONS pkg_setup src_configure src_compile src_test src_install pkg_po # linking 'setup' faster. : ${GHC_BOOTSTRAP_FLAGS:=} -# @ECLASS-VARIABLE: CABAL_EXTRA_HADDOCK_FLAGS +# @ECLASS_VARIABLE: CABAL_EXTRA_HADDOCK_FLAGS # @USER_VARIABLE # @DESCRIPTION: # User-specified additional parameters passed to 'setup haddock'. @@ -84,7 +84,7 @@ EXPORT_FUNCTIONS pkg_setup src_configure src_compile src_test src_install pkg_po # CABAL_EXTRA_HADDOCK_FLAGS="--haddock-options=--latex --haddock-options=--pretty-html" : ${CABAL_EXTRA_HADDOCK_FLAGS:=} -# @ECLASS-VARIABLE: CABAL_EXTRA_HOOGLE_FLAGS +# @ECLASS_VARIABLE: CABAL_EXTRA_HOOGLE_FLAGS # @USER_VARIABLE # @DESCRIPTION: # User-specified additional parameters passed to 'setup haddock --hoogle'. @@ -92,7 +92,7 @@ EXPORT_FUNCTIONS pkg_setup src_configure src_compile src_test src_install pkg_po # CABAL_EXTRA_HOOGLE_FLAGS="--haddock-options=--show-all" : ${CABAL_EXTRA_HOOGLE_FLAGS:=} -# @ECLASS-VARIABLE: CABAL_EXTRA_HSCOLOUR_FLAGS +# @ECLASS_VARIABLE: CABAL_EXTRA_HSCOLOUR_FLAGS # @USER_VARIABLE # @DESCRIPTION: # User-specified additional parameters passed to 'setup hscolour'. @@ -101,7 +101,7 @@ EXPORT_FUNCTIONS pkg_setup src_configure src_compile src_test src_install pkg_po : ${CABAL_EXTRA_HSCOLOUR_FLAGS:=} -# @ECLASS-VARIABLE: CABAL_EXTRA_TEST_FLAGS +# @ECLASS_VARIABLE: CABAL_EXTRA_TEST_FLAGS # @USER_VARIABLE # @DESCRIPTION: # User-specified additional parameters passed to 'setup test'. @@ -109,13 +109,13 @@ EXPORT_FUNCTIONS pkg_setup src_configure src_compile src_test src_install pkg_po # CABAL_EXTRA_TEST_FLAGS="-v3 --show-details=streaming" : ${CABAL_EXTRA_TEST_FLAGS:=} -# @ECLASS-VARIABLE: CABAL_DEBUG_LOOSENING +# @ECLASS_VARIABLE: CABAL_DEBUG_LOOSENING # @DESCRIPTION: # Show debug output for 'cabal_chdeps' function if set. # Needs working 'diff'. : ${CABAL_DEBUG_LOOSENING:=} -# @ECLASS-VARIABLE: CABAL_REPORT_OTHER_BROKEN_PACKAGES +# @ECLASS_VARIABLE: CABAL_REPORT_OTHER_BROKEN_PACKAGES # @DESCRIPTION: # Show other broken packages if 'cabal configure' fails. # It should be normally enabled unless you know you are about diff --git a/eclass/java-ant-2.eclass b/eclass/java-ant-2.eclass index 438b0dbb5001..9898d5f7df6f 100644 --- a/eclass/java-ant-2.eclass +++ b/eclass/java-ant-2.eclass @@ -31,7 +31,7 @@ _JAVA_ANT_2_ECLASS=1 # ant to build. In particular, it will attempt to fix build.xml files, so that # they use the appropriate 'target' and 'source' attributes. -# @ECLASS-VARIABLE: WANT_ANT_TASKS +# @ECLASS_VARIABLE: WANT_ANT_TASKS # @DEFAULT_UNSET # @DESCRIPTION: # An $IFS separated list of ant tasks. @@ -50,7 +50,7 @@ _JAVA_ANT_2_ECLASS=1 #The implementation of dependencies is handled by java-utils-2.eclass #WANT_ANT_TASKS -# @ECLASS-VARIABLE: JAVA_ANT_DISABLE_ANT_CORE_DEP +# @ECLASS_VARIABLE: JAVA_ANT_DISABLE_ANT_CORE_DEP # @DEFAULT_UNSET # @DESCRIPTION: # Setting this variable non-empty before inheriting java-ant-2 disables adding @@ -85,38 +85,38 @@ fi DEPEND="${JAVA_ANT_E_DEPEND}" -# @ECLASS-VARIABLE: JAVA_PKG_BSFIX +# @ECLASS_VARIABLE: JAVA_PKG_BSFIX # @DESCRIPTION: # Should we attempt to 'fix' ant build files to include the source/target # attributes when calling javac? JAVA_PKG_BSFIX=${JAVA_PKG_BSFIX:-"on"} -# @ECLASS-VARIABLE: JAVA_PKG_BSFIX_ALL +# @ECLASS_VARIABLE: JAVA_PKG_BSFIX_ALL # @DESCRIPTION: # If we're fixing build files, should we try to fix all the ones we can find? JAVA_PKG_BSFIX_ALL=${JAVA_PKG_BSFIX_ALL:-"yes"} -# @ECLASS-VARIABLE: JAVA_PKG_BSFIX_NAME +# @ECLASS_VARIABLE: JAVA_PKG_BSFIX_NAME # @DESCRIPTION: # Filename of build files to fix/search for JAVA_PKG_BSFIX_NAME=${JAVA_PKG_BSFIX_NAME:-"build.xml"} -# @ECLASS-VARIABLE: JAVA_PKG_BSFIX_TARGET_TAGS +# @ECLASS_VARIABLE: JAVA_PKG_BSFIX_TARGET_TAGS # @DESCRIPTION: # Targets to fix the 'source' attribute in JAVA_PKG_BSFIX_TARGET_TAGS=${JAVA_PKG_BSFIX_TARGET_TAGS:-"javac xjavac javac.preset"} -# @ECLASS-VARIABLE: JAVA_PKG_BSFIX_SOURCE_TAGS +# @ECLASS_VARIABLE: JAVA_PKG_BSFIX_SOURCE_TAGS # @DESCRIPTION: # Targets to fix the 'target' attribute in JAVA_PKG_BSFIX_SOURCE_TAGS=${JAVA_PKG_BSFIX_SOURCE_TAGS:-"javadoc javac xjavac javac.preset"} -# @ECLASS-VARIABLE: JAVA_ANT_CLASSPATH_TAGS +# @ECLASS_VARIABLE: JAVA_ANT_CLASSPATH_TAGS # @DESCRIPTION: # Targets to add the classpath attribute to JAVA_ANT_CLASSPATH_TAGS="javac xjavac" -# @ECLASS-VARIABLE: JAVA_ANT_IGNORE_SYSTEM_CLASSES +# @ECLASS_VARIABLE: JAVA_ANT_IGNORE_SYSTEM_CLASSES # @DEFAULT_UNSET # @DESCRIPTION: # When set, <available> Ant tasks are rewritten to ignore Ant's runtime classpath. diff --git a/eclass/java-osgi.eclass b/eclass/java-osgi.eclass index f2f55772e873..2043cbfb2d89 100644 --- a/eclass/java-osgi.eclass +++ b/eclass/java-osgi.eclass @@ -25,7 +25,7 @@ _JAVA_OSGI_ECLASS=1 inherit java-utils-2 -# @ECLASS-VARIABLE: _OSGI_T +# @ECLASS_VARIABLE: _OSGI_T # @INTERNAL # @DESCRIPTION: # We define _OSGI_T so that it does not contain a slash at the end. diff --git a/eclass/java-pkg-2.eclass b/eclass/java-pkg-2.eclass index 764aa95ba373..ef4670a110f4 100644 --- a/eclass/java-pkg-2.eclass +++ b/eclass/java-pkg-2.eclass @@ -23,7 +23,7 @@ _JAVA_PKG_2_ECLASS=1 inherit java-utils-2 -# @ECLASS-VARIABLE: JAVA_PKG_IUSE +# @ECLASS_VARIABLE: JAVA_PKG_IUSE # @PRE_INHERIT # @DEFAULT_UNSET # @DESCRIPTION: diff --git a/eclass/java-pkg-opt-2.eclass b/eclass/java-pkg-opt-2.eclass index 92f2cb53145d..b4461d7f1491 100644 --- a/eclass/java-pkg-opt-2.eclass +++ b/eclass/java-pkg-opt-2.eclass @@ -23,7 +23,7 @@ _JAVA_PKG_OPT_2_ECLASS=1 inherit java-utils-2 -# @ECLASS-VARIABLE: JAVA_PKG_OPT_USE +# @ECLASS_VARIABLE: JAVA_PKG_OPT_USE # @DESCRIPTION: # USE flag to control if optional Java stuff is build. Defaults to 'java'. JAVA_PKG_OPT_USE=${JAVA_PKG_OPT_USE:-java} diff --git a/eclass/java-pkg-simple.eclass b/eclass/java-pkg-simple.eclass index 26dc06b1a6fa..eab56460eef6 100644 --- a/eclass/java-pkg-simple.eclass +++ b/eclass/java-pkg-simple.eclass @@ -52,7 +52,7 @@ if has test ${JAVA_PKG_IUSE}; then [[ ${test_deps} ]] && DEPEND="test? ( ${test_deps} )" fi -# @ECLASS-VARIABLE: JAVA_GENTOO_CLASSPATH +# @ECLASS_VARIABLE: JAVA_GENTOO_CLASSPATH # @DEFAULT_UNSET # @DESCRIPTION: # Comma or space separated list of java packages to include in the @@ -64,26 +64,26 @@ fi # JAVA_GENTOO_CLASSPATH="foo,bar-2" # @CODE -# @ECLASS-VARIABLE: JAVA_GENTOO_CLASSPATH_EXTRA +# @ECLASS_VARIABLE: JAVA_GENTOO_CLASSPATH_EXTRA # @DEFAULT_UNSET # @DESCRIPTION: # Extra list of colon separated path elements to be put on the # classpath when compiling sources. -# @ECLASS-VARIABLE: JAVA_CLASSPATH_EXTRA +# @ECLASS_VARIABLE: JAVA_CLASSPATH_EXTRA # @DEFAULT_UNSET # @DESCRIPTION: # An extra comma or space separated list of java packages # that are needed only during compiling sources. -# @ECLASS-VARIABLE: JAVA_NEEDS_TOOLS +# @ECLASS_VARIABLE: JAVA_NEEDS_TOOLS # @DEFAULT_UNSET # @DESCRIPTION: # Add tools.jar to the gentoo.classpath. Should only be used # for build-time purposes, the dependency is not recorded to # package.env. -# @ECLASS-VARIABLE: JAVA_SRC_DIR +# @ECLASS_VARIABLE: JAVA_SRC_DIR # @DEFAULT_UNSET # @DESCRIPTION: # An array of directories relative to ${S} which contain the sources @@ -101,7 +101,7 @@ fi # @CODE # @DESCRIPTION: -# @ECLASS-VARIABLE: JAVA_RESOURCE_DIRS +# @ECLASS_VARIABLE: JAVA_RESOURCE_DIRS # @DEFAULT_UNSET # @DESCRIPTION: # An array of directories relative to ${S} which contain the @@ -112,17 +112,17 @@ fi # JAVA_RESOURCE_DIRS=("src/java/resources/") # @CODE -# @ECLASS-VARIABLE: JAVA_ENCODING +# @ECLASS_VARIABLE: JAVA_ENCODING # @DESCRIPTION: # The character encoding used in the source files. : ${JAVA_ENCODING:=UTF-8} -# @ECLASS-VARIABLE: JAVAC_ARGS +# @ECLASS_VARIABLE: JAVAC_ARGS # @DEFAULT_UNSET # @DESCRIPTION: # Additional arguments to be passed to javac. -# @ECLASS-VARIABLE: JAVA_MAIN_CLASS +# @ECLASS_VARIABLE: JAVA_MAIN_CLASS # @DEFAULT_UNSET # @DESCRIPTION: # If the java has a main class, you are going to set the @@ -133,30 +133,30 @@ fi # JAVA_MAIN_CLASS="org.gentoo.java.ebuilder.Main" # @CODE -# @ECLASS-VARIABLE: JAVADOC_ARGS +# @ECLASS_VARIABLE: JAVADOC_ARGS # @DEFAULT_UNSET # @DESCRIPTION: # Additional arguments to be passed to javadoc. -# @ECLASS-VARIABLE: JAVA_JAR_FILENAME +# @ECLASS_VARIABLE: JAVA_JAR_FILENAME # @DESCRIPTION: # The name of the jar file to create and install. : ${JAVA_JAR_FILENAME:=${PN}.jar} -# @ECLASS-VARIABLE: JAVA_BINJAR_FILENAME +# @ECLASS_VARIABLE: JAVA_BINJAR_FILENAME # @DEFAULT_UNSET # @DESCRIPTION: # The name of the binary jar file to be installed if # USE FLAG 'binary' is set. -# @ECLASS-VARIABLE: JAVA_LAUNCHER_FILENAME +# @ECLASS_VARIABLE: JAVA_LAUNCHER_FILENAME # @DESCRIPTION: # If ${JAVA_MAIN_CLASS} is set, we will create a launcher to # execute the jar, and ${JAVA_LAUNCHER_FILENAME} will be the # name of the script. : ${JAVA_LAUNCHER_FILENAME:=${PN}-${SLOT}} -# @ECLASS-VARIABLE: JAVA_TESTING_FRAMEWORKS +# @ECLASS_VARIABLE: JAVA_TESTING_FRAMEWORKS # @DEFAULT_UNSET # @DESCRIPTION: # A space separated list that defines which tests it should launch @@ -166,7 +166,7 @@ fi # JAVA_TESTING_FRAMEWORKS="junit pkgdiff" # @CODE -# @ECLASS-VARIABLE: JAVA_TEST_RUN_ONLY +# @ECLASS_VARIABLE: JAVA_TEST_RUN_ONLY # @DEFAULT_UNSET # @DESCRIPTION: # A array of classes that should be executed during src_test(). This variable @@ -177,7 +177,7 @@ fi # JAVA_TEST_RUN_ONLY=( "net.sf.cglib.AllTests" "net.sf.cglib.TestAll" ) # @CODE -# @ECLASS-VARIABLE: JAVA_TEST_EXCLUDES +# @ECLASS_VARIABLE: JAVA_TEST_EXCLUDES # @DEFAULT_UNSET # @DESCRIPTION: # A array of classes that should not be executed during src_test(). @@ -186,20 +186,20 @@ fi # JAVA_TEST_EXCLUDES=( "net.sf.cglib.CodeGenTestCase" "net.sf.cglib.TestAll" ) # @CODE -# @ECLASS-VARIABLE: JAVA_TEST_GENTOO_CLASSPATH +# @ECLASS_VARIABLE: JAVA_TEST_GENTOO_CLASSPATH # @DEFAULT_UNSET # @DESCRIPTION: # The extra classpath we need while compiling and running the # source code for testing. -# @ECLASS-VARIABLE: JAVA_TEST_SRC_DIR +# @ECLASS_VARIABLE: JAVA_TEST_SRC_DIR # @DEFAULT_UNSET # @DESCRIPTION: # An array of directories relative to ${S} which contain the # sources for testing. It is almost equivalent to # ${JAVA_SRC_DIR} in src_test. -# @ECLASS-VARIABLE: JAVA_TEST_RESOURCE_DIRS +# @ECLASS_VARIABLE: JAVA_TEST_RESOURCE_DIRS # @DEFAULT_UNSET # @DESCRIPTION: # It is almost equivalent to ${JAVA_RESOURCE_DIRS} in src_test. diff --git a/eclass/java-utils-2.eclass b/eclass/java-utils-2.eclass index a79e865e66e2..11798908daef 100644 --- a/eclass/java-utils-2.eclass +++ b/eclass/java-utils-2.eclass @@ -43,7 +43,7 @@ has test ${JAVA_PKG_IUSE} && RESTRICT+=" !test? ( test )" JAVA_PKG_E_DEPEND=">=dev-java/java-config-2.2.0-r3" has source ${JAVA_PKG_IUSE} && JAVA_PKG_E_DEPEND="${JAVA_PKG_E_DEPEND} source? ( app-arch/zip )" -# @ECLASS-VARIABLE: JAVA_PKG_WANT_BOOTCLASSPATH +# @ECLASS_VARIABLE: JAVA_PKG_WANT_BOOTCLASSPATH # @DEFAULT_UNSET # @DESCRIPTION: # The version of bootclasspath the package needs to work. Translates to a proper @@ -58,7 +58,7 @@ if [[ -n "${JAVA_PKG_WANT_BOOTCLASSPATH}" ]]; then fi fi -# @ECLASS-VARIABLE: JAVA_PKG_ALLOW_VM_CHANGE +# @ECLASS_VARIABLE: JAVA_PKG_ALLOW_VM_CHANGE # @DESCRIPTION: # Allow this eclass to change the active VM? # If your system VM isn't sufficient for the package, the build will fail @@ -68,7 +68,7 @@ fi # should not be used in the final ebuild. JAVA_PKG_ALLOW_VM_CHANGE=${JAVA_PKG_ALLOW_VM_CHANGE:="yes"} -# @ECLASS-VARIABLE: JAVA_PKG_FORCE_VM +# @ECLASS_VARIABLE: JAVA_PKG_FORCE_VM # @DEFAULT_UNSET # @DESCRIPTION: # Explicitly set a particular VM to use. If its not valid, it'll fall back to @@ -81,7 +81,7 @@ JAVA_PKG_ALLOW_VM_CHANGE=${JAVA_PKG_ALLOW_VM_CHANGE:="yes"} # JAVA_PKG_FORCE_VM=sun-jdk-1.5 emerge foo # @CODE -# @ECLASS-VARIABLE: JAVA_PKG_WANT_BUILD_VM +# @ECLASS_VARIABLE: JAVA_PKG_WANT_BUILD_VM # @DEFAULT_UNSET # @DESCRIPTION: # A list of VM handles to choose a build VM from. If the list contains the @@ -93,7 +93,7 @@ JAVA_PKG_ALLOW_VM_CHANGE=${JAVA_PKG_ALLOW_VM_CHANGE:="yes"} # covered by DEPEND. # Requires JAVA_PKG_WANT_SOURCE and JAVA_PKG_WANT_TARGET to be set as well. -# @ECLASS-VARIABLE: JAVA_PKG_WANT_SOURCE +# @ECLASS_VARIABLE: JAVA_PKG_WANT_SOURCE # @DEFAULT_UNSET # @DESCRIPTION: # Specify a non-standard Java source version for compilation (via javac -source @@ -108,7 +108,7 @@ JAVA_PKG_ALLOW_VM_CHANGE=${JAVA_PKG_ALLOW_VM_CHANGE:="yes"} # JAVA_PKG_WANT_SOURCE=1.4 emerge baz # @CODE -# @ECLASS-VARIABLE: JAVA_PKG_WANT_TARGET +# @ECLASS_VARIABLE: JAVA_PKG_WANT_TARGET # @DEFAULT_UNSET # @DESCRIPTION: # Same as JAVA_PKG_WANT_SOURCE (see above) but for javac -target parameter, @@ -123,7 +123,7 @@ JAVA_PKG_ALLOW_VM_CHANGE=${JAVA_PKG_ALLOW_VM_CHANGE:="yes"} # JAVA_PKG_WANT_TARGET=1.3 emerge bar # @CODE -# @ECLASS-VARIABLE: JAVA_TEST_EXTRA_ARGS +# @ECLASS_VARIABLE: JAVA_TEST_EXTRA_ARGS # @DEFAULT_UNSET # @DESCRIPTION: # Array of extra arguments that should be passed to java command when running tests. @@ -139,7 +139,7 @@ JAVA_PKG_ALLOW_VM_CHANGE=${JAVA_PKG_ALLOW_VM_CHANGE:="yes"} # ) # @CODE -# @ECLASS-VARIABLE: JAVA_PKG_DEBUG +# @ECLASS_VARIABLE: JAVA_PKG_DEBUG # @DEFAULT_UNSET # @DESCRIPTION: # A variable to be set with "yes" or "y", or ANY string of length non equal to @@ -149,7 +149,7 @@ JAVA_PKG_ALLOW_VM_CHANGE=${JAVA_PKG_ALLOW_VM_CHANGE:="yes"} # JAVA_PKG_DEBUG="yes" # @CODE -# @ECLASS-VARIABLE: JAVA_RM_FILES +# @ECLASS_VARIABLE: JAVA_RM_FILES # @DEFAULT_UNSET # @DESCRIPTION: # An array containing a list of files to remove. If defined, this array will be @@ -177,7 +177,7 @@ JAVA_PKG_COMPILER_DIR=${JAVA_PKG_COMPILER_DIR:="/usr/share/java-config-2/compile # Can be overloaded, but it should be overloaded only for local testing. JAVA_PKG_COMPILERS_CONF=${JAVA_PKG_COMPILERS_CONF:="/etc/java-config-2/build/compilers.conf"} -# @ECLASS-VARIABLE: JAVA_PKG_FORCE_COMPILER +# @ECLASS_VARIABLE: JAVA_PKG_FORCE_COMPILER # @INTERNAL # @DEFAULT_UNSET # @DESCRIPTION: @@ -191,7 +191,7 @@ JAVA_PKG_COMPILERS_CONF=${JAVA_PKG_COMPILERS_CONF:="/etc/java-config-2/build/com # JAVA_PKG_FORCE_COMPILER="jikes javac" # @CODE -# @ECLASS-VARIABLE: JAVA_PKG_FORCE_ANT_TASKS +# @ECLASS_VARIABLE: JAVA_PKG_FORCE_ANT_TASKS # @DEFAULT_UNSET # @DESCRIPTION: # An $IFS separated list of ant tasks. Can be set in environment before calling diff --git a/eclass/java-vm-2.eclass b/eclass/java-vm-2.eclass index 0d1eb2dc938f..7c63e63fad76 100644 --- a/eclass/java-vm-2.eclass +++ b/eclass/java-vm-2.eclass @@ -28,25 +28,25 @@ DEPEND="${RDEPEND}" export WANT_JAVA_CONFIG=2 -# @ECLASS-VARIABLE: JAVA_VM_CONFIG_DIR +# @ECLASS_VARIABLE: JAVA_VM_CONFIG_DIR # @INTERNAL # @DESCRIPTION: # Where to place the vm env file. JAVA_VM_CONFIG_DIR="/usr/share/java-config-2/vm" -# @ECLASS-VARIABLE: JAVA_VM_DIR +# @ECLASS_VARIABLE: JAVA_VM_DIR # @INTERNAL # @DESCRIPTION: # Base directory for vm links. JAVA_VM_DIR="/usr/lib/jvm" -# @ECLASS-VARIABLE: JAVA_VM_SYSTEM +# @ECLASS_VARIABLE: JAVA_VM_SYSTEM # @INTERNAL # @DESCRIPTION: # Link for system-vm JAVA_VM_SYSTEM="/etc/java-config-2/current-system-vm" -# @ECLASS-VARIABLE: JAVA_VM_BUILD_ONLY +# @ECLASS_VARIABLE: JAVA_VM_BUILD_ONLY # @DESCRIPTION: # Set to YES to mark a vm as build-only. JAVA_VM_BUILD_ONLY="${JAVA_VM_BUILD_ONLY:-FALSE}" diff --git a/eclass/kde.org.eclass b/eclass/kde.org.eclass index 00ec25b071f9..8e0c97f0ec00 100644 --- a/eclass/kde.org.eclass +++ b/eclass/kde.org.eclass @@ -23,7 +23,7 @@ esac if [[ -z ${_KDE_ORG_ECLASS} ]]; then _KDE_ORG_ECLASS=1 -# @ECLASS-VARIABLE: KDE_BUILD_TYPE +# @ECLASS_VARIABLE: KDE_BUILD_TYPE # @DESCRIPTION: # If PV matches "*9999*", this is automatically set to "live". # Otherwise, this is automatically set to "release". @@ -37,7 +37,7 @@ if [[ ${KDE_BUILD_TYPE} == live ]]; then inherit git-r3 fi -# @ECLASS-VARIABLE: KDE_ORG_CATEGORIES +# @ECLASS_VARIABLE: KDE_ORG_CATEGORIES # @INTERNAL # @DESCRIPTION: # Map of ${CATEGORY}=<upstream category> key-value pairs. @@ -79,14 +79,14 @@ declare -A KDE_ORG_CATEGORIES=( ) readonly KDE_ORG_CATEGORIES -# @ECLASS-VARIABLE: KDE_ORG_CATEGORY +# @ECLASS_VARIABLE: KDE_ORG_CATEGORY # @PRE_INHERIT # @DESCRIPTION: # If unset, default value is mapped from ${CATEGORY} to corresponding upstream # category on invent.kde.org, with "kde" as fallback value. : ${KDE_ORG_CATEGORY:=${KDE_ORG_CATEGORIES[${CATEGORY}]:-kde}} -# @ECLASS-VARIABLE: KDE_ORG_COMMIT +# @ECLASS_VARIABLE: KDE_ORG_COMMIT # @PRE_INHERIT # @DEFAULT_UNSET # @DESCRIPTION: @@ -94,14 +94,14 @@ readonly KDE_ORG_CATEGORIES # invent.kde.org repository identified by KDE_ORG_CATEGORY and KDE_ORG_NAME # at the desired COMMIT ID. -# @ECLASS-VARIABLE: KDE_ORG_NAME +# @ECLASS_VARIABLE: KDE_ORG_NAME # @PRE_INHERIT # @DESCRIPTION: # If unset, default value is set to ${PN}. # Name of the package as hosted on kde.org mirrors. : ${KDE_ORG_NAME:=$PN} -# @ECLASS-VARIABLE: KDE_GEAR +# @ECLASS_VARIABLE: KDE_GEAR # @PRE_INHERIT # @DESCRIPTION: # Mark package is being part of KDE Gear release schedule. @@ -113,7 +113,7 @@ if [[ ${CATEGORY} == kde-apps ]]; then KDE_GEAR=true fi -# @ECLASS-VARIABLE: KDE_SELINUX_MODULE +# @ECLASS_VARIABLE: KDE_SELINUX_MODULE # @PRE_INHERIT # @DESCRIPTION: # If set to "none", do nothing. @@ -129,7 +129,7 @@ case ${KDE_SELINUX_MODULE} in ;; esac -# @ECLASS-VARIABLE: KDE_UNRELEASED +# @ECLASS_VARIABLE: KDE_UNRELEASED # @INTERNAL # @DESCRIPTION: # An array of $CATEGORY-$PV pairs of packages that are unreleased upstream. @@ -249,7 +249,7 @@ _kde.org_calculate_live_repo() { SRC_URI="" - # @ECLASS-VARIABLE: EGIT_MIRROR + # @ECLASS_VARIABLE: EGIT_MIRROR # @DESCRIPTION: # This variable allows easy overriding of default kde mirror service # (anongit) with anything else you might want to use. @@ -267,7 +267,7 @@ _kde.org_calculate_live_repo() { EGIT_BRANCH="Plasma/$(ver_cut 1-2)" fi - # @ECLASS-VARIABLE: EGIT_REPONAME + # @ECLASS_VARIABLE: EGIT_REPONAME # @DESCRIPTION: # This variable allows overriding of default repository # name. Specify only if this differs from PN and KDE_ORG_NAME. diff --git a/eclass/kernel-2.eclass b/eclass/kernel-2.eclass index 9ec3d18d17c5..bd982d3a52ca 100644 --- a/eclass/kernel-2.eclass +++ b/eclass/kernel-2.eclass @@ -17,12 +17,12 @@ # added functionality: # unipatch - a flexible, singular method to extract, add and remove patches. -# @ECLASS-VARIABLE: CTARGET +# @ECLASS_VARIABLE: CTARGET # @INTERNAL # @DESCRIPTION: # Utilized for 32-bit userland on ppc64. -# @ECLASS-VARIABLE: CKV +# @ECLASS_VARIABLE: CKV # @DEFAULT_UNSET # @DESCRIPTION: # Used as a comparison kernel version, which is used when @@ -30,131 +30,131 @@ # This gets set to the portage style versioning. ie: # CKV=2.6.11_rc4 -# @ECLASS-VARIABLE: EXTRAVERSION +# @ECLASS_VARIABLE: EXTRAVERSION # @DEFAULT_UNSET # @DESCRIPTION: # The additional version appended to OKV (-gentoo/-gentoo-r1) -# @ECLASS-VARIABLE: H_SUPPORTEDARCH +# @ECLASS_VARIABLE: H_SUPPORTEDARCH # @DEFAULT_UNSET # @DESCRIPTION: # this should be a space separated list of ARCH's which # can be supported by the headers ebuild -# @ECLASS-VARIABLE: K_BASE_VER +# @ECLASS_VARIABLE: K_BASE_VER # @DEFAULT_UNSET # @DESCRIPTION: # for git-sources, declare the base version this patch is # based off of. -# @ECLASS-VARIABLE: K_DEBLOB_AVAILABLE +# @ECLASS_VARIABLE: K_DEBLOB_AVAILABLE # @DEFAULT_UNSET # @DESCRIPTION: # A value of "0" will disable all of the optional deblob # code. If empty, will be set to "1" if deblobbing is # possible. Test ONLY for "1". -# @ECLASS-VARIABLE: K_DEBLOB_TAG +# @ECLASS_VARIABLE: K_DEBLOB_TAG # @DEFAULT_UNSET # @DESCRIPTION: # This will be the version of deblob script. It's a upstream SVN tag # such asw -gnu or -gnu1. -# @ECLASS-VARIABLE: K_DEFCONFIG +# @ECLASS_VARIABLE: K_DEFCONFIG # @DEFAULT_UNSET # @DESCRIPTION: # Allow specifying a different defconfig target. # If length zero, defaults to "defconfig". -# @ECLASS-VARIABLE: K_EXP_GENPATCHES_PULL +# @ECLASS_VARIABLE: K_EXP_GENPATCHES_PULL # @DEFAULT_UNSET # @DESCRIPTION: # If set, we pull "experimental" regardless of the USE FLAG # but expect the ebuild maintainer to use K_EXP_GENPATCHES_LIST. -# @ECLASS-VARIABLE: K_EXP_GENPATCHES_NOUSE +# @ECLASS_VARIABLE: K_EXP_GENPATCHES_NOUSE # @DEFAULT_UNSET # @DESCRIPTION: # If set, no USE flag will be provided for "experimental"; # as a result the user cannot choose to apply those patches. -# @ECLASS-VARIABLE: K_EXP_GENPATCHES_LIST +# @ECLASS_VARIABLE: K_EXP_GENPATCHES_LIST # @DEFAULT_UNSET # @DESCRIPTION: # A list of patches to pick from "experimental" to apply when # the USE flag is unset and K_EXP_GENPATCHES_PULL is set. -# @ECLASS-VARIABLE: K_EXTRAEINFO +# @ECLASS_VARIABLE: K_EXTRAEINFO # @DEFAULT_UNSET # @DESCRIPTION: # this is a new-line seperated list of einfo displays in # postinst and can be used to carry additional postinst # messages -# @ECLASS-VARIABLE: K_EXTRAELOG +# @ECLASS_VARIABLE: K_EXTRAELOG # @DEFAULT_UNSET # @DESCRIPTION: # same as K_EXTRAEINFO except using elog instead of einfo -# @ECLASS-VARIABLE: K_EXTRAEWARN +# @ECLASS_VARIABLE: K_EXTRAEWARN # @DEFAULT_UNSET # @DESCRIPTION: # same as K_EXTRAEINFO except using ewarn instead of einfo -# @ECLASS-VARIABLE: K_FROM_GIT +# @ECLASS_VARIABLE: K_FROM_GIT # @DEFAULT_UNSET # @DESCRIPTION: # If set, this variable signals that the kernel sources derives # from a git tree and special handling will be applied so that # any patches that are applied will actually apply. -# @ECLASS-VARIABLE: K_GENPATCHES_VER +# @ECLASS_VARIABLE: K_GENPATCHES_VER # @DEFAULT_UNSET # @DESCRIPTION: # The version of the genpatches tarball(s) to apply. # A value of "5" would apply genpatches-2.6.12-5 to # my-sources-2.6.12.ebuild -# @ECLASS-VARIABLE: K_LONGTERM +# @ECLASS_VARIABLE: K_LONGTERM # @DEFAULT_UNSET # @DESCRIPTION: # If set, the eclass will search for the kernel source # in the long term directories on the upstream servers # as the location has been changed by upstream -# @ECLASS-VARIABLE: K_NODRYRUN +# @ECLASS_VARIABLE: K_NODRYRUN # @DEFAULT_UNSET # @DESCRIPTION: # if this is set then patch --dry-run will not # be run. Certain patches will fail with this parameter # See bug #507656 -# @ECLASS-VARIABLE: K_NOSETEXTRAVERSION +# @ECLASS_VARIABLE: K_NOSETEXTRAVERSION # @DEFAULT_UNSET # @DESCRIPTION: # if this is set then EXTRAVERSION will not be # automatically set within the kernel Makefile -# @ECLASS-VARIABLE: K_NOUSENAME +# @ECLASS_VARIABLE: K_NOUSENAME # @DEFAULT_UNSET # @DESCRIPTION: # if this is set then EXTRAVERSION will not include the # first part of ${PN} in EXTRAVERSION -# @ECLASS-VARIABLE: K_NOUSEPR +# @ECLASS_VARIABLE: K_NOUSEPR # @DEFAULT_UNSET # @DESCRIPTION: # if this is set then EXTRAVERSION will not include the # anything based on ${PR}. -# @ECLASS-VARIABLE: K_PREDEBLOBBED +# @ECLASS_VARIABLE: K_PREDEBLOBBED # @DEFAULT_UNSET # @DESCRIPTION: # This kernel was already deblobbed elsewhere. # If false, either optional deblobbing will be available # or the license will note the inclusion of linux-firmware code. -# @ECLASS-VARIABLE: K_PREPATCHED +# @ECLASS_VARIABLE: K_PREPATCHED # @DEFAULT_UNSET # @DESCRIPTION: # if the patchset is prepatched (ie: pf-sources, @@ -162,18 +162,18 @@ # patchset version for and not use it as a true package # revision -# @ECLASS-VARIABLE: K_SECURITY_UNSUPPORTED +# @ECLASS_VARIABLE: K_SECURITY_UNSUPPORTED # @DEFAULT_UNSET # @DESCRIPTION: # If set, this kernel is unsupported by Gentoo Security # to the current eclass maintainer :) -# @ECLASS-VARIABLE: K_SYMLINK +# @ECLASS_VARIABLE: K_SYMLINK # @DEFAULT_UNSET # @DESCRIPTION: # if this is set, then forcably create symlink anyway -# @ECLASS-VARIABLE: K_USEPV +# @ECLASS_VARIABLE: K_USEPV # @DEFAULT_UNSET # @DESCRIPTION: # When setting the EXTRAVERSION variable, it should @@ -181,74 +181,74 @@ # this is useful for things like wolk. IE: # EXTRAVERSION would be something like : -wolk-4.19-r1 -# @ECLASS-VARIABLE: K_WANT_GENPATCHES +# @ECLASS_VARIABLE: K_WANT_GENPATCHES # @DEFAULT_UNSET # @DESCRIPTION: # Apply genpatches to kernel source. Provide any # combination of "base", "extras" or "experimental". -# @ECLASS-VARIABLE: KERNEL_URI +# @ECLASS_VARIABLE: KERNEL_URI # @DEFAULT_UNSET # @DESCRIPTION: # Upstream kernel src URI -# @ECLASS-VARIABLE: KV +# @ECLASS_VARIABLE: KV # @DEFAULT_UNSET # @OUTPUT_VARIABLE # @DESCRIPTION: # Kernel Version (2.6.0-gentoo/2.6.0-test11-gentoo-r1) -# @ECLASS-VARIABLE: KV_FULL +# @ECLASS_VARIABLE: KV_FULL # @DEFAULT_UNSET # @OUTPUT_VARIABLE # @DESCRIPTION: # Kernel full version -# @ECLASS-VARIABLE: KV_MAJOR +# @ECLASS_VARIABLE: KV_MAJOR # @DEFAULT_UNSET # @OUTPUT_VARIABLE # @DESCRIPTION: # Kernel major version from <KV_MAJOR>.<KV_MINOR>.<KV_PATCH -# @ECLASS-VARIABLE: KV_MINOR +# @ECLASS_VARIABLE: KV_MINOR # @DEFAULT_UNSET # @OUTPUT_VARIABLE # @DESCRIPTION: # Kernel minor version from <KV_MAJOR>.<KV_MINOR>.<KV_PATCH -# @ECLASS-VARIABLE: KV_PATCH +# @ECLASS_VARIABLE: KV_PATCH # @DEFAULT_UNSET # @OUTPUT_VARIABLE # @DESCRIPTION: # Kernel patch version from <KV_MAJOR>.<KV_MINOR>.<KV_PATCH -# @ECLASS-VARIABLE: LINUX_HOSTCFLAGS +# @ECLASS_VARIABLE: LINUX_HOSTCFLAGS # @DEFAULT_UNSET # @DESCRIPTION: # Default cflags if not already set -# @ECLASS-VARIABLE: OKV +# @ECLASS_VARIABLE: OKV # @DEFAULT_UNSET # @DESCRIPTION: # Original Kernel Version (2.6.0/2.6.0-test11) -# @ECLASS-VARIABLE: RELEASE +# @ECLASS_VARIABLE: RELEASE # @DEFAULT_UNSET # @DESCRIPTION: # Representative of the kernel release tag (-rc3/-git3) -# @ECLASS-VARIABLE: RELEASETYPE +# @ECLASS_VARIABLE: RELEASETYPE # @DEFAULT_UNSET # @DESCRIPTION: # The same as RELEASE but with its numerics stripped (-rc/-git) -# @ECLASS-VARIABLE: UNIPATCH_DOCS +# @ECLASS_VARIABLE: UNIPATCH_DOCS # @DEFAULT_UNSET # @DESCRIPTION: # space delimemeted list of docs to be installed to # the doc dir -# @ECLASS-VARIABLE: UNIPATCH_EXCLUDE +# @ECLASS_VARIABLE: UNIPATCH_EXCLUDE # @DEFAULT_UNSET # @DESCRIPTION: # An addition var to support exlusion based completely @@ -256,22 +256,22 @@ # this should _NOT_ be used from the ebuild as this is # reserved for end users passing excludes from the cli -# @ECLASS-VARIABLE: UNIPATCH_LIST +# @ECLASS_VARIABLE: UNIPATCH_LIST # @DEFAULT_UNSET # @DESCRIPTION: # space delimetered list of patches to be applied to the kernel -# @ECLASS-VARIABLE: UNIPATCH_LIST_DEFAULT +# @ECLASS_VARIABLE: UNIPATCH_LIST_DEFAULT # @INTERNAL # @DESCRIPTION: # Upstream kernel patch archive -# @ECLASS-VARIABLE: UNIPATCH_LIST_GENPATCHES +# @ECLASS_VARIABLE: UNIPATCH_LIST_GENPATCHES # @INTERNAL # @DESCRIPTION: # List of genpatches archives to apply to the kernel -# @ECLASS-VARIABLE: UNIPATCH_STRICTORDER +# @ECLASS_VARIABLE: UNIPATCH_STRICTORDER # @DEFAULT_UNSET # @DESCRIPTION: # if this is set places patches into directories of diff --git a/eclass/kernel-install.eclass b/eclass/kernel-install.eclass index 3f98c4a53443..7f4ca654845f 100644 --- a/eclass/kernel-install.eclass +++ b/eclass/kernel-install.eclass @@ -21,7 +21,7 @@ # Additionally, the inherited mount-boot eclass exports pkg_pretend. # It also stubs out pkg_preinst and pkg_prerm defined by mount-boot. -# @ECLASS-VARIABLE: KV_LOCALVERSION +# @ECLASS_VARIABLE: KV_LOCALVERSION # @DEFAULT_UNSET # @DESCRIPTION: # A string containing the kernel LOCALVERSION, e.g. '-gentoo'. diff --git a/eclass/latex-package.eclass b/eclass/latex-package.eclass index 3d2c09754775..359b5177bb37 100644 --- a/eclass/latex-package.eclass +++ b/eclass/latex-package.eclass @@ -68,13 +68,13 @@ esac HOMEPAGE="http://www.tug.org/" TEXMF="/usr/share/texmf-site" -# @ECLASS-VARIABLE: SUPPLIER +# @ECLASS_VARIABLE: SUPPLIER # @DESCRIPTION: # This refers to the font supplier; it should be overridden (see eclass # DESCRIPTION above) SUPPLIER="misc" -# @ECLASS-VARIABLE: LATEX_DOC_ARGUMENTS +# @ECLASS_VARIABLE: LATEX_DOC_ARGUMENTS # @DESCRIPTION: # When compiling documentation (.tex/.dtx), this variable will be passed # to pdflatex as additional argument (e.g. -shell-escape). This variable diff --git a/eclass/libretro-core.eclass b/eclass/libretro-core.eclass index ff7b629d63b5..e4f7221a5408 100644 --- a/eclass/libretro-core.eclass +++ b/eclass/libretro-core.eclass @@ -39,7 +39,7 @@ _LIBRETRO_CORE_ECLASS=1 IUSE="debug" -# @ECLASS-VARIABLE: LIBRETRO_CORE_NAME +# @ECLASS_VARIABLE: LIBRETRO_CORE_NAME # @REQUIRED # @DESCRIPTION: # Name of this Libretro core. The libretro-core_src_install() phase function @@ -52,13 +52,13 @@ if [[ -z "${LIBRETRO_CORE_NAME}" ]]; then LIBRETRO_CORE_NAME=${LIBRETRO_CORE_NAME//-/_} fi -# @ECLASS-VARIABLE: LIBRETRO_COMMIT_SHA +# @ECLASS_VARIABLE: LIBRETRO_COMMIT_SHA # @PRE_INHERIT # @DESCRIPTION: # Commit SHA used for SRC_URI will die if not set in <9999 ebuilds. # Needs to be set before inherit. -# @ECLASS-VARIABLE: LIBRETRO_REPO_NAME +# @ECLASS_VARIABLE: LIBRETRO_REPO_NAME # @PRE_INHERIT # @REQUIRED # @DESCRIPTION: diff --git a/eclass/linux-info.eclass b/eclass/linux-info.eclass index a0942f0e554c..57b1f4c89ae9 100644 --- a/eclass/linux-info.eclass +++ b/eclass/linux-info.eclass @@ -29,13 +29,13 @@ # A Couple of env vars are available to effect usage of this eclass # These are as follows: -# @ECLASS-VARIABLE: KERNEL_DIR +# @ECLASS_VARIABLE: KERNEL_DIR # @DESCRIPTION: # A string containing the directory of the target kernel sources. The default value is # "/usr/src/linux" KERNEL_DIR="${KERNEL_DIR:-${ROOT%/}/usr/src/linux}" -# @ECLASS-VARIABLE: CONFIG_CHECK +# @ECLASS_VARIABLE: CONFIG_CHECK # @DEFAULT_UNSET # @DESCRIPTION: # A string containing a list of .config options to check for before @@ -58,7 +58,7 @@ KERNEL_DIR="${KERNEL_DIR:-${ROOT%/}/usr/src/linux}" # This is to allow usage of binary kernels, and minimal systems without kernel # sources. -# @ECLASS-VARIABLE: ERROR_<CFG> +# @ECLASS_VARIABLE: ERROR_<CFG> # @DEFAULT_UNSET # @DESCRIPTION: # A string containing the error message to display when the check against CONFIG_CHECK @@ -71,7 +71,7 @@ KERNEL_DIR="${KERNEL_DIR:-${ROOT%/}/usr/src/linux}" # CONFIG_CHECK="~CFG" with WARNING_<CFG>="Warning Message" calls ewarn without dieing -# @ECLASS-VARIABLE: KBUILD_OUTPUT +# @ECLASS_VARIABLE: KBUILD_OUTPUT # @DEFAULT_UNSET # @DESCRIPTION: # A string passed on commandline, or set from the kernel makefile. It contains the directory @@ -80,7 +80,7 @@ KERNEL_DIR="${KERNEL_DIR:-${ROOT%/}/usr/src/linux}" # There are also a couple of variables which are set by this, and shouldn't be # set by hand. These are as follows: -# @ECLASS-VARIABLE: KERNEL_MAKEFILE +# @ECLASS_VARIABLE: KERNEL_MAKEFILE # @INTERNAL # @DESCRIPTION: # According to upstream documentation, by default, when make looks for the makefile, it tries @@ -89,43 +89,43 @@ KERNEL_DIR="${KERNEL_DIR:-${ROOT%/}/usr/src/linux}" # See https://www.gnu.org/software/make/manual/make.html : ${KERNEL_MAKEFILE:=""} -# @ECLASS-VARIABLE: KV_FULL +# @ECLASS_VARIABLE: KV_FULL # @OUTPUT_VARIABLE # @DESCRIPTION: # A read-only variable. It's a string containing the full kernel version. ie: 2.6.9-gentoo-johnm-r1 -# @ECLASS-VARIABLE: KV_MAJOR +# @ECLASS_VARIABLE: KV_MAJOR # @OUTPUT_VARIABLE # @DESCRIPTION: # A read-only variable. It's an integer containing the kernel major version. ie: 2 -# @ECLASS-VARIABLE: KV_MINOR +# @ECLASS_VARIABLE: KV_MINOR # @OUTPUT_VARIABLE # @DESCRIPTION: # A read-only variable. It's an integer containing the kernel minor version. ie: 6 -# @ECLASS-VARIABLE: KV_PATCH +# @ECLASS_VARIABLE: KV_PATCH # @OUTPUT_VARIABLE # @DESCRIPTION: # A read-only variable. It's an integer containing the kernel patch version. ie: 9 -# @ECLASS-VARIABLE: KV_EXTRA +# @ECLASS_VARIABLE: KV_EXTRA # @OUTPUT_VARIABLE # @DESCRIPTION: # A read-only variable. It's a string containing the kernel EXTRAVERSION. ie: -gentoo -# @ECLASS-VARIABLE: KV_LOCAL +# @ECLASS_VARIABLE: KV_LOCAL # @OUTPUT_VARIABLE # @DESCRIPTION: # A read-only variable. It's a string containing the kernel LOCALVERSION concatenation. ie: -johnm -# @ECLASS-VARIABLE: KV_DIR +# @ECLASS_VARIABLE: KV_DIR # @OUTPUT_VARIABLE # @DESCRIPTION: # A read-only variable. It's a string containing the kernel source directory, will be null if # KERNEL_DIR is invalid. -# @ECLASS-VARIABLE: KV_OUT_DIR +# @ECLASS_VARIABLE: KV_OUT_DIR # @OUTPUT_VARIABLE # @DESCRIPTION: # A read-only variable. It's a string containing the kernel object directory, will be KV_DIR unless @@ -244,7 +244,7 @@ getfilevar_noexec() { fi } -# @ECLASS-VARIABLE: _LINUX_CONFIG_EXISTS_DONE +# @ECLASS_VARIABLE: _LINUX_CONFIG_EXISTS_DONE # @INTERNAL # @DESCRIPTION: # This is only set if one of the linux_config_*exists functions has been called. diff --git a/eclass/linux-mod.eclass b/eclass/linux-mod.eclass index e327be7ca13f..36325fab0fa5 100644 --- a/eclass/linux-mod.eclass +++ b/eclass/linux-mod.eclass @@ -19,14 +19,14 @@ # A Couple of env vars are available to effect usage of this eclass # These are as follows: -# @ECLASS-VARIABLE: MODULES_OPTIONAL_USE +# @ECLASS_VARIABLE: MODULES_OPTIONAL_USE # @PRE_INHERIT # @DEFAULT_UNSET # @DESCRIPTION: # A string containing the USE flag to use for making this eclass optional # The recommended non-empty value is 'modules' -# @ECLASS-VARIABLE: MODULES_OPTIONAL_USE_IUSE_DEFAULT +# @ECLASS_VARIABLE: MODULES_OPTIONAL_USE_IUSE_DEFAULT # @PRE_INHERIT # @DEFAULT_UNSET # @DESCRIPTION: @@ -34,29 +34,29 @@ # flag. Default value is unset (false). True represented by 1 or 'on', other # values including unset treated as false. -# @ECLASS-VARIABLE: KERNEL_DIR +# @ECLASS_VARIABLE: KERNEL_DIR # @DESCRIPTION: # A string containing the directory of the target kernel sources. The default value is # "/usr/src/linux" : ${KERNEL_DIR:=/usr/src/linux} -# @ECLASS-VARIABLE: ECONF_PARAMS +# @ECLASS_VARIABLE: ECONF_PARAMS # @DEFAULT_UNSET # @DESCRIPTION: # It's a string containing the parameters to pass to econf. # If this is not set, then econf isn't run. -# @ECLASS-VARIABLE: BUILD_PARAMS +# @ECLASS_VARIABLE: BUILD_PARAMS # @DEFAULT_UNSET # @DESCRIPTION: # It's a string with the parameters to pass to emake. -# @ECLASS-VARIABLE: BUILD_TARGETS +# @ECLASS_VARIABLE: BUILD_TARGETS # @DESCRIPTION: # It's a string with the build targets to pass to make. The default value is "clean module" : ${BUILD_TARGETS:=clean module} -# @ECLASS-VARIABLE: MODULE_NAMES +# @ECLASS_VARIABLE: MODULE_NAMES # @DEFAULT_UNSET # @DESCRIPTION: # It's a string containing the modules to be built automatically using the default @@ -101,14 +101,14 @@ # There is also support for automated modprobe.d file generation. # This can be explicitly enabled by setting any of the following variables. -# @ECLASS-VARIABLE: MODULESD_<modulename>_ENABLED +# @ECLASS_VARIABLE: MODULESD_<modulename>_ENABLED # @DEFAULT_UNSET # @DESCRIPTION: # This is used to disable the modprobe.d file generation otherwise the file will be # always generated (unless no MODULESD_<modulename>_* variable is provided). Set to "no" to disable # the generation of the file and the installation of the documentation. -# @ECLASS-VARIABLE: MODULESD_<modulename>_EXAMPLES +# @ECLASS_VARIABLE: MODULESD_<modulename>_EXAMPLES # @DEFAULT_UNSET # @DESCRIPTION: # This is a bash array containing a list of examples which should @@ -120,7 +120,7 @@ # # where array_component is "<modulename> options" (see modprobe.conf(5)) -# @ECLASS-VARIABLE: MODULESD_<modulename>_ALIASES +# @ECLASS_VARIABLE: MODULESD_<modulename>_ALIASES # @DEFAULT_UNSET # @DESCRIPTION: # This is a bash array containing a list of associated aliases. @@ -131,20 +131,20 @@ # # where array_component is "wildcard <modulename>" (see modprobe.conf(5)) -# @ECLASS-VARIABLE: MODULESD_<modulename>_ADDITIONS +# @ECLASS_VARIABLE: MODULESD_<modulename>_ADDITIONS # @DEFAULT_UNSET # @DESCRIPTION: # This is a bash array containing a list of additional things to # add to the bottom of the file. This can be absolutely anything. # Each entry is a new line. -# @ECLASS-VARIABLE: MODULESD_<modulename>_DOCS +# @ECLASS_VARIABLE: MODULESD_<modulename>_DOCS # @DEFAULT_UNSET # @DESCRIPTION: # This is a string list which contains the full path to any associated # documents for <modulename>. These files are installed in the live tree. -# @ECLASS-VARIABLE: KV_OBJ +# @ECLASS_VARIABLE: KV_OBJ # @INTERNAL # @DESCRIPTION: # It's a read-only variable. It contains the extension of the kernel modules. diff --git a/eclass/llvm.eclass b/eclass/llvm.eclass index 9a6f0c8b6b85..5f2c445913cc 100644 --- a/eclass/llvm.eclass +++ b/eclass/llvm.eclass @@ -75,13 +75,13 @@ if [[ ! ${_LLVM_ECLASS} ]]; then # are uninstalled DEPEND="!!sys-devel/llvm:0" -# @ECLASS-VARIABLE: LLVM_MAX_SLOT +# @ECLASS_VARIABLE: LLVM_MAX_SLOT # @DEFAULT_UNSET # @DESCRIPTION: # Highest LLVM slot supported by the package. Needs to be set before # llvm_pkg_setup is called. If unset, no upper bound is assumed. -# @ECLASS-VARIABLE: _LLVM_KNOWN_SLOTS +# @ECLASS_VARIABLE: _LLVM_KNOWN_SLOTS # @INTERNAL # @DESCRIPTION: # Correct values of LLVM slots, newest first. diff --git a/eclass/llvm.org.eclass b/eclass/llvm.org.eclass index 5411d81a7877..2c5f1f9b79e5 100644 --- a/eclass/llvm.org.eclass +++ b/eclass/llvm.org.eclass @@ -40,14 +40,14 @@ esac # == internal control bits == -# @ECLASS-VARIABLE: _LLVM_MASTER_MAJOR +# @ECLASS_VARIABLE: _LLVM_MASTER_MAJOR # @INTERNAL # @DESCRIPTION: # The major version of current LLVM trunk. Used to determine # the correct branch to use. _LLVM_MASTER_MAJOR=15 -# @ECLASS-VARIABLE: _LLVM_SOURCE_TYPE +# @ECLASS_VARIABLE: _LLVM_SOURCE_TYPE # @INTERNAL # @DESCRIPTION: # Source type to use: 'git' or 'tar'. @@ -69,7 +69,7 @@ inherit multiprocessing # == control variables == -# @ECLASS-VARIABLE: LLVM_COMPONENTS +# @ECLASS_VARIABLE: LLVM_COMPONENTS # @REQUIRED # @DESCRIPTION: # List of components needed unconditionally. Specified as bash array @@ -78,24 +78,24 @@ inherit multiprocessing # # The first path specified is used to construct default S. -# @ECLASS-VARIABLE: LLVM_TEST_COMPONENTS +# @ECLASS_VARIABLE: LLVM_TEST_COMPONENTS # @DEFAULT_UNSET # @DESCRIPTION: # List of additional components needed for tests. -# @ECLASS-VARIABLE: LLVM_MANPAGES +# @ECLASS_VARIABLE: LLVM_MANPAGES # @DEFAULT_UNSET # @DESCRIPTION: # Set to 'build', include the dependency on dev-python/sphinx to build # the manpages. If set to 'pregenerated', fetch and install # pregenerated manpages from the archive. -# @ECLASS-VARIABLE: LLVM_PATCHSET +# @ECLASS_VARIABLE: LLVM_PATCHSET # @DEFAULT_UNSET # @DESCRIPTION: # LLVM patchset version. No patchset is used if unset. -# @ECLASS-VARIABLE: LLVM_USE_TARGETS +# @ECLASS_VARIABLE: LLVM_USE_TARGETS # @DEFAULT_UNSET # @DESCRIPTION: # Add LLVM_TARGETS flags. The following values are supported: @@ -113,19 +113,19 @@ inherit multiprocessing # == global data == -# @ECLASS-VARIABLE: ALL_LLVM_EXPERIMENTAL_TARGETS +# @ECLASS_VARIABLE: ALL_LLVM_EXPERIMENTAL_TARGETS # @OUTPUT_VARIABLE # @DESCRIPTION: # The complete list of LLVM experimental targets available in this LLVM # version. The value depends on ${PV}. -# @ECLASS-VARIABLE: ALL_LLVM_PRODUCTION_TARGETS +# @ECLASS_VARIABLE: ALL_LLVM_PRODUCTION_TARGETS # @OUTPUT_VARIABLE # @DESCRIPTION: # The complete list of LLVM production-ready targets available in this # LLVM version. The value depends on ${PV}. -# @ECLASS-VARIABLE: ALL_LLVM_TARGET_FLAGS +# @ECLASS_VARIABLE: ALL_LLVM_TARGET_FLAGS # @OUTPUT_VARIABLE # @DESCRIPTION: # The list of USE flags corresponding to all LLVM targets in this LLVM @@ -342,7 +342,7 @@ llvm.org_src_prepare() { # == helper functions == -# @ECLASS-VARIABLE: LIT_JOBS +# @ECLASS_VARIABLE: LIT_JOBS # @USER_VARIABLE # @DEFAULT_UNSET # @DESCRIPTION: diff --git a/eclass/lua-single.eclass b/eclass/lua-single.eclass index 2f4ebaa14198..12eba57f4a89 100644 --- a/eclass/lua-single.eclass +++ b/eclass/lua-single.eclass @@ -81,7 +81,7 @@ fi EXPORT_FUNCTIONS pkg_setup -# @ECLASS-VARIABLE: LUA_COMPAT +# @ECLASS_VARIABLE: LUA_COMPAT # @REQUIRED # @PRE_INHERIT # @DESCRIPTION: @@ -99,7 +99,7 @@ EXPORT_FUNCTIONS pkg_setup # LUA_COMPAT=( lua5-{1..3} ) # @CODE -# @ECLASS-VARIABLE: LUA_COMPAT_OVERRIDE +# @ECLASS_VARIABLE: LUA_COMPAT_OVERRIDE # @USER_VARIABLE # @DEFAULT_UNSET # @DESCRIPTION: @@ -119,7 +119,7 @@ EXPORT_FUNCTIONS pkg_setup # LUA_COMPAT_OVERRIDE='luajit' emerge -1v dev-lua/foo # @CODE -# @ECLASS-VARIABLE: LUA_REQ_USE +# @ECLASS_VARIABLE: LUA_REQ_USE # @DEFAULT_UNSET # @PRE_INHERIT # @DESCRIPTION: @@ -139,7 +139,7 @@ EXPORT_FUNCTIONS pkg_setup # lua_targets_luaX-Y? ( dev-lang/lua:X.Y[deprecated] ) # @CODE -# @ECLASS-VARIABLE: LUA_DEPS +# @ECLASS_VARIABLE: LUA_DEPS # @OUTPUT_VARIABLE # @DESCRIPTION: # This is an eclass-generated Lua dependency string for all @@ -158,7 +158,7 @@ EXPORT_FUNCTIONS pkg_setup # lua_targets_lua5-3? ( dev-lang/lua:5.3 ) # @CODE -# @ECLASS-VARIABLE: LUA_REQUIRED_USE +# @ECLASS_VARIABLE: LUA_REQUIRED_USE # @OUTPUT_VARIABLE # @DESCRIPTION: # This is an eclass-generated required-use expression which ensures at @@ -177,7 +177,7 @@ EXPORT_FUNCTIONS pkg_setup # || ( lua_targets_lua5-1 lua_targets_lua5-3 ) # @CODE -# @ECLASS-VARIABLE: LUA_SINGLE_USEDEP +# @ECLASS_VARIABLE: LUA_SINGLE_USEDEP # @OUTPUT_VARIABLE # @DESCRIPTION: # This is an eclass-generated USE-dependency string which can be used @@ -197,7 +197,7 @@ EXPORT_FUNCTIONS pkg_setup # lua_single_target_lua5-1(-)? # @CODE -# @ECLASS-VARIABLE: LUA_USEDEP +# @ECLASS_VARIABLE: LUA_USEDEP # @OUTPUT_VARIABLE # @DESCRIPTION: # This is an eclass-generated USE-dependency string which can be used to diff --git a/eclass/lua-utils.eclass b/eclass/lua-utils.eclass index 3b24f383d7aa..475bd993894b 100644 --- a/eclass/lua-utils.eclass +++ b/eclass/lua-utils.eclass @@ -27,7 +27,7 @@ if [[ ! ${_LUA_UTILS_R0} ]]; then inherit toolchain-funcs -# @ECLASS-VARIABLE: _LUA_ALL_IMPLS +# @ECLASS_VARIABLE: _LUA_ALL_IMPLS # @INTERNAL # @DESCRIPTION: # All supported Lua implementations, most preferred last @@ -39,7 +39,7 @@ _LUA_ALL_IMPLS=( ) readonly _LUA_ALL_IMPLS -# @ECLASS-VARIABLE: _LUA_HISTORICAL_IMPLS +# @ECLASS_VARIABLE: _LUA_HISTORICAL_IMPLS # @INTERNAL # @DESCRIPTION: # All historical Lua implementations that are no longer supported. @@ -171,7 +171,7 @@ _lua_wrapper_setup() { export PATH PKG_CONFIG_PATH } -# @ECLASS-VARIABLE: ELUA +# @ECLASS_VARIABLE: ELUA # @DEFAULT_UNSET # @DESCRIPTION: # The executable name of the current Lua interpreter. This variable is set @@ -182,7 +182,7 @@ _lua_wrapper_setup() { # lua5.1 # @CODE -# @ECLASS-VARIABLE: LUA +# @ECLASS_VARIABLE: LUA # @DEFAULT_UNSET # @DESCRIPTION: # The absolute path to the current Lua interpreter. This variable is set diff --git a/eclass/lua.eclass b/eclass/lua.eclass index 5c2a7b290061..29b8b6ec6348 100644 --- a/eclass/lua.eclass +++ b/eclass/lua.eclass @@ -67,7 +67,7 @@ inherit multibuild lua-utils fi -# @ECLASS-VARIABLE: LUA_COMPAT +# @ECLASS_VARIABLE: LUA_COMPAT # @REQUIRED # @PRE_INHERIT # @DESCRIPTION: @@ -85,7 +85,7 @@ fi # LUA_COMPAT=( lua5-{1..3} ) # @CODE -# @ECLASS-VARIABLE: LUA_COMPAT_OVERRIDE +# @ECLASS_VARIABLE: LUA_COMPAT_OVERRIDE # @USER_VARIABLE # @DEFAULT_UNSET # @DESCRIPTION: @@ -105,7 +105,7 @@ fi # LUA_COMPAT_OVERRIDE='luajit' emerge -1v dev-lua/foo # @CODE -# @ECLASS-VARIABLE: LUA_REQ_USE +# @ECLASS_VARIABLE: LUA_REQ_USE # @DEFAULT_UNSET # @PRE_INHERIT # @DESCRIPTION: @@ -125,7 +125,7 @@ fi # lua_targets_luaX-Y? ( dev-lang/lua:X.Y[deprecated] ) # @CODE -# @ECLASS-VARIABLE: BUILD_DIR +# @ECLASS_VARIABLE: BUILD_DIR # @OUTPUT_VARIABLE # @DEFAULT_UNSET # @DESCRIPTION: @@ -142,7 +142,7 @@ fi # ${WORKDIR}/foo-1.3-lua5-1 # @CODE -# @ECLASS-VARIABLE: LUA_DEPS +# @ECLASS_VARIABLE: LUA_DEPS # @OUTPUT_VARIABLE # @DESCRIPTION: # This is an eclass-generated Lua dependency string for all @@ -161,7 +161,7 @@ fi # lua_targets_lua5-3? ( dev-lang/lua:5.3 ) # @CODE -# @ECLASS-VARIABLE: LUA_REQUIRED_USE +# @ECLASS_VARIABLE: LUA_REQUIRED_USE # @OUTPUT_VARIABLE # @DESCRIPTION: # This is an eclass-generated required-use expression which ensures at @@ -180,7 +180,7 @@ fi # || ( lua_targets_lua5-1 lua_targets_lua5-3 ) # @CODE -# @ECLASS-VARIABLE: LUA_USEDEP +# @ECLASS_VARIABLE: LUA_USEDEP # @OUTPUT_VARIABLE # @DESCRIPTION: # This is an eclass-generated USE-dependency string which can be used to diff --git a/eclass/mate-desktop.org.eclass b/eclass/mate-desktop.org.eclass index 92f1d1d33d0f..dfa66155936b 100644 --- a/eclass/mate-desktop.org.eclass +++ b/eclass/mate-desktop.org.eclass @@ -24,26 +24,26 @@ fi [[ ${EAPI:-0} -eq 6 ]] && inherit eapi7-ver -# @ECLASS-VARIABLE: MATE_TARBALL_SUFFIX +# @ECLASS_VARIABLE: MATE_TARBALL_SUFFIX # @INTERNAL # @DESCRIPTION: # All projects hosted on mate-desktop.org provide tarballs as tar.xz. # Undefined in live ebuilds. [[ ${PV} != 9999 ]] && : ${MATE_TARBALL_SUFFIX:="xz"} -# @ECLASS-VARIABLE: MATE_DESKTOP_ORG_PN +# @ECLASS_VARIABLE: MATE_DESKTOP_ORG_PN # @DESCRIPTION: # Name of the package as hosted on mate-desktop.org. # Leave unset if package name matches PN. : ${MATE_DESKTOP_ORG_PN:=${PN}} -# @ECLASS-VARIABLE: MATE_DESKTOP_ORG_PV +# @ECLASS_VARIABLE: MATE_DESKTOP_ORG_PV # @DESCRIPTION: # Package version string as listed on mate-desktop.org. # Leave unset if package version string matches PV. : ${MATE_DESKTOP_ORG_PV:=${PV}} -# @ECLASS-VARIABLE: MATE_BRANCH +# @ECLASS_VARIABLE: MATE_BRANCH # @DESCRIPTION: # Major and minor numbers of the version number, unless live. # If live ebuild, will be set to '9999'. diff --git a/eclass/mate.eclass b/eclass/mate.eclass index a3b4cfd0b602..a734b4c4dc7e 100644 --- a/eclass/mate.eclass +++ b/eclass/mate.eclass @@ -22,7 +22,7 @@ esac # Inherit happens below after declaration of GNOME2_LA_PUNT -# @ECLASS-VARIABLE: MATE_LA_PUNT +# @ECLASS_VARIABLE: MATE_LA_PUNT # @DESCRIPTION: # Available values for MATE_LA_PUNT: # - "no": will not clean any .la files @@ -63,7 +63,7 @@ mate_py_cond_func_wrap() { fi } -# @ECLASS-VARIABLE: MATE_FORCE_AUTORECONF +# @ECLASS_VARIABLE: MATE_FORCE_AUTORECONF # @DESCRIPTION: # Available values for MATE_FORCE_AUTORECONF: # - true: will always run eautoreconf diff --git a/eclass/mercurial.eclass b/eclass/mercurial.eclass index b79b754aa68a..2f54314568e6 100644 --- a/eclass/mercurial.eclass +++ b/eclass/mercurial.eclass @@ -35,11 +35,11 @@ esac BDEPEND="dev-vcs/mercurial" -# @ECLASS-VARIABLE: EHG_REPO_URI +# @ECLASS_VARIABLE: EHG_REPO_URI # @DESCRIPTION: # Mercurial repository URI. -# @ECLASS-VARIABLE: EHG_REVISION +# @ECLASS_VARIABLE: EHG_REVISION # @DESCRIPTION: # Create working directory for specified revision, defaults to default. # @@ -47,13 +47,13 @@ BDEPEND="dev-vcs/mercurial" # than just a revision, please consult `hg help revisions' for more details. : ${EHG_REVISION:="default"} -# @ECLASS-VARIABLE: EHG_STORE_DIR +# @ECLASS_VARIABLE: EHG_STORE_DIR # @USER_VARIABLE # @DESCRIPTION: # Mercurial sources store directory. Users may override this in /etc/portage/make.conf [[ -z "${EHG_STORE_DIR}" ]] && EHG_STORE_DIR="${PORTAGE_ACTUAL_DISTDIR:-${DISTDIR}}/hg-src" -# @ECLASS-VARIABLE: EHG_PROJECT +# @ECLASS_VARIABLE: EHG_PROJECT # @DESCRIPTION: # Project name. # @@ -61,33 +61,33 @@ BDEPEND="dev-vcs/mercurial" # between several ebuilds. [[ -z "${EHG_PROJECT}" ]] && EHG_PROJECT="${PN}" -# @ECLASS-VARIABLE: EHG_CHECKOUT_DIR +# @ECLASS_VARIABLE: EHG_CHECKOUT_DIR # @DESCRIPTION: # The directory to check the hg sources out to. # # EHG_CHECKOUT_DIR=${S} -# @ECLASS-VARIABLE: EHG_QUIET +# @ECLASS_VARIABLE: EHG_QUIET # @DESCRIPTION: # Suppress some extra noise from mercurial, set it to 'ON' to be quiet. : ${EHG_QUIET:="OFF"} [[ "${EHG_QUIET}" == "ON" ]] && EHG_QUIET_CMD_OPT="--quiet" -# @ECLASS-VARIABLE: EHG_CONFIG +# @ECLASS_VARIABLE: EHG_CONFIG # @DESCRIPTION: # Extra config option to hand to hg clone/pull -# @ECLASS-VARIABLE: EHG_CLONE_CMD +# @ECLASS_VARIABLE: EHG_CLONE_CMD # @DESCRIPTION: # Command used to perform initial repository clone. [[ -z "${EHG_CLONE_CMD}" ]] && EHG_CLONE_CMD="hg clone ${EHG_CONFIG:+--config ${EHG_CONFIG}} ${EHG_QUIET_CMD_OPT} --pull --noupdate" -# @ECLASS-VARIABLE: EHG_PULL_CMD +# @ECLASS_VARIABLE: EHG_PULL_CMD # @DESCRIPTION: # Command used to update repository. [[ -z "${EHG_PULL_CMD}" ]] && EHG_PULL_CMD="hg pull ${EHG_CONFIG:+--config ${EHG_CONFIG}} ${EHG_QUIET_CMD_OPT}" -# @ECLASS-VARIABLE: EHG_OFFLINE +# @ECLASS_VARIABLE: EHG_OFFLINE # @DESCRIPTION: # Set this variable to a non-empty value to disable the automatic updating of # a mercurial source tree. This is intended to be set outside the ebuild by @@ -173,7 +173,7 @@ mercurial_fetch() { mercurial_bootstrap() { debug-print-function ${FUNCNAME} "$@" - # @ECLASS-VARIABLE: EHG_BOOTSTRAP + # @ECLASS_VARIABLE: EHG_BOOTSTRAP # @DESCRIPTION: # Command to be executed after checkout and clone of the specified # repository. diff --git a/eclass/meson.eclass b/eclass/meson.eclass index f6cb39ef4794..c094f4683913 100644 --- a/eclass/meson.eclass +++ b/eclass/meson.eclass @@ -58,18 +58,18 @@ else BDEPEND=${_MESON_DEPEND} fi -# @ECLASS-VARIABLE: BUILD_DIR +# @ECLASS_VARIABLE: BUILD_DIR # @DEFAULT_UNSET # @DESCRIPTION: # Build directory, location where all generated files should be placed. # If this isn't set, it defaults to ${WORKDIR}/${P}-build. -# @ECLASS-VARIABLE: EMESON_BUILDTYPE +# @ECLASS_VARIABLE: EMESON_BUILDTYPE # @DESCRIPTION: # The buildtype value to pass to meson setup. : ${EMESON_BUILDTYPE=plain} -# @ECLASS-VARIABLE: EMESON_SOURCE +# @ECLASS_VARIABLE: EMESON_SOURCE # @DEFAULT_UNSET # @DESCRIPTION: # The location of the source files for the project; this is the source diff --git a/eclass/mozcoreconf-v5.eclass b/eclass/mozcoreconf-v5.eclass index af2044770da0..b01ffe1858e0 100644 --- a/eclass/mozcoreconf-v5.eclass +++ b/eclass/mozcoreconf-v5.eclass @@ -9,7 +9,7 @@ # # inherit mozconfig-v6.* or above for mozilla configuration support -# @ECLASS-VARIABLE: MOZILLA_FIVE_HOME +# @ECLASS_VARIABLE: MOZILLA_FIVE_HOME # @DESCRIPTION: # This is an eclass-generated variable that defines the rpath that the mozilla # product will be installed in. Read-only diff --git a/eclass/mozcoreconf-v6.eclass b/eclass/mozcoreconf-v6.eclass index c79854659f1f..8cea230a959c 100644 --- a/eclass/mozcoreconf-v6.eclass +++ b/eclass/mozcoreconf-v6.eclass @@ -10,7 +10,7 @@ # # inherit mozconfig-v6.* or above for mozilla configuration support -# @ECLASS-VARIABLE: MOZILLA_FIVE_HOME +# @ECLASS_VARIABLE: MOZILLA_FIVE_HOME # @DESCRIPTION: # This is an eclass-generated variable that defines the rpath that the mozilla # product will be installed in. Read-only diff --git a/eclass/mozextension.eclass b/eclass/mozextension.eclass index 53f27ed782c3..25089aaeaf93 100644 --- a/eclass/mozextension.eclass +++ b/eclass/mozextension.eclass @@ -9,7 +9,7 @@ if [[ ! ${_MOZEXTENSION} ]]; then -# @ECLASS-VARIABLE: MOZEXTENSION_TARGET +# @ECLASS_VARIABLE: MOZEXTENSION_TARGET # @DESCRIPTION: # This variable allows the installation path for xpi_install # to be overridden from the default app-global extensions path. diff --git a/eclass/mozlinguas-v2.eclass b/eclass/mozlinguas-v2.eclass index 5063445ae933..155b894edc53 100644 --- a/eclass/mozlinguas-v2.eclass +++ b/eclass/mozlinguas-v2.eclass @@ -27,7 +27,7 @@ esac EXPORT_FUNCTIONS src_unpack src_compile src_install -# @ECLASS-VARIABLE: MOZ_LANGS +# @ECLASS_VARIABLE: MOZ_LANGS # @DEFAULT_UNSET # @DESCRIPTION: # Array containing the list of language pack xpis available for @@ -35,59 +35,59 @@ EXPORT_FUNCTIONS src_unpack src_compile src_install # mozilla overlay. : ${MOZ_LANGS:=()} -# @ECLASS-VARIABLE: MOZ_PV +# @ECLASS_VARIABLE: MOZ_PV # @DEFAULT_UNSET # @DESCRIPTION: # Ebuild package version converted to equivalent upstream version. # Defaults to ${PV}, and should be overridden for alphas, betas, and RCs : ${MOZ_PV:="${PV}"} -# @ECLASS-VARIABLE: MOZ_PN +# @ECLASS_VARIABLE: MOZ_PN # @DEFAULT_UNSET # @DESCRIPTION: # Ebuild package name converted to equivalent upstream name. # Defaults to ${PN}, and should be overridden for binary ebuilds. : ${MOZ_PN:="${PN}"} -# @ECLASS-VARIABLE: MOZ_P +# @ECLASS_VARIABLE: MOZ_P # @DEFAULT_UNSET # @DESCRIPTION: # Ebuild package name + version converted to upstream equivalent. # Defaults to ${MOZ_PN}-${MOZ_PV} : ${MOZ_P:="${MOZ_PN}-${MOZ_PV}"} -# @ECLASS-VARIABLE: MOZ_FTP_URI +# @ECLASS_VARIABLE: MOZ_FTP_URI # @DEFAULT_UNSET # @DESCRIPTION: # The ftp URI prefix for the release tarballs and language packs. : ${MOZ_FTP_URI:=""} -# @ECLASS-VARIABLE: MOZ_HTTP_URI +# @ECLASS_VARIABLE: MOZ_HTTP_URI # @PRE_INHERIT # @DESCRIPTION: # The http URI prefix for the release tarballs and language packs. : ${MOZ_HTTP_URI:=""} -# @ECLASS-VARIABLE: MOZ_LANGPACK_HTTP_URI +# @ECLASS_VARIABLE: MOZ_LANGPACK_HTTP_URI # @PRE_INHERIT # @DESCRIPTION: # An alternative http URI if it differs from official mozilla URI. # Defaults to whatever MOZ_HTTP_URI was set to. : ${MOZ_LANGPACK_HTTP_URI:=${MOZ_HTTP_URI}} -# @ECLASS-VARIABLE: MOZ_LANGPACK_PREFIX +# @ECLASS_VARIABLE: MOZ_LANGPACK_PREFIX # @DESCRIPTION: # The relative path till the lang code in the langpack file URI. # Defaults to ${MOZ_PV}/linux-i686/xpi/ : ${MOZ_LANGPACK_PREFIX:="${MOZ_PV}/linux-i686/xpi/"} -# @ECLASS-VARIABLE: MOZ_LANGPACK_SUFFIX +# @ECLASS_VARIABLE: MOZ_LANGPACK_SUFFIX # @DESCRIPTION: # The suffix after the lang code in the langpack file URI. # Defaults to '.xpi' : ${MOZ_LANGPACK_SUFFIX:=".xpi"} -# @ECLASS-VARIABLE: MOZ_LANGPACK_UNOFFICIAL +# @ECLASS_VARIABLE: MOZ_LANGPACK_UNOFFICIAL # @DESCRIPTION: # The status of the langpack, used to differentiate within # Manifests and on Gentoo mirrors as to when the langpacks are @@ -97,7 +97,7 @@ EXPORT_FUNCTIONS src_unpack src_compile src_install # suffix. : ${MOZ_LANGPACK_UNOFFICIAL:=""} -# @ECLASS-VARIABLE: MOZ_GENERATE_LANGPACKS +# @ECLASS_VARIABLE: MOZ_GENERATE_LANGPACKS # @PRE_INHERIT # @DEFAULT_UNSET # @DESCRIPTION: @@ -108,13 +108,13 @@ EXPORT_FUNCTIONS src_unpack src_compile src_install # Defaults to empty. : ${MOZ_GENERATE_LANGPACKS:=""} -# @ECLASS-VARIABLE: MOZ_L10N_SOURCEDIR +# @ECLASS_VARIABLE: MOZ_L10N_SOURCEDIR # @DESCRIPTION: # The path that l10n sources can be found at, once unpacked. # Defaults to ${WORKDIR}/l10n-sources : ${MOZ_L10N_SOURCEDIR:="${WORKDIR}/l10n-sources"} -# @ECLASS-VARIABLE: MOZ_L10N_URI_PREFIX +# @ECLASS_VARIABLE: MOZ_L10N_URI_PREFIX # @PRE_INHERIT # @DEFAULT_UNSET # @DESCRIPTION: @@ -125,27 +125,27 @@ EXPORT_FUNCTIONS src_unpack src_compile src_install # Defaults to empty. : ${MOZ_L10N_URI_PREFIX:=""} -# @ECLASS-VARIABLE: MOZ_L10N_URI_SUFFIX +# @ECLASS_VARIABLE: MOZ_L10N_URI_SUFFIX # @DEFAULT_UNSET # @DESCRIPTION: # The suffix of l10n source distfiles. # Defaults to '.tar.xz' : ${MOZ_L10N_URI_SUFFIX:=".tar.xz"} -# @ECLASS-VARIABLE: MOZ_FORCE_UPSTREAM_L10N +# @ECLASS_VARIABLE: MOZ_FORCE_UPSTREAM_L10N # @DEFAULT_UNSET # @DESCRIPTION: # Set this to use upstream langpaks even if the package normally # shouldn't (ie it is an alpha or beta package) : ${MOZ_FORCE_UPSTREAM_L10N:=""} -# @ECLASS-VARIABLE: MOZ_TOO_REGIONALIZED_FOR_L10N +# @ECLASS_VARIABLE: MOZ_TOO_REGIONALIZED_FOR_L10N # @INTERNAL # @DESCRIPTION: # Upstream identifiers that should not contain region subtags in L10N MOZ_TOO_REGIONALIZED_FOR_L10N=( fy-NL ga-IE gu-IN hi-IN hy-AM nb-NO nn-NO pa-IN sv-SE ) -# @ECLASS-VARIABLE: MOZ_INSTALL_L10N_XPIFILE +# @ECLASS_VARIABLE: MOZ_INSTALL_L10N_XPIFILE # @DESCRIPTION: # Install langpacks as .xpi file instead of unpacked directory. # Leave unset to install unpacked diff --git a/eclass/multibuild.eclass b/eclass/multibuild.eclass index a0941ae02ea4..7ae03adbe18c 100644 --- a/eclass/multibuild.eclass +++ b/eclass/multibuild.eclass @@ -21,7 +21,7 @@ esac if [[ ! ${_MULTIBUILD_ECLASS} ]]; then _MULTIBUILD_ECLASS=1 -# @ECLASS-VARIABLE: MULTIBUILD_VARIANTS +# @ECLASS_VARIABLE: MULTIBUILD_VARIANTS # @REQUIRED # @DESCRIPTION: # An array specifying all enabled variants which multibuild_foreach* @@ -38,7 +38,7 @@ _MULTIBUILD_ECLASS=1 # } # @CODE -# @ECLASS-VARIABLE: MULTIBUILD_VARIANT +# @ECLASS_VARIABLE: MULTIBUILD_VARIANT # @OUTPUT_VARIABLE # @DESCRIPTION: # The current variant which the function was executed for. @@ -48,7 +48,7 @@ _MULTIBUILD_ECLASS=1 # python2_6 # @CODE -# @ECLASS-VARIABLE: MULTIBUILD_ID +# @ECLASS_VARIABLE: MULTIBUILD_ID # @OUTPUT_VARIABLE # @DESCRIPTION: # The unique identifier for a multibuild run. In a simple run, it is @@ -62,7 +62,7 @@ _MULTIBUILD_ECLASS=1 # amd64-double # @CODE -# @ECLASS-VARIABLE: BUILD_DIR +# @ECLASS_VARIABLE: BUILD_DIR # @OUTPUT_VARIABLE # @DEFAULT_UNSET # @DESCRIPTION: diff --git a/eclass/multilib-build.eclass b/eclass/multilib-build.eclass index a47e65611354..42efdc9def61 100644 --- a/eclass/multilib-build.eclass +++ b/eclass/multilib-build.eclass @@ -28,7 +28,7 @@ _MULTILIB_BUILD_ECLASS=1 inherit multibuild multilib -# @ECLASS-VARIABLE: _MULTILIB_FLAGS +# @ECLASS_VARIABLE: _MULTILIB_FLAGS # @INTERNAL # @DESCRIPTION: # The list of multilib flags and corresponding ABI values. If the same @@ -52,7 +52,7 @@ _MULTILIB_FLAGS=( ) readonly _MULTILIB_FLAGS -# @ECLASS-VARIABLE: MULTILIB_COMPAT +# @ECLASS_VARIABLE: MULTILIB_COMPAT # @DEFAULT_UNSET # @DESCRIPTION: # List of multilib ABIs supported by the ebuild. If unset, defaults to @@ -76,7 +76,7 @@ readonly _MULTILIB_FLAGS # MULTILIB_COMPAT=( abi_x86_{32,64} ) # @CODE -# @ECLASS-VARIABLE: MULTILIB_USEDEP +# @ECLASS_VARIABLE: MULTILIB_USEDEP # @OUTPUT_VARIABLE # @DESCRIPTION: # The USE-dependency to be used on dependencies (libraries) needing @@ -88,7 +88,7 @@ readonly _MULTILIB_FLAGS # net-libs/libbar[ssl,${MULTILIB_USEDEP}]" # @CODE -# @ECLASS-VARIABLE: MULTILIB_ABI_FLAG +# @ECLASS_VARIABLE: MULTILIB_ABI_FLAG # @OUTPUT_VARIABLE # @DESCRIPTION: # The complete ABI name. Resembles the USE flag name. @@ -301,7 +301,7 @@ multilib_copy_sources() { multibuild_copy_sources } -# @ECLASS-VARIABLE: MULTILIB_WRAPPED_HEADERS +# @ECLASS_VARIABLE: MULTILIB_WRAPPED_HEADERS # @DEFAULT_UNSET # @DESCRIPTION: # A list of headers to wrap for multilib support. The listed headers @@ -324,7 +324,7 @@ multilib_copy_sources() { # ) # @CODE -# @ECLASS-VARIABLE: MULTILIB_CHOST_TOOLS +# @ECLASS_VARIABLE: MULTILIB_CHOST_TOOLS # @DEFAULT_UNSET # @DESCRIPTION: # A list of tool executables to preserve for each multilib ABI. diff --git a/eclass/myspell-r2.eclass b/eclass/myspell-r2.eclass index 7ffdd3631eae..6dbd1e19e133 100644 --- a/eclass/myspell-r2.eclass +++ b/eclass/myspell-r2.eclass @@ -12,19 +12,19 @@ # The myspell-r2 eclass is designed to streamline the construction of ebuilds for # the new Myspell dictionaries which support hunspell. -# @ECLASS-VARIABLE: MYSPELL_DICT +# @ECLASS_VARIABLE: MYSPELL_DICT # @DEFAULT_UNSET # @DESCRIPTION: # Array variable containing list of all dictionary files. # MYSPELL_DICT=( "file.dic" "dir/file2.aff" ) -# @ECLASS-VARIABLE: MYSPELL_HYPH +# @ECLASS_VARIABLE: MYSPELL_HYPH # @DEFAULT_UNSET # @DESCRIPTION: # Array variable containing list of all hyphenation files. # MYSPELL_HYPH=( "file.dic" "dir/file2.dic" ) -# @ECLASS-VARIABLE: MYSPELL_THES +# @ECLASS_VARIABLE: MYSPELL_THES # @DEFAULT_UNSET # @DESCRIPTION: # Array variable containing list of all thesarus files. diff --git a/eclass/ninja-utils.eclass b/eclass/ninja-utils.eclass index c5e195a9f80b..9f6d2af6bdb2 100644 --- a/eclass/ninja-utils.eclass +++ b/eclass/ninja-utils.eclass @@ -26,7 +26,7 @@ esac if [[ -z ${_NINJA_UTILS_ECLASS} ]]; then _NINJA_UTILS_ECLASS=1 -# @ECLASS-VARIABLE: NINJAOPTS +# @ECLASS_VARIABLE: NINJAOPTS # @DEFAULT_UNSET # @DESCRIPTION: # The default set of options to pass to Ninja. Similar to MAKEOPTS, diff --git a/eclass/office-ext-r1.eclass b/eclass/office-ext-r1.eclass index a81eea4b6107..8cf472fe5bcc 100644 --- a/eclass/office-ext-r1.eclass +++ b/eclass/office-ext-r1.eclass @@ -19,7 +19,7 @@ esac EXPORT_FUNCTIONS src_unpack src_install -# @ECLASS-VARIABLE: OFFICE_REQ_USE +# @ECLASS_VARIABLE: OFFICE_REQ_USE # @PRE_INHERIT # @DESCRIPTION: # Useflags required on office implementation for the extension. @@ -33,7 +33,7 @@ if [[ ${OFFICE_REQ_USE} ]]; then OFFICE_REQ_USE="[${OFFICE_REQ_USE}]" fi -# @ECLASS-VARIABLE: OFFICE_IMPLEMENTATIONS +# @ECLASS_VARIABLE: OFFICE_IMPLEMENTATIONS # @DESCRIPTION: # List of implementations supported by the extension. # Some work only for libreoffice and vice versa. @@ -45,7 +45,7 @@ fi # @CODE [[ -z ${OFFICE_IMPLEMENTATIONS} ]] && OFFICE_IMPLEMENTATIONS=( "libreoffice" ) -# @ECLASS-VARIABLE: OFFICE_EXTENSIONS +# @ECLASS_VARIABLE: OFFICE_EXTENSIONS # @PRE_INHERIT # @REQUIRED # @DESCRIPTION: @@ -60,7 +60,7 @@ if [[ "$(declare -p OFFICE_EXTENSIONS 2>/dev/null 2>&1)" != "declare -a"* ]]; th die "OFFICE_EXTENSIONS variable is not an array." fi -# @ECLASS-VARIABLE: OFFICE_EXTENSIONS_LOCATION +# @ECLASS_VARIABLE: OFFICE_EXTENSIONS_LOCATION # @DESCRIPTION: # Path to the extensions location. Defaults to ${DISTDIR}. # diff --git a/eclass/opam.eclass b/eclass/opam.eclass index 262d726a8a7a..dee40a4e9f96 100644 --- a/eclass/opam.eclass +++ b/eclass/opam.eclass @@ -21,7 +21,7 @@ esac # Do not complain about CFLAGS etc since ml projects do not use them. QA_FLAGS_IGNORED='.*' -# @ECLASS-VARIABLE: OPAM_INSTALLER_DEP +# @ECLASS_VARIABLE: OPAM_INSTALLER_DEP # @PRE_INHERIT # @DESCRIPTION: # Override dependency for OPAM_INSTALLER @@ -38,7 +38,7 @@ case ${EAPI:-0} in ;; esac -# @ECLASS-VARIABLE: OPAM_INSTALLER +# @ECLASS_VARIABLE: OPAM_INSTALLER # @DESCRIPTION: # Eclass can use different opam-installer binary than the one provided in by system. : ${OPAM_INSTALLER:=opam-installer} diff --git a/eclass/optfeature.eclass b/eclass/optfeature.eclass index f9870e047326..acf8584e6dbc 100644 --- a/eclass/optfeature.eclass +++ b/eclass/optfeature.eclass @@ -15,7 +15,7 @@ esac if [[ -z ${_OPTFEATURE_ECLASS} ]]; then _OPTFEATURE_ECLASS=1 -# @ECLASS-VARIABLE: _OPTFEATURE_DEFAULT_HEADER +# @ECLASS_VARIABLE: _OPTFEATURE_DEFAULT_HEADER # @INTERNAL # @DESCRIPTION: # Default header printed ahead of optfeature output. Can be overridden @@ -25,7 +25,7 @@ _OPTFEATURE_DEFAULT_HEADER="Install additional packages for optional runtime fea readonly _OPTFEATURE_DEFAULT_HEADER -# @ECLASS-VARIABLE: _OPTFEATURE_HEADER +# @ECLASS_VARIABLE: _OPTFEATURE_HEADER # @INTERNAL # @DESCRIPTION: # Default empty. Custom header printed ahead of optfeature output. @@ -34,7 +34,7 @@ readonly _OPTFEATURE_DEFAULT_HEADER # dependencies are present. _OPTFEATURE_HEADER= -# @ECLASS-VARIABLE: _OPTFEATURE_DOHEADER +# @ECLASS_VARIABLE: _OPTFEATURE_DOHEADER # @INTERNAL # @DESCRIPTION: # If true, print header ahead of the first optfeature output. diff --git a/eclass/pax-utils.eclass b/eclass/pax-utils.eclass index f48dcdafe015..3830f03df341 100644 --- a/eclass/pax-utils.eclass +++ b/eclass/pax-utils.eclass @@ -29,7 +29,7 @@ esac if [[ -z ${_PAX_UTILS_ECLASS} ]]; then _PAX_UTILS_ECLASS=1 -# @ECLASS-VARIABLE: PAX_MARKINGS +# @ECLASS_VARIABLE: PAX_MARKINGS # @DESCRIPTION: # Control which markings are made: # PT = PT_PAX markings, XT = XATTR_PAX markings diff --git a/eclass/perl-module.eclass b/eclass/perl-module.eclass index cff6f203ab8f..273cc2bc8059 100644 --- a/eclass/perl-module.eclass +++ b/eclass/perl-module.eclass @@ -37,7 +37,7 @@ case ${EAPI:-0} in ;; esac -# @ECLASS-VARIABLE: GENTOO_DEPEND_ON_PERL +# @ECLASS_VARIABLE: GENTOO_DEPEND_ON_PERL # @DEFAULT_UNSET # @DESCRIPTION: # This variable controls whether a runtime and build time dependency on @@ -167,45 +167,45 @@ esac LICENSE="${LICENSE:-|| ( Artistic GPL-1+ )}" -# @ECLASS-VARIABLE: DIST_NAME +# @ECLASS_VARIABLE: DIST_NAME # @DEFAULT_UNSET # @DESCRIPTION: # (EAPI=6 and later) This variable provides a way to override PN for the calculation of S, # SRC_URI, and HOMEPAGE. If unset, defaults to PN. -# @ECLASS-VARIABLE: DIST_VERSION +# @ECLASS_VARIABLE: DIST_VERSION # @DEFAULT_UNSET # @DESCRIPTION: # (EAPI=6 and later) This variable provides a way to override PV for the calculation of S and SRC_URI. # Use it to provide the non-normalized, upstream version number. If unset, defaults to PV. # Named MODULE_VERSION in EAPI=5. -# @ECLASS-VARIABLE: DIST_A_EXT +# @ECLASS_VARIABLE: DIST_A_EXT # @DEFAULT_UNSET # @DESCRIPTION: # (EAPI=6 and later) This variable provides a way to override the distfile extension for the calculation of # SRC_URI. If unset, defaults to tar.gz. Named MODULE_A_EXT in EAPI=5. -# @ECLASS-VARIABLE: DIST_A +# @ECLASS_VARIABLE: DIST_A # @DEFAULT_UNSET # @DESCRIPTION: # (EAPI=6 and later) This variable provides a way to override the distfile name for the calculation of # SRC_URI. If unset, defaults to ${DIST_NAME}-${DIST_VERSION}.${DIST_A_EXT} Named MODULE_A in EAPI=5. -# @ECLASS-VARIABLE: DIST_AUTHOR +# @ECLASS_VARIABLE: DIST_AUTHOR # @DEFAULT_UNSET # @DESCRIPTION: # (EAPI=6 and later) This variable sets the module author name for the calculation of # SRC_URI. Named MODULE_AUTHOR in EAPI=5. -# @ECLASS-VARIABLE: DIST_SECTION +# @ECLASS_VARIABLE: DIST_SECTION # @DEFAULT_UNSET # @DESCRIPTION: # (EAPI=6 and later) This variable sets the module section for the calculation of # SRC_URI. Only required in rare cases for very special snowflakes. # Named MODULE_SECTION in EAPI=5. -# @ECLASS-VARIABLE: DIST_EXAMPLES +# @ECLASS_VARIABLE: DIST_EXAMPLES # @PRE_INHERIT # @DEFAULT_UNSET # @DESCRIPTION: @@ -214,7 +214,7 @@ LICENSE="${LICENSE:-|| ( Artistic GPL-1+ )}" # a use-flag examples, if not you'll have to add the useflag in your ebuild. # Examples are installed only if the useflag examples exists and is activated. -# @ECLASS-VARIABLE: DIST_WIKI +# @ECLASS_VARIABLE: DIST_WIKI # @DEFAULT_UNSET # @DESCRIPTION: # (EAPI=8 and later) This variable can be set to contain space-separated keywords @@ -224,7 +224,7 @@ LICENSE="${LICENSE:-|| ( Artistic GPL-1+ )}" # * features: Notes about additional dependencies for optional features # * tests: Notes about additional dependencies and preparations needed for testing -# @ECLASS-VARIABLE: DIST_MAKE +# @ECLASS_VARIABLE: DIST_MAKE # @DESCRIPTION: # (EAPI=8 and later) This Bash array contains parameters to the make call # from ExtUtils::MakeMaker. Replaces mymake in EAPI=7 and earlier. @@ -423,7 +423,7 @@ perl-module_src_compile() { fi } -# @ECLASS-VARIABLE: DIST_TEST +# @ECLASS_VARIABLE: DIST_TEST # @DEFAULT_UNSET # @DESCRIPTION: # (EAPI=6 and later) Variable that controls if tests are run in the test phase @@ -437,7 +437,7 @@ perl-module_src_compile() { # verbose : increase test verbosity # network : do not try to disable network tests -# @ECLASS-VARIABLE: DIST_TEST_OVERRIDE +# @ECLASS_VARIABLE: DIST_TEST_OVERRIDE # @USER_VARIABLE # @DEFAULT_UNSET # @DESCRIPTION: diff --git a/eclass/php-ext-pecl-r3.eclass b/eclass/php-ext-pecl-r3.eclass index 8f2a92f0fcbd..b1b9429e8a26 100644 --- a/eclass/php-ext-pecl-r3.eclass +++ b/eclass/php-ext-pecl-r3.eclass @@ -20,7 +20,7 @@ esac if [[ -z ${_PHP_EXT_PECL_R3_ECLASS} ]] ; then _PHP_EXT_PECL_R3_ECLASS=1 -# @ECLASS-VARIABLE: PHP_EXT_PECL_PKG +# @ECLASS_VARIABLE: PHP_EXT_PECL_PKG # @PRE_INHERIT # @DESCRIPTION: # Set in ebuild before inheriting this eclass if the tarball name @@ -32,7 +32,7 @@ _PHP_EXT_PECL_R3_ECLASS=1 # use PHP_EXT_PECL_FILENAME instead. [[ -z "${PHP_EXT_PECL_PKG}" ]] && PHP_EXT_PECL_PKG="${PN/pecl-/}" -# @ECLASS-VARIABLE: PHP_EXT_PECL_FILENAME +# @ECLASS_VARIABLE: PHP_EXT_PECL_FILENAME # @PRE_INHERIT # @DEFAULT_UNSET # @DESCRIPTION: diff --git a/eclass/php-ext-source-r3.eclass b/eclass/php-ext-source-r3.eclass index 4f580436d3e9..b60d5528d526 100644 --- a/eclass/php-ext-source-r3.eclass +++ b/eclass/php-ext-source-r3.eclass @@ -19,7 +19,7 @@ case ${EAPI:-0} in die "${ECLASS} is not compatible with EAPI=${EAPI}" esac -# @ECLASS-VARIABLE: PHP_EXT_NAME +# @ECLASS_VARIABLE: PHP_EXT_NAME # @PRE_INHERIT # @REQUIRED # @DESCRIPTION: @@ -29,19 +29,19 @@ esac [[ -z "${PHP_EXT_NAME}" ]] && \ die "no extension name specified for the php-ext-source-r3 eclass" -# @ECLASS-VARIABLE: PHP_EXT_INI +# @ECLASS_VARIABLE: PHP_EXT_INI # @DESCRIPTION: # Controls whether or not to add a line to php.ini for the extension. # Defaults to "yes" and should not be changed in most cases. [[ -z "${PHP_EXT_INI}" ]] && PHP_EXT_INI="yes" -# @ECLASS-VARIABLE: PHP_EXT_ZENDEXT +# @ECLASS_VARIABLE: PHP_EXT_ZENDEXT # @DESCRIPTION: # Controls whether the extension is a ZendEngine extension or not. # Defaults to "no". If you don't know what this is, you don't need it. [[ -z "${PHP_EXT_ZENDEXT}" ]] && PHP_EXT_ZENDEXT="no" -# @ECLASS-VARIABLE: USE_PHP +# @ECLASS_VARIABLE: USE_PHP # @REQUIRED # @DESCRIPTION: # Lists the PHP slots compatible the extension is compatible with. @@ -52,7 +52,7 @@ esac [[ -z "${USE_PHP}" ]] && \ die "USE_PHP is not set for the php-ext-source-r3 eclass" -# @ECLASS-VARIABLE: PHP_EXT_OPTIONAL_USE +# @ECLASS_VARIABLE: PHP_EXT_OPTIONAL_USE # @DEFAULT_UNSET # @DESCRIPTION: # If set, all of the dependencies added by this eclass will be @@ -60,21 +60,21 @@ esac # ebuilds have to inherit this eclass unconditionally, but only # actually use it when (for example) the user has USE=php. -# @ECLASS-VARIABLE: PHP_EXT_S +# @ECLASS_VARIABLE: PHP_EXT_S # @DESCRIPTION: # The relative location of the temporary build directory for the PHP # extension within the source package. This is useful for packages that # bundle the PHP extension. Defaults to ${S}. [[ -z "${PHP_EXT_S}" ]] && PHP_EXT_S="${S}" -# @ECLASS-VARIABLE: PHP_EXT_SAPIS +# @ECLASS_VARIABLE: PHP_EXT_SAPIS # @DESCRIPTION: # A list of SAPIs for which we will install this extension. Formerly # called PHPSAPILIST. The default includes every SAPI currently used in # the tree. [[ -z "${PHP_EXT_SAPIS}" ]] && PHP_EXT_SAPIS="apache2 cli cgi fpm embed phpdbg" -# @ECLASS-VARIABLE: PHP_INI_NAME +# @ECLASS_VARIABLE: PHP_INI_NAME # @DESCRIPTION: # An optional file name of the saved ini file minis the ini extension # This allows ordering of extensions such that one is loaded before @@ -85,7 +85,7 @@ esac # @CODE : ${PHP_INI_NAME:=${PHP_EXT_NAME}} -# @ECLASS-VARIABLE: PHP_EXT_NEEDED_USE +# @ECLASS_VARIABLE: PHP_EXT_NEEDED_USE # @PRE_INHERIT # @DEFAULT_UNSET # @DESCRIPTION: @@ -139,14 +139,14 @@ esac unset PHPDEPEND TOOLDEPS -# @ECLASS-VARIABLE: PHP_EXT_SKIP_PHPIZE +# @ECLASS_VARIABLE: PHP_EXT_SKIP_PHPIZE # @DEFAULT_UNSET # @DESCRIPTION: # By default, we run "phpize" in php-ext-source-r3_src_prepare(). Set # PHP_EXT_SKIP_PHPIZE="yes" in your ebuild if you do not want to run # phpize (and the autoreconf that becomes necessary afterwards). -# @ECLASS-VARIABLE: PHP_EXT_SKIP_PATCHES +# @ECLASS_VARIABLE: PHP_EXT_SKIP_PATCHES # @DEFAULT_UNSET # @DESCRIPTION: # By default, we run default_src_prepare to PHP_EXT_S. @@ -200,7 +200,7 @@ php-ext-source-r3_phpize() { } -# @ECLASS-VARIABLE: PHP_EXT_ECONF_ARGS +# @ECLASS_VARIABLE: PHP_EXT_ECONF_ARGS # @DEFAULT_UNSET # @DESCRIPTION: # Set this in the ebuild to pass additional configure options to diff --git a/eclass/php-pear-r2.eclass b/eclass/php-pear-r2.eclass index 45ff81b92ebe..2d204ed24c3c 100644 --- a/eclass/php-pear-r2.eclass +++ b/eclass/php-pear-r2.eclass @@ -29,30 +29,30 @@ esac RDEPEND=">=dev-php/pear-1.8.1" -# @ECLASS-VARIABLE: PHP_PEAR_PKG_NAME +# @ECLASS_VARIABLE: PHP_PEAR_PKG_NAME # @DESCRIPTION: # Set this if the PEAR package name differs from ${PN/PEAR-/} # (generally shouldn't be the case). : ${PHP_PEAR_PKG_NAME:=${PN/PEAR-/}} -# @ECLASS-VARIABLE: PEAR_PV +# @ECLASS_VARIABLE: PEAR_PV # @DESCRIPTION: # Set in ebuild if the ${PV} breaks SRC_URI for alpha/beta/rc versions : ${PEAR_PV:=${PV}} -# @ECLASS-VARIABLE: PEAR-P +# @ECLASS_VARIABLE: PEAR-P # @INTERNAL # @DESCRIPTION: # Combines PHP_PEAR_PKG_NAME and PEAR_PV PEAR_P="${PHP_PEAR_PKG_NAME}-${PEAR_PV}" -# @ECLASS-VARIABLE: PHP_PEAR_DOMAIN +# @ECLASS_VARIABLE: PHP_PEAR_DOMAIN # @DESCRIPTION: # Set in ebuild to the domain name of the channel if not pear.php.net # When the domain is not pear.php.net, setting the SRC_URI is required : ${PHP_PEAR_DOMAIN:=pear.php.net} -# @ECLASS-VARIABLE: PHP_PEAR_CHANNEL +# @ECLASS_VARIABLE: PHP_PEAR_CHANNEL # @DEFAULT_UNSET # @DESCRIPTION: # Set in ebuild to the path of channel.xml file which is necessary for diff --git a/eclass/plocale.eclass b/eclass/plocale.eclass index 3a7b78e93ff2..979b1dca09b4 100644 --- a/eclass/plocale.eclass +++ b/eclass/plocale.eclass @@ -59,7 +59,7 @@ esac if [[ -z ${_PLOCALE_ECLASS} ]]; then _PLOCALE_ECLASS=1 -# @ECLASS-VARIABLE: PLOCALES +# @ECLASS_VARIABLE: PLOCALES # @DEFAULT_UNSET # @DESCRIPTION: # Variable listing the locales for which localizations are offered by @@ -67,7 +67,7 @@ _PLOCALE_ECLASS=1 # # Example: PLOCALES="cy de el_GR en_US pt_BR vi zh_CN" -# @ECLASS-VARIABLE: PLOCALE_BACKUP +# @ECLASS_VARIABLE: PLOCALE_BACKUP # @DEFAULT_UNSET # @DESCRIPTION: # In some cases the package fails when none of the offered PLOCALES are diff --git a/eclass/postgres-multi.eclass b/eclass/postgres-multi.eclass index 5e37a7d0b471..c73f33c71b49 100644 --- a/eclass/postgres-multi.eclass +++ b/eclass/postgres-multi.eclass @@ -25,7 +25,7 @@ case ${EAPI:-0} in esac -# @ECLASS-VARIABLE: POSTGRES_COMPAT +# @ECLASS_VARIABLE: POSTGRES_COMPAT # @PRE_INHERIT # @REQUIRED # @DESCRIPTION: @@ -40,7 +40,7 @@ if ! declare -p POSTGRES_COMPAT &>/dev/null; then die 'Required variable POSTGRES_COMPAT not declared.' fi -# @ECLASS-VARIABLE: _POSTGRES_INTERSECT_SLOTS +# @ECLASS_VARIABLE: _POSTGRES_INTERSECT_SLOTS # @INTERNAL # @DESCRIPTION: # A Bash array containing the intersect of POSTGRES_TARGETS and diff --git a/eclass/postgres.eclass b/eclass/postgres.eclass index cd9f90fc1c31..de2d0a28761b 100644 --- a/eclass/postgres.eclass +++ b/eclass/postgres.eclass @@ -22,7 +22,7 @@ case ${EAPI:-0} in *) die "Unsupported EAPI=${EAPI} (unknown) for ${ECLASS}" ;; esac -# @ECLASS-VARIABLE: _POSTGRES_ALL_VERSIONS +# @ECLASS_VARIABLE: _POSTGRES_ALL_VERSIONS # @INTERNAL # @DESCRIPTION: # List of versions to reverse sort POSTGRES_COMPAT slots @@ -31,7 +31,7 @@ _POSTGRES_ALL_VERSIONS=( 9999 14 13 12 11 10 9.6 9.5 9.4 9.3 9.2 ) -# @ECLASS-VARIABLE: POSTGRES_COMPAT +# @ECLASS_VARIABLE: POSTGRES_COMPAT # @PRE_INHERIT # @DEFAULT_UNSET # @DESCRIPTION: @@ -43,13 +43,13 @@ _POSTGRES_ALL_VERSIONS=( 9999 14 13 12 11 10 9.6 9.5 9.4 9.3 9.2 ) #POSTGRES_COMPAT=( 9.{2,3} 9.{4..6} 10 ) # Same as previous #@CODE -# @ECLASS-VARIABLE: POSTGRES_DEP +# @ECLASS_VARIABLE: POSTGRES_DEP # @DESCRIPTION: # An automatically generated dependency string suitable for use in # DEPEND and RDEPEND declarations. POSTGRES_DEP="dev-db/postgresql:=" -# @ECLASS-VARIABLE: POSTGRES_USEDEP +# @ECLASS_VARIABLE: POSTGRES_USEDEP # @PRE_INHERIT # @DEFAULT_UNSET # @DESCRIPTION: @@ -57,7 +57,7 @@ POSTGRES_DEP="dev-db/postgresql:=" # for POSTGRES_DEP. If declared, must be declared before inheriting this eclass. declare -p POSTGRES_USEDEP &>/dev/null && POSTGRES_DEP+="[${POSTGRES_USEDEP}]" -# @ECLASS-VARIABLE: POSTGRES_REQ_USE +# @ECLASS_VARIABLE: POSTGRES_REQ_USE # @DEFAULT_UNSET # @DESCRIPTION: # An automatically generated REQUIRED_USE-compatible string built upon @@ -65,7 +65,7 @@ declare -p POSTGRES_USEDEP &>/dev/null && POSTGRES_DEP+="[${POSTGRES_USEDEP}]" # required if the package must build against one of the PostgreSQL slots # declared in POSTGRES_COMPAT. -# @ECLASS-VARIABLE: _POSTGRES_COMPAT +# @ECLASS_VARIABLE: _POSTGRES_COMPAT # @INTERNAL # @DESCRIPTION: # Copy of POSTGRES_COMPAT, reverse sorted diff --git a/eclass/prefix.eclass b/eclass/prefix.eclass index 0571dd1fb207..8d50d0ba7b6e 100644 --- a/eclass/prefix.eclass +++ b/eclass/prefix.eclass @@ -20,7 +20,7 @@ esac if [[ -z ${_PREFIX_ECLASS} ]]; then _PREFIX_ECLASS=1 -# @ECLASS-VARIABLE: EPREFIX +# @ECLASS_VARIABLE: EPREFIX # @DESCRIPTION: # The offset prefix of a Gentoo Prefix installation. When Gentoo Prefix # is not used, ${EPREFIX} should be "". Prefix Portage sets EPREFIX, diff --git a/eclass/python-any-r1.eclass b/eclass/python-any-r1.eclass index 805981bb7aa8..2051b5e89b81 100644 --- a/eclass/python-any-r1.eclass +++ b/eclass/python-any-r1.eclass @@ -58,7 +58,7 @@ fi EXPORT_FUNCTIONS pkg_setup -# @ECLASS-VARIABLE: PYTHON_COMPAT +# @ECLASS_VARIABLE: PYTHON_COMPAT # @REQUIRED # @DESCRIPTION: # This variable contains a list of Python implementations the package @@ -70,7 +70,7 @@ EXPORT_FUNCTIONS pkg_setup # PYTHON_COMPAT=( python{2_5,2_6,2_7} ) # @CODE -# @ECLASS-VARIABLE: PYTHON_COMPAT_OVERRIDE +# @ECLASS_VARIABLE: PYTHON_COMPAT_OVERRIDE # @USER_VARIABLE # @DEFAULT_UNSET # @DESCRIPTION: @@ -89,7 +89,7 @@ EXPORT_FUNCTIONS pkg_setup # PYTHON_COMPAT_OVERRIDE='pypy' emerge -1v dev-python/bar # @CODE -# @ECLASS-VARIABLE: PYTHON_REQ_USE +# @ECLASS_VARIABLE: PYTHON_REQ_USE # @DEFAULT_UNSET # @DESCRIPTION: # The list of USEflags required to be enabled on the Python @@ -107,7 +107,7 @@ EXPORT_FUNCTIONS pkg_setup # || ( dev-lang/python:X.Y[gdbm,ncurses(-)?] ... ) # @CODE -# @ECLASS-VARIABLE: PYTHON_DEPS +# @ECLASS_VARIABLE: PYTHON_DEPS # @OUTPUT_VARIABLE # @DESCRIPTION: # This is an eclass-generated Python dependency string for all @@ -126,7 +126,7 @@ EXPORT_FUNCTIONS pkg_setup # dev-lang/python:2.6[gdbm] ) # @CODE -# @ECLASS-VARIABLE: PYTHON_USEDEP +# @ECLASS_VARIABLE: PYTHON_USEDEP # @OUTPUT_VARIABLE # @DESCRIPTION: # An eclass-generated USE-dependency string for the currently tested @@ -148,7 +148,7 @@ EXPORT_FUNCTIONS pkg_setup # python_targets_python3_7(-) # @CODE -# @ECLASS-VARIABLE: PYTHON_SINGLE_USEDEP +# @ECLASS_VARIABLE: PYTHON_SINGLE_USEDEP # @OUTPUT_VARIABLE # @DESCRIPTION: # An eclass-generated USE-dependency string for the currently tested diff --git a/eclass/python-r1.eclass b/eclass/python-r1.eclass index bf2fd62fdcba..2f8cfa0316d9 100644 --- a/eclass/python-r1.eclass +++ b/eclass/python-r1.eclass @@ -53,7 +53,7 @@ inherit multibuild python-utils-r1 fi -# @ECLASS-VARIABLE: PYTHON_COMPAT +# @ECLASS_VARIABLE: PYTHON_COMPAT # @REQUIRED # @DESCRIPTION: # This variable contains a list of Python implementations the package @@ -70,7 +70,7 @@ fi # PYTHON_COMPAT=( python2_7 python3_{3,4} ) # @CODE -# @ECLASS-VARIABLE: PYTHON_COMPAT_OVERRIDE +# @ECLASS_VARIABLE: PYTHON_COMPAT_OVERRIDE # @USER_VARIABLE # @DEFAULT_UNSET # @DESCRIPTION: @@ -90,7 +90,7 @@ fi # PYTHON_COMPAT_OVERRIDE='pypy python3_3' emerge -1v dev-python/foo # @CODE -# @ECLASS-VARIABLE: PYTHON_REQ_USE +# @ECLASS_VARIABLE: PYTHON_REQ_USE # @DEFAULT_UNSET # @DESCRIPTION: # The list of USEflags required to be enabled on the chosen Python @@ -110,7 +110,7 @@ fi # python_targets_pythonX_Y? ( dev-lang/python:X.Y[gdbm,ncurses(-)?] ) # @CODE -# @ECLASS-VARIABLE: PYTHON_DEPS +# @ECLASS_VARIABLE: PYTHON_DEPS # @OUTPUT_VARIABLE # @DESCRIPTION: # This is an eclass-generated Python dependency string for all @@ -129,7 +129,7 @@ fi # python_targets_pypy? ( dev-python/pypy[gdbm] ) # @CODE -# @ECLASS-VARIABLE: PYTHON_USEDEP +# @ECLASS_VARIABLE: PYTHON_USEDEP # @OUTPUT_VARIABLE # @DESCRIPTION: # This is an eclass-generated USE-dependency string which can be used to @@ -150,7 +150,7 @@ fi # python_targets_python2_7(-)?,python_targets_python3_4(-)? # @CODE -# @ECLASS-VARIABLE: PYTHON_SINGLE_USEDEP +# @ECLASS_VARIABLE: PYTHON_SINGLE_USEDEP # @OUTPUT_VARIABLE # @DESCRIPTION: # An eclass-generated USE-dependency string for the currently tested @@ -172,7 +172,7 @@ fi # python_single_target_python3_7(-) # @CODE -# @ECLASS-VARIABLE: PYTHON_REQUIRED_USE +# @ECLASS_VARIABLE: PYTHON_REQUIRED_USE # @OUTPUT_VARIABLE # @DESCRIPTION: # This is an eclass-generated required-use expression which ensures at @@ -537,7 +537,7 @@ python_gen_any_dep() { echo "|| ( ${out})" } -# @ECLASS-VARIABLE: BUILD_DIR +# @ECLASS_VARIABLE: BUILD_DIR # @OUTPUT_VARIABLE # @DEFAULT_UNSET # @DESCRIPTION: diff --git a/eclass/python-single-r1.eclass b/eclass/python-single-r1.eclass index 998e6faad841..740c3283d1b6 100644 --- a/eclass/python-single-r1.eclass +++ b/eclass/python-single-r1.eclass @@ -62,7 +62,7 @@ fi EXPORT_FUNCTIONS pkg_setup -# @ECLASS-VARIABLE: PYTHON_COMPAT +# @ECLASS_VARIABLE: PYTHON_COMPAT # @REQUIRED # @DESCRIPTION: # This variable contains a list of Python implementations the package @@ -79,7 +79,7 @@ EXPORT_FUNCTIONS pkg_setup # PYTHON_COMPAT=( python2_7 python3_{3,4} ) # @CODE -# @ECLASS-VARIABLE: PYTHON_COMPAT_OVERRIDE +# @ECLASS_VARIABLE: PYTHON_COMPAT_OVERRIDE # @USER_VARIABLE # @DEFAULT_UNSET # @DESCRIPTION: @@ -99,7 +99,7 @@ EXPORT_FUNCTIONS pkg_setup # PYTHON_COMPAT_OVERRIDE='pypy' emerge -1v dev-python/bar # @CODE -# @ECLASS-VARIABLE: PYTHON_REQ_USE +# @ECLASS_VARIABLE: PYTHON_REQ_USE # @DEFAULT_UNSET # @DESCRIPTION: # The list of USEflags required to be enabled on the chosen Python @@ -119,7 +119,7 @@ EXPORT_FUNCTIONS pkg_setup # python_single_target_pythonX_Y? ( dev-lang/python:X.Y[gdbm,ncurses(-)?] ) # @CODE -# @ECLASS-VARIABLE: PYTHON_DEPS +# @ECLASS_VARIABLE: PYTHON_DEPS # @OUTPUT_VARIABLE # @DESCRIPTION: # This is an eclass-generated Python dependency string for all @@ -140,7 +140,7 @@ EXPORT_FUNCTIONS pkg_setup # python_single_target_pypy? ( dev-python/pypy[gdbm] ) # @CODE -# @ECLASS-VARIABLE: PYTHON_SINGLE_USEDEP +# @ECLASS_VARIABLE: PYTHON_SINGLE_USEDEP # @OUTPUT_VARIABLE # @DESCRIPTION: # This is an eclass-generated USE-dependency string which can be used to @@ -160,7 +160,7 @@ EXPORT_FUNCTIONS pkg_setup # python_single_target_python3_4(-)? # @CODE -# @ECLASS-VARIABLE: PYTHON_USEDEP +# @ECLASS_VARIABLE: PYTHON_USEDEP # @OUTPUT_VARIABLE # @DESCRIPTION: # This is a placeholder variable supported by python_gen_cond_dep, @@ -179,7 +179,7 @@ EXPORT_FUNCTIONS pkg_setup # python_targets_python3_4(-) # @CODE -# @ECLASS-VARIABLE: PYTHON_REQUIRED_USE +# @ECLASS_VARIABLE: PYTHON_REQUIRED_USE # @OUTPUT_VARIABLE # @DESCRIPTION: # This is an eclass-generated required-use expression which ensures diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass index 5f8c49298090..7b0c9aa280d8 100644 --- a/eclass/python-utils-r1.eclass +++ b/eclass/python-utils-r1.eclass @@ -37,7 +37,7 @@ if [[ ! ${_PYTHON_UTILS_R1} ]]; then [[ ${EAPI} == [67] ]] && inherit eapi8-dosym inherit multiprocessing toolchain-funcs -# @ECLASS-VARIABLE: _PYTHON_ALL_IMPLS +# @ECLASS_VARIABLE: _PYTHON_ALL_IMPLS # @INTERNAL # @DESCRIPTION: # All supported Python implementations, most preferred last. @@ -47,7 +47,7 @@ _PYTHON_ALL_IMPLS=( ) readonly _PYTHON_ALL_IMPLS -# @ECLASS-VARIABLE: _PYTHON_HISTORICAL_IMPLS +# @ECLASS_VARIABLE: _PYTHON_HISTORICAL_IMPLS # @INTERNAL # @DESCRIPTION: # All historical Python implementations that are no longer supported. @@ -59,7 +59,7 @@ _PYTHON_HISTORICAL_IMPLS=( ) readonly _PYTHON_HISTORICAL_IMPLS -# @ECLASS-VARIABLE: PYTHON_COMPAT_NO_STRICT +# @ECLASS_VARIABLE: PYTHON_COMPAT_NO_STRICT # @INTERNAL # @DESCRIPTION: # Set to a non-empty value in order to make eclass tolerate (ignore) @@ -258,7 +258,7 @@ _python_impl_matches() { return 1 } -# @ECLASS-VARIABLE: PYTHON +# @ECLASS_VARIABLE: PYTHON # @DEFAULT_UNSET # @DESCRIPTION: # The absolute path to the current Python interpreter. @@ -277,7 +277,7 @@ _python_impl_matches() { # /usr/bin/python2.7 # @CODE -# @ECLASS-VARIABLE: EPYTHON +# @ECLASS_VARIABLE: EPYTHON # @DEFAULT_UNSET # @DESCRIPTION: # The executable name of the current Python interpreter. diff --git a/eclass/qt5-build.eclass b/eclass/qt5-build.eclass index a2a72bde46cd..279ece28e1dd 100644 --- a/eclass/qt5-build.eclass +++ b/eclass/qt5-build.eclass @@ -20,7 +20,7 @@ case ${EAPI} in *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;; esac -# @ECLASS-VARIABLE: QT5_BUILD_TYPE +# @ECLASS_VARIABLE: QT5_BUILD_TYPE # @DESCRIPTION: # Default value is "release". # If PV matches "*9999*", this is automatically set to "live". @@ -30,33 +30,46 @@ if [[ ${PV} == *9999* ]]; then fi readonly QT5_BUILD_TYPE -# @ECLASS-VARIABLE: QT5_MODULE +# @ECLASS_VARIABLE: QT5_KDEPATCHSET_REV +# @DEFAULT_UNSET +# @PRE_INHERIT +# @DESCRIPTION: +# Downstream generated patchset revision pulled from KDE's Qt5PatchCollection, +# with the patchset having been generated in the following way from upstream's +# qt module git repository: +# @CODE +# git format-patch v${PV}-lts-lgpl..origin/gentoo-kde/${PV} \ +# -o ${QT5_MODULE}-${PV}-gentoo-kde-${QT5_KDEPATCHSET_REV} +# @CODE +# Used for SRC_URI and applied in src_prepare. +# Must be set before inheriting the eclass. + +# @ECLASS_VARIABLE: QT5_MODULE # @PRE_INHERIT # @DESCRIPTION: # The upstream name of the module this package belongs to. Used for # SRC_URI and EGIT_REPO_URI. Must be set before inheriting the eclass. : ${QT5_MODULE:=${PN}} -# @ECLASS-VARIABLE: QT5_PV +# @ECLASS_VARIABLE: QT5_PV # @DESCRIPTION: # 3-component version for use in dependency declarations on other dev-qt/ pkgs. QT5_PV=$(ver_cut 1-3) readonly QT5_PV -# @ECLASS-VARIABLE: _QT5_P +# @ECLASS_VARIABLE: _QT5_P # @INTERNAL # @DESCRIPTION: # The upstream package name of the module this package belongs to. # Used for SRC_URI and S. -_QT5_P=${QT5_MODULE}-everywhere-src-${PV} -# @ECLASS-VARIABLE: QT5_TARGET_SUBDIRS +# @ECLASS_VARIABLE: QT5_TARGET_SUBDIRS # @DEFAULT_UNSET # @DESCRIPTION: # Array variable containing the source directories that should be built. # All paths must be relative to ${S}. -# @ECLASS-VARIABLE: QT5_GENTOO_CONFIG +# @ECLASS_VARIABLE: QT5_GENTOO_CONFIG # @DEFAULT_UNSET # @DESCRIPTION: # Array of <useflag:feature:macro> triplets that are evaluated in src_install @@ -64,7 +77,7 @@ _QT5_P=${QT5_MODULE}-everywhere-src-${PV} # definitions, which are then merged together with all other Qt5 packages # installed on the system to obtain the global qconfig.{h,pri} files. -# @ECLASS-VARIABLE: QT5_GENTOO_PRIVATE_CONFIG +# @ECLASS_VARIABLE: QT5_GENTOO_PRIVATE_CONFIG # @DEFAULT_UNSET # @DESCRIPTION: # Array of <useflag:feature> pairs that are evaluated in src_install @@ -72,7 +85,7 @@ _QT5_P=${QT5_MODULE}-everywhere-src-${PV} # which are then merged together with all other Qt5 packages installed on the # system to obtain the global qmodule.pri file. -# @ECLASS-VARIABLE: VIRTUALX_REQUIRED +# @ECLASS_VARIABLE: VIRTUALX_REQUIRED # @PRE_INHERIT # @DESCRIPTION: # For proper description see virtualx.eclass man page. @@ -83,25 +96,64 @@ _QT5_P=${QT5_MODULE}-everywhere-src-${PV} inherit estack flag-o-matic toolchain-funcs virtualx if [[ ${PN} != qtwebengine ]]; then - if [[ ${QT5_BUILD_TYPE} == live ]] || [[ -n ${KDE_ORG_COMMIT} ]]; then - # KDE Qt5PatchCollection - inherit kde.org - else - # official stable release - HOMEPAGE="https://www.qt.io/" - SRC_URI="https://download.qt.io/official_releases/qt/${PV%.*}/${PV}/submodules/${_QT5_P}.tar.xz" - S=${WORKDIR}/${_QT5_P} - fi + case ${PV} in + *9999 ) + # kde/5.15 branch on invent.kde.org + inherit kde.org + ;; + 5.15.2* ) + if [[ -n ${KDE_ORG_COMMIT} ]]; then + # KDE Qt5PatchCollection snapshot based on Qt 5.15.2 + inherit kde.org + else + # official stable release + _QT5_P=${QT5_MODULE}-everywhere-src-${PV} + HOMEPAGE="https://www.qt.io/" + SRC_URI="https://download.qt.io/official_releases/qt/${PV%.*}/${PV}/submodules/${_QT5_P}.tar.xz" + S=${WORKDIR}/${_QT5_P} + fi + ;; + 5.15.[3-9]* ) + # official stable release + _QT5_P=${QT5_MODULE}-everywhere-opensource-src-${PV} + HOMEPAGE="https://www.qt.io/" + SRC_URI="https://download.qt.io/official_releases/qt/${PV%.*}/${PV}/submodules/${_QT5_P}.tar.xz" + # KDE Qt5PatchCollection on top of tag v${PV}-lts-lgpl + if [[ -n ${QT5_KDEPATCHSET_REV} ]]; then + HOMEPAGE+=" https://invent.kde.org/qt/qt/${QT5_MODULE} https://community.kde.org/Qt5PatchCollection" + SRC_URI+=" https://dev.gentoo.org/~asturm/distfiles/${QT5_MODULE}-${PV}-gentoo-kde-${QT5_KDEPATCHSET_REV}.tar.xz" + fi + S="${WORKDIR}"/${_QT5_P/opensource-} + ;; + esac fi -# @ECLASS-VARIABLE: QT5_BUILD_DIR +# @ECLASS_VARIABLE: QT5_BUILD_DIR # @OUTPUT_VARIABLE # @DESCRIPTION: # Build directory for out-of-source builds. : ${QT5_BUILD_DIR:=${S}_build} LICENSE="|| ( GPL-2 GPL-3 LGPL-3 ) FDL-1.3" -SLOT=5/$(ver_cut 1-2) + +case ${PV} in + 5.15.2*) + SLOT=5/$(ver_cut 1-2) + ;; + *) + case ${PN} in + assistant|linguist|qdbus|qdbusviewer|pixeltool) + SLOT=0 ;; + linguist-tools|qdoc|qtdiag|qtgraphicaleffects|qtimageformats| \ + qtpaths|qtplugininfo|qtquickcontrols|qtquicktimeline| \ + qttranslations|qtwaylandscanner|qtxmlpatterns) + SLOT=5 ;; + *) + SLOT=5/$(ver_cut 1-2) ;; + esac + ;; +esac + IUSE="debug test" if [[ ${QT5_BUILD_TYPE} == release ]]; then @@ -129,13 +181,13 @@ qt5-build_src_prepare() { qt5_prepare_env if [[ ${QT5_BUILD_TYPE} == live ]] || [[ -n ${KDE_ORG_COMMIT} ]]; then - # Upstream bumped version in 5.15 branch after 5.15.2 release but their - # 5.15.3 release is closed and this will never be more than a Qt 5.15.2 - # with patches on top. if [[ -n ${KDE_ORG_COMMIT} ]]; then einfo "Preparing KDE Qt5PatchCollection snapshot at ${KDE_ORG_COMMIT}" mkdir -p .git || die # need to fake a git repository for configure fi + # Ensure our ${QT5_PV} is not contradicted by any upstream (Qt) commit + # bumping version in 5.15 branch after release (probably can be dropped + # after 5.15.2_p* are gone) sed -e "/^MODULE_VERSION/s/5\.15\.[3456789]/${QT5_PV}/" -i .qmake.conf || die fi @@ -163,6 +215,8 @@ qt5-build_src_prepare() { sed -i -e "s|\"\$outpath/bin/qmake\" \"\$relpathMangled\" -- \"\$@\"|& $(qt5_qmake_args) |" configure || die fi + [[ -n ${QT5_KDEPATCHSET_REV} ]] && eapply "${WORKDIR}/${QT5_MODULE}-${PV}-gentoo-kde-${QT5_KDEPATCHSET_REV}" + default } @@ -291,6 +345,16 @@ qt5-build_pkg_postrm() { ###### Public helpers ###### +# @FUNCTION: qt5_symlink_binary_to_path +# @USAGE: <target binary name> [suffix] +# @DESCRIPTION: +# Symlink a given binary from QT5_BINDIR to QT5_PREFIX/bin, with optional suffix +qt5_symlink_binary_to_path() { + [[ $# -ge 1 ]] || die "${FUNCNAME}() requires at least one argument" + + dosym -r "${QT5_BINDIR}"/${1} /usr/bin/${1}${2} +} + # @FUNCTION: qt_use # @USAGE: <flag> [feature] [enableval] # @DESCRIPTION: diff --git a/eclass/readme.gentoo-r1.eclass b/eclass/readme.gentoo-r1.eclass index 0d302179127b..baf4b57bef76 100644 --- a/eclass/readme.gentoo-r1.eclass +++ b/eclass/readme.gentoo-r1.eclass @@ -25,24 +25,24 @@ case ${EAPI} in *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;; esac -# @ECLASS-VARIABLE: DOC_CONTENTS +# @ECLASS_VARIABLE: DOC_CONTENTS # @DEFAULT_UNSET # @DESCRIPTION: # The information that is used to create the README.gentoo file. -# @ECLASS-VARIABLE: DISABLE_AUTOFORMATTING +# @ECLASS_VARIABLE: DISABLE_AUTOFORMATTING # @DEFAULT_UNSET # @DESCRIPTION: # If non-empty, DOC_CONTENTS information will be strictly respected, # not getting it automatically formatted by fmt. If empty, it will # rely on fmt for formatting and 'echo -e' options to tweak lines a bit. -# @ECLASS-VARIABLE: FORCE_PRINT_ELOG +# @ECLASS_VARIABLE: FORCE_PRINT_ELOG # @DEFAULT_UNSET # @DESCRIPTION: # If non-empty this variable forces elog messages to be printed. -# @ECLASS-VARIABLE: README_GENTOO_SUFFIX +# @ECLASS_VARIABLE: README_GENTOO_SUFFIX # @DESCRIPTION: # If you want to specify a suffix for README.gentoo file please export it. : ${README_GENTOO_SUFFIX:=""} diff --git a/eclass/rebar.eclass b/eclass/rebar.eclass index 82979170009d..17ae8e0d7658 100644 --- a/eclass/rebar.eclass +++ b/eclass/rebar.eclass @@ -42,7 +42,7 @@ if [[ ${EAPI} == 6 ]]; then DEPEND+="${BDEPEND}" fi -# @ECLASS-VARIABLE: REBAR_APP_SRC +# @ECLASS_VARIABLE: REBAR_APP_SRC # @DESCRIPTION: # Relative path to .app.src description file. REBAR_APP_SRC="${REBAR_APP_SRC-src/${PN}.app.src}" diff --git a/eclass/ros-catkin.eclass b/eclass/ros-catkin.eclass index eac05695c5bc..feded640abfb 100644 --- a/eclass/ros-catkin.eclass +++ b/eclass/ros-catkin.eclass @@ -18,20 +18,20 @@ case "${EAPI:-0}" in *) die "EAPI='${EAPI}' is not supported" ;; esac -# @ECLASS-VARIABLE: ROS_REPO_URI +# @ECLASS_VARIABLE: ROS_REPO_URI # @DESCRIPTION: # URL of the upstream repository. Usually on github. # Serves for fetching tarballs, live ebuilds and inferring the meta-package name. EGIT_REPO_URI="${ROS_REPO_URI}" -# @ECLASS-VARIABLE: ROS_SUBDIR +# @ECLASS_VARIABLE: ROS_SUBDIR # @DEFAULT_UNSET # @DESCRIPTION: # Subdir in which current packages is located. # Usually, a repository contains several packages, hence a typical value is: # ROS_SUBDIR=${PN} -# @ECLASS-VARIABLE: CATKIN_IN_SOURCE_BUILD +# @ECLASS_VARIABLE: CATKIN_IN_SOURCE_BUILD # @DEFAULT_UNSET # @DESCRIPTION: # Set to enable in-source build. @@ -58,13 +58,13 @@ DEPEND="${RDEPEND} $(python_gen_cond_dep "dev-python/empy[\${PYTHON_USEDEP}]") " -# @ECLASS-VARIABLE: CATKIN_HAS_MESSAGES +# @ECLASS_VARIABLE: CATKIN_HAS_MESSAGES # @PRE_INHERIT # @DESCRIPTION: # Set it to a non-empty value before inherit to tell the eclass the package has messages to build. # Messages will be built based on ROS_MESSAGES USE_EXPANDed variable. -# @ECLASS-VARIABLE: CATKIN_MESSAGES_TRANSITIVE_DEPS +# @ECLASS_VARIABLE: CATKIN_MESSAGES_TRANSITIVE_DEPS # @PRE_INHERIT # @DESCRIPTION: # Some messages have dependencies on other messages. @@ -93,27 +93,27 @@ if [ -n "${CATKIN_HAS_MESSAGES}" ] ; then fi fi -# @ECLASS-VARIABLE: CATKIN_MESSAGES_CXX_USEDEP +# @ECLASS_VARIABLE: CATKIN_MESSAGES_CXX_USEDEP # @DESCRIPTION: # Use it as cat/pkg[${CATKIN_MESSAGES_CXX_USEDEP}] to indicate a dependency on the C++ messages of cat/pkg. CATKIN_MESSAGES_CXX_USEDEP="ros_messages_cxx(-)" -# @ECLASS-VARIABLE: CATKIN_MESSAGES_PYTHON_USEDEP +# @ECLASS_VARIABLE: CATKIN_MESSAGES_PYTHON_USEDEP # @DESCRIPTION: # Use it as cat/pkg[${CATKIN_MESSAGES_PYTHON_USEDEP}] to indicate a dependency on the Python messages of cat/pkg. CATKIN_MESSAGES_PYTHON_USEDEP="ros_messages_python(-),${PYTHON_SINGLE_USEDEP}" -# @ECLASS-VARIABLE: CATKIN_MESSAGES_LISP_USEDEP +# @ECLASS_VARIABLE: CATKIN_MESSAGES_LISP_USEDEP # @DESCRIPTION: # Use it as cat/pkg[${CATKIN_MESSAGES_LISP_USEDEP}] to indicate a dependency on the Common-Lisp messages of cat/pkg. CATKIN_MESSAGES_LISP_USEDEP="ros_messages_lisp(-)" -# @ECLASS-VARIABLE: CATKIN_MESSAGES_EUS_USEDEP +# @ECLASS_VARIABLE: CATKIN_MESSAGES_EUS_USEDEP # @DESCRIPTION: # Use it as cat/pkg[${CATKIN_MESSAGES_EUS_USEDEP}] to indicate a dependency on the EusLisp messages of cat/pkg. CATKIN_MESSAGES_EUS_USEDEP="ros_messages_eus(-)" -# @ECLASS-VARIABLE: CATKIN_MESSAGES_NODEJS_USEDEP +# @ECLASS_VARIABLE: CATKIN_MESSAGES_NODEJS_USEDEP # @DESCRIPTION: # Use it as cat/pkg[${CATKIN_MESSAGES_NODEJS_USEDEP}] to indicate a dependency on the nodejs messages of cat/pkg. CATKIN_MESSAGES_NODEJS_USEDEP="ros_messages_nodejs(-)" diff --git a/eclass/ruby-fakegem.eclass b/eclass/ruby-fakegem.eclass index 7e5a62aa5b57..89bb97947b48 100644 --- a/eclass/ruby-fakegem.eclass +++ b/eclass/ruby-fakegem.eclass @@ -17,26 +17,26 @@ inherit ruby-ng -# @ECLASS-VARIABLE: RUBY_FAKEGEM_NAME +# @ECLASS_VARIABLE: RUBY_FAKEGEM_NAME # @PRE_INHERIT # @DESCRIPTION: # Sets the Gem name for the generated fake gemspec. # This variable MUST be set before inheriting the eclass. RUBY_FAKEGEM_NAME="${RUBY_FAKEGEM_NAME:-${PN}}" -# @ECLASS-VARIABLE: RUBY_FAKEGEM_VERSION +# @ECLASS_VARIABLE: RUBY_FAKEGEM_VERSION # @PRE_INHERIT # @DESCRIPTION: # Sets the Gem version for the generated fake gemspec. # This variable MUST be set before inheriting the eclass. RUBY_FAKEGEM_VERSION="${RUBY_FAKEGEM_VERSION:-${PV/_pre/.pre}}" -# @ECLASS-VARIABLE: RUBY_FAKEGEM_TASK_DOC +# @ECLASS_VARIABLE: RUBY_FAKEGEM_TASK_DOC # @DESCRIPTION: # Specify the rake(1) task to run to generate documentation. RUBY_FAKEGEM_TASK_DOC="${RUBY_FAKEGEM_TASK_DOC-rdoc}" -# @ECLASS-VARIABLE: RUBY_FAKEGEM_RECIPE_TEST +# @ECLASS_VARIABLE: RUBY_FAKEGEM_RECIPE_TEST # @DESCRIPTION: # Specify one of the default testing function for ruby-fakegem: # - rake (default; see also RUBY_FAKEGEM_TASK_TEST) @@ -47,13 +47,13 @@ RUBY_FAKEGEM_TASK_DOC="${RUBY_FAKEGEM_TASK_DOC-rdoc}" # - none RUBY_FAKEGEM_RECIPE_TEST="${RUBY_FAKEGEM_RECIPE_TEST-rake}" -# @ECLASS-VARIABLE: RUBY_FAKEGEM_TASK_TEST +# @ECLASS_VARIABLE: RUBY_FAKEGEM_TASK_TEST # @DESCRIPTION: # Specify the rake(1) task used for executing tests. Only valid # if RUBY_FAKEGEM_RECIPE_TEST is set to "rake" (the default). RUBY_FAKEGEM_TASK_TEST="${RUBY_FAKEGEM_TASK_TEST-test}" -# @ECLASS-VARIABLE: RUBY_FAKEGEM_RECIPE_DOC +# @ECLASS_VARIABLE: RUBY_FAKEGEM_RECIPE_DOC # @DESCRIPTION: # Specify one of the default API doc building function for ruby-fakegem: # - rake (default; see also RUBY_FAKEGEM_TASK_DOC) @@ -69,7 +69,7 @@ case ${EAPI} in ;; esac -# @ECLASS-VARIABLE: RUBY_FAKEGEM_DOCDIR +# @ECLASS_VARIABLE: RUBY_FAKEGEM_DOCDIR # @DEFAULT_UNSET # @DESCRIPTION: # Specify the directory under which the documentation is built; @@ -77,60 +77,60 @@ esac # Note: if RUBY_FAKEGEM_RECIPE_DOC is set to `rdoc`, this variable is # hardwired to `doc`. -# @ECLASS-VARIABLE: RUBY_FAKEGEM_EXTRADOC +# @ECLASS_VARIABLE: RUBY_FAKEGEM_EXTRADOC # @DEFAULT_UNSET # @DESCRIPTION: # Extra documentation to install (readme, changelogs, …). -# @ECLASS-VARIABLE: RUBY_FAKEGEM_DOC_SOURCES +# @ECLASS_VARIABLE: RUBY_FAKEGEM_DOC_SOURCES # @DESCRIPTION: # Allow settings defined sources to scan for documentation. # This only applies if RUBY_FAKEGEM_DOC_TASK is set to `rdoc`. RUBY_FAKEGEM_DOC_SOURCES="${RUBY_FAKEGEM_DOC_SOURCES-lib}" -# @ECLASS-VARIABLE: RUBY_FAKEGEM_BINWRAP +# @ECLASS_VARIABLE: RUBY_FAKEGEM_BINWRAP # @DESCRIPTION: # Binaries to wrap around (relative to the RUBY_FAKEGEM_BINDIR directory) RUBY_FAKEGEM_BINWRAP="${RUBY_FAKEGEM_BINWRAP-*}" -# @ECLASS-VARIABLE: RUBY_FAKEGEM_BINDIR +# @ECLASS_VARIABLE: RUBY_FAKEGEM_BINDIR # @DESCRIPTION: # Path that contains binaries to be binwrapped. Equivalent to the # gemspec bindir option. RUBY_FAKEGEM_BINDIR="${RUBY_FAKEGEM_BINDIR-bin}" -# @ECLASS-VARIABLE: RUBY_FAKEGEM_REQUIRE_PATHS +# @ECLASS_VARIABLE: RUBY_FAKEGEM_REQUIRE_PATHS # @DEFAULT_UNSET # @DESCRIPTION: # Extra require paths (beside lib) to add to the specification -# @ECLASS-VARIABLE: RUBY_FAKEGEM_GEMSPEC +# @ECLASS_VARIABLE: RUBY_FAKEGEM_GEMSPEC # @DEFAULT_UNSET # @DESCRIPTION: # Filename of .gemspec file to install instead of generating a generic one. -# @ECLASS-VARIABLE: RUBY_FAKEGEM_EXTRAINSTALL +# @ECLASS_VARIABLE: RUBY_FAKEGEM_EXTRAINSTALL # @DEFAULT_UNSET # @DESCRIPTION: # List of files and directories relative to the top directory that also # get installed. Some gems provide extra files such as version information, # Rails generators, or data that needs to be installed as well. -# @ECLASS-VARIABLE: RUBY_FAKEGEM_EXTENSIONS +# @ECLASS_VARIABLE: RUBY_FAKEGEM_EXTENSIONS # @DEFAULT_UNSET # @DESCRIPTION: # List of extensions supported by this gem. Each extension is listed as # the configuration script that needs to be run to generate the # extension. -# @ECLASS-VARIABLE: RUBY_FAKEGEM_EXTENSION_OPTIONS +# @ECLASS_VARIABLE: RUBY_FAKEGEM_EXTENSION_OPTIONS # @DEFAULT_UNSET # @DESCRIPTION: # Additional options that are passed when configuring the # extension. Some extensions use this to locate paths or turn specific # parts of the extionsion on or off. -# @ECLASS-VARIABLE: RUBY_FAKEGEM_EXTENSION_LIBDIR +# @ECLASS_VARIABLE: RUBY_FAKEGEM_EXTENSION_LIBDIR # @DESCRIPTION: # The lib directory where extensions are copied directly after they have # been compiled. This is needed to run tests on the code and was the diff --git a/eclass/ruby-ng-gnome2.eclass b/eclass/ruby-ng-gnome2.eclass index 732cf9c96b3a..93ab89263593 100644 --- a/eclass/ruby-ng-gnome2.eclass +++ b/eclass/ruby-ng-gnome2.eclass @@ -25,7 +25,7 @@ RUBY_FAKEGEM_NAME="${RUBY_FAKEGEM_NAME:-${PN#ruby-}}" RUBY_FAKEGEM_TASK_TEST="" RUBY_FAKEGEM_TASK_DOC="" -# @ECLASS-VARIABLE: RUBY_GNOME2_NEED_VIRTX +# @ECLASS_VARIABLE: RUBY_GNOME2_NEED_VIRTX # @PRE_INHERIT # @DESCRIPTION: # If set to 'yes', the test is run with virtx. Set before inheriting this diff --git a/eclass/ruby-ng.eclass b/eclass/ruby-ng.eclass index 8e7c7f76290b..1bc934573140 100644 --- a/eclass/ruby-ng.eclass +++ b/eclass/ruby-ng.eclass @@ -25,7 +25,7 @@ # * each_ruby_configure # * all_ruby_configure -# @ECLASS-VARIABLE: USE_RUBY +# @ECLASS_VARIABLE: USE_RUBY # @DEFAULT_UNSET # @REQUIRED # @DESCRIPTION: @@ -33,19 +33,19 @@ # is compatible to. It must be set before the `inherit' call. There is no # default. All ebuilds are expected to set this variable. -# @ECLASS-VARIABLE: RUBY_PATCHES +# @ECLASS_VARIABLE: RUBY_PATCHES # @DEFAULT_UNSET # @DESCRIPTION: # A String or Array of filenames of patches to apply to all implementations. -# @ECLASS-VARIABLE: RUBY_OPTIONAL +# @ECLASS_VARIABLE: RUBY_OPTIONAL # @DEFAULT_UNSET # @DESCRIPTION: # Set the value to "yes" to make the dependency on a Ruby interpreter # optional and then ruby_implementations_depend() to help populate # BDEPEND, DEPEND and RDEPEND. -# @ECLASS-VARIABLE: RUBY_S +# @ECLASS_VARIABLE: RUBY_S # @DEFAULT_UNSET # @DESCRIPTION: # If defined this variable determines the source directory name after @@ -53,7 +53,7 @@ # variable supports a wildcard mechanism to help with github tarballs # that contain the commit hash as part of the directory name. -# @ECLASS-VARIABLE: RUBY_QA_ALLOWED_LIBS +# @ECLASS_VARIABLE: RUBY_QA_ALLOWED_LIBS # @DEFAULT_UNSET # @DESCRIPTION: # If defined this variable contains a whitelist of shared objects that diff --git a/eclass/ruby-single.eclass b/eclass/ruby-single.eclass index ed230f4a84e5..1e390b9163ad 100644 --- a/eclass/ruby-single.eclass +++ b/eclass/ruby-single.eclass @@ -38,7 +38,7 @@ if [[ ! ${_RUBY_SINGLE} ]]; then inherit ruby-utils -# @ECLASS-VARIABLE: USE_RUBY +# @ECLASS_VARIABLE: USE_RUBY # @DEFAULT_UNSET # @PRE_INHERIT # @REQUIRED @@ -48,7 +48,7 @@ inherit ruby-utils # default. All ebuilds are expected to set this variable. -# @ECLASS-VARIABLE: RUBY_DEPS +# @ECLASS_VARIABLE: RUBY_DEPS # @DEFAULT_UNSET # @DESCRIPTION: # diff --git a/eclass/ruby-utils.eclass b/eclass/ruby-utils.eclass index d871ee74b411..fb033d64201c 100644 --- a/eclass/ruby-utils.eclass +++ b/eclass/ruby-utils.eclass @@ -23,7 +23,7 @@ esac if [[ ! ${_RUBY_UTILS} ]]; then -# @ECLASS-VARIABLE: RUBY_TARGETS_PREFERENCE +# @ECLASS_VARIABLE: RUBY_TARGETS_PREFERENCE # @INTERNAL # @DESCRIPTION: # This variable lists all the known ruby targets in preference of use as diff --git a/eclass/rust-toolchain.eclass b/eclass/rust-toolchain.eclass index 8c783eaf0610..75b15a7088b4 100644 --- a/eclass/rust-toolchain.eclass +++ b/eclass/rust-toolchain.eclass @@ -20,7 +20,7 @@ esac inherit multilib-build -# @ECLASS-VARIABLE: RUST_TOOLCHAIN_BASEURL +# @ECLASS_VARIABLE: RUST_TOOLCHAIN_BASEURL # @DESCRIPTION: # This variable specifies the base URL used by the # rust_arch_uri and rust_all_arch_uris functions when diff --git a/eclass/scons-utils.eclass b/eclass/scons-utils.eclass index 35bda2bc1ac3..ff6550ae048a 100644 --- a/eclass/scons-utils.eclass +++ b/eclass/scons-utils.eclass @@ -59,7 +59,7 @@ # -- public variables -- -# @ECLASS-VARIABLE: SCONS_MIN_VERSION +# @ECLASS_VARIABLE: SCONS_MIN_VERSION # @DEFAULT_UNSET # @DESCRIPTION: # The minimal version of SCons required for the build to work. @@ -72,7 +72,7 @@ # List of package-specific options to pass to all SCons calls. Supposed to be # set in src_configure(). -# @ECLASS-VARIABLE: SCONSOPTS +# @ECLASS_VARIABLE: SCONSOPTS # @USER_VARIABLE # @DEFAULT_UNSET # @DESCRIPTION: @@ -80,7 +80,7 @@ # supposed to be set in make.conf. If unset, escons() will use cleaned # up MAKEOPTS instead. -# @ECLASS-VARIABLE: EXTRA_ESCONS +# @ECLASS_VARIABLE: EXTRA_ESCONS # @USER_VARIABLE # @DEFAULT_UNSET # @DESCRIPTION: @@ -88,14 +88,14 @@ # Much like EXTRA_EMAKE, this is not supposed to be used in make.conf # and not in ebuilds! -# @ECLASS-VARIABLE: USE_SCONS_TRUE +# @ECLASS_VARIABLE: USE_SCONS_TRUE # @DESCRIPTION: # DEPRECATED: use usex instead # # The default value for truth in scons-use() (1 by default). : ${USE_SCONS_TRUE:=1} -# @ECLASS-VARIABLE: USE_SCONS_FALSE +# @ECLASS_VARIABLE: USE_SCONS_FALSE # @DESCRIPTION: # DEPRECATED: use usex instead # diff --git a/eclass/selinux-policy-2.eclass b/eclass/selinux-policy-2.eclass index 1af7ba3a80be..81d982f749c1 100644 --- a/eclass/selinux-policy-2.eclass +++ b/eclass/selinux-policy-2.eclass @@ -18,27 +18,27 @@ # Also, it supports for bundling patches to make the whole thing just a bit more # manageable. -# @ECLASS-VARIABLE: MODS +# @ECLASS_VARIABLE: MODS # @DESCRIPTION: # This variable contains the (upstream) module name for the SELinux module. # This name is only the module name, not the category! : ${MODS:="_illegal"} -# @ECLASS-VARIABLE: BASEPOL +# @ECLASS_VARIABLE: BASEPOL # @DESCRIPTION: # This variable contains the version string of the selinux-base-policy package # that this module build depends on. It is used to patch with the appropriate # patch bundle(s) that are part of selinux-base-policy. : ${BASEPOL:=${PVR}} -# @ECLASS-VARIABLE: POLICY_PATCH +# @ECLASS_VARIABLE: POLICY_PATCH # @DESCRIPTION: # This variable contains the additional patch(es) that need to be applied on top # of the patchset already contained within the BASEPOL variable. The variable # can be both a simple string (space-separated) or a bash array. : ${POLICY_PATCH:=""} -# @ECLASS-VARIABLE: POLICY_FILES +# @ECLASS_VARIABLE: POLICY_FILES # @DESCRIPTION: # When defined, this contains the files (located in the ebuilds' files/ # directory) which should be copied as policy module files into the store. @@ -47,7 +47,7 @@ # (space-separated) or a bash array. : ${POLICY_FILES:=""} -# @ECLASS-VARIABLE: POLICY_TYPES +# @ECLASS_VARIABLE: POLICY_TYPES # @DESCRIPTION: # This variable informs the eclass for which SELinux policies the module should # be built. Currently, Gentoo supports targeted, strict, mcs and mls. @@ -56,7 +56,7 @@ # override it, but the user. : ${POLICY_TYPES:="targeted strict mcs mls"} -# @ECLASS-VARIABLE: SELINUX_GIT_REPO +# @ECLASS_VARIABLE: SELINUX_GIT_REPO # @DESCRIPTION: # When defined, this variable overrides the default repository URL as used by # this eclass. It allows end users to point to a different policy repository @@ -65,7 +65,7 @@ # The default value is Gentoo's hardened-refpolicy repository. : ${SELINUX_GIT_REPO:="https://anongit.gentoo.org/git/proj/hardened-refpolicy.git"}; -# @ECLASS-VARIABLE: SELINUX_GIT_BRANCH +# @ECLASS_VARIABLE: SELINUX_GIT_BRANCH # @DESCRIPTION: # When defined, this variable sets the Git branch to use of the repository. This # allows for users and developers to use a different branch for the entire set of diff --git a/eclass/ssl-cert.eclass b/eclass/ssl-cert.eclass index 9d01fd10f50f..4b016ea82c87 100644 --- a/eclass/ssl-cert.eclass +++ b/eclass/ssl-cert.eclass @@ -22,19 +22,19 @@ esac if [[ ! ${_SSL_CERT_ECLASS} ]]; then _SSL_CERT_ECLASS=1 -# @ECLASS-VARIABLE: SSL_CERT_MANDATORY +# @ECLASS_VARIABLE: SSL_CERT_MANDATORY # @PRE_INHERIT # @DESCRIPTION: # Set to non zero if ssl-cert is mandatory for ebuild. : ${SSL_CERT_MANDATORY:=0} -# @ECLASS-VARIABLE: SSL_CERT_USE +# @ECLASS_VARIABLE: SSL_CERT_USE # @PRE_INHERIT # @DESCRIPTION: # Use flag to append dependency to. : ${SSL_CERT_USE:=ssl} -# @ECLASS-VARIABLE: SSL_DEPS_SKIP +# @ECLASS_VARIABLE: SSL_DEPS_SKIP # @PRE_INHERIT # @DESCRIPTION: # Set to non zero to skip adding to DEPEND and IUSE. diff --git a/eclass/subversion.eclass b/eclass/subversion.eclass index 8b12382a649d..5530758d1baa 100644 --- a/eclass/subversion.eclass +++ b/eclass/subversion.eclass @@ -30,34 +30,34 @@ case ${EAPI} in *) BDEPEND="${DEPEND}"; DEPEND="" ;; esac -# @ECLASS-VARIABLE: ESVN_STORE_DIR +# @ECLASS_VARIABLE: ESVN_STORE_DIR # @USER_VARIABLE # @DESCRIPTION: # subversion sources store directory. Users may override this in /etc/portage/make.conf [[ -z ${ESVN_STORE_DIR} ]] && ESVN_STORE_DIR="${PORTAGE_ACTUAL_DISTDIR:-${DISTDIR}}/svn-src" -# @ECLASS-VARIABLE: ESVN_FETCH_CMD +# @ECLASS_VARIABLE: ESVN_FETCH_CMD # @DESCRIPTION: # subversion checkout command ESVN_FETCH_CMD="svn checkout" -# @ECLASS-VARIABLE: ESVN_UPDATE_CMD +# @ECLASS_VARIABLE: ESVN_UPDATE_CMD # @DESCRIPTION: # subversion update command ESVN_UPDATE_CMD="svn update" -# @ECLASS-VARIABLE: ESVN_SWITCH_CMD +# @ECLASS_VARIABLE: ESVN_SWITCH_CMD # @DESCRIPTION: # subversion switch command ESVN_SWITCH_CMD="svn switch" -# @ECLASS-VARIABLE: ESVN_OPTIONS +# @ECLASS_VARIABLE: ESVN_OPTIONS # @DESCRIPTION: # the options passed to checkout or update. If you want a specific revision see # ESVN_REPO_URI instead of using -rREV. ESVN_OPTIONS="${ESVN_OPTIONS:-}" -# @ECLASS-VARIABLE: ESVN_REPO_URI +# @ECLASS_VARIABLE: ESVN_REPO_URI # @DESCRIPTION: # repository uri # @@ -73,7 +73,7 @@ ESVN_OPTIONS="${ESVN_OPTIONS:-}" # to peg to a specific revision, append @REV to the repo's uri ESVN_REPO_URI="${ESVN_REPO_URI:-}" -# @ECLASS-VARIABLE: ESVN_REVISION +# @ECLASS_VARIABLE: ESVN_REVISION # @DESCRIPTION: # User configurable revision checkout or update to from the repository # @@ -83,17 +83,17 @@ ESVN_REPO_URI="${ESVN_REPO_URI:-}" # Note: This should never be set in an ebuild! ESVN_REVISION="${ESVN_REVISION:-}" -# @ECLASS-VARIABLE: ESVN_USER +# @ECLASS_VARIABLE: ESVN_USER # @DESCRIPTION: # User name ESVN_USER="${ESVN_USER:-}" -# @ECLASS-VARIABLE: ESVN_PASSWORD +# @ECLASS_VARIABLE: ESVN_PASSWORD # @DESCRIPTION: # Password ESVN_PASSWORD="${ESVN_PASSWORD:-}" -# @ECLASS-VARIABLE: ESVN_PROJECT +# @ECLASS_VARIABLE: ESVN_PROJECT # @DESCRIPTION: # project name of your ebuild (= name space) # @@ -116,7 +116,7 @@ ESVN_PASSWORD="${ESVN_PASSWORD:-}" # default: ${PN/-svn}. ESVN_PROJECT="${ESVN_PROJECT:-${PN/-svn}}" -# @ECLASS-VARIABLE: ESVN_RESTRICT +# @ECLASS_VARIABLE: ESVN_RESTRICT # @DESCRIPTION: # this should be a space delimited list of subversion eclass features to # restrict. @@ -124,7 +124,7 @@ ESVN_PROJECT="${ESVN_PROJECT:-${PN/-svn}}" # don't export the working copy to S. ESVN_RESTRICT="${ESVN_RESTRICT:-}" -# @ECLASS-VARIABLE: ESVN_OFFLINE +# @ECLASS_VARIABLE: ESVN_OFFLINE # @USER_VARIABLE # @DEFAULT_UNSET # @DESCRIPTION: @@ -133,7 +133,7 @@ ESVN_RESTRICT="${ESVN_RESTRICT:-}" # tree by users. ESVN_OFFLINE="${ESVN_OFFLINE:-${EVCS_OFFLINE}}" -# @ECLASS-VARIABLE: ESVN_UMASK +# @ECLASS_VARIABLE: ESVN_UMASK # @USER_VARIABLE # @DESCRIPTION: # Set this variable to a custom umask. This is intended to be set by users. @@ -144,7 +144,7 @@ ESVN_OFFLINE="${ESVN_OFFLINE:-${EVCS_OFFLINE}}" # already can screw the system over in more creative ways. ESVN_UMASK="${ESVN_UMASK:-${EVCS_UMASK}}" -# @ECLASS-VARIABLE: ESVN_UP_FREQ +# @ECLASS_VARIABLE: ESVN_UP_FREQ # @USER_VARIABLE # @DESCRIPTION: # Set the minimum number of hours between svn up'ing in any given svn module. This is particularly @@ -152,7 +152,7 @@ ESVN_UMASK="${ESVN_UMASK:-${EVCS_UMASK}}" # revision. It should also be kept user overrideable. ESVN_UP_FREQ="${ESVN_UP_FREQ:=}" -# @ECLASS-VARIABLE: ESCM_LOGDIR +# @ECLASS_VARIABLE: ESCM_LOGDIR # @USER_VARIABLE # @DESCRIPTION: # User configuration variable. If set to a path such as e.g. /var/log/scm any diff --git a/eclass/sword-module.eclass b/eclass/sword-module.eclass index f8ae83c9f051..565110d2dd0b 100644 --- a/eclass/sword-module.eclass +++ b/eclass/sword-module.eclass @@ -47,7 +47,7 @@ case ${EAPI:-0} in ;; esac -# @ECLASS-VARIABLE: SWORD_MINIMUM_VERSION +# @ECLASS_VARIABLE: SWORD_MINIMUM_VERSION # @DEFAULT_UNSET # @PRE_INHERIT # @DESCRIPTION: @@ -56,7 +56,7 @@ esac # the dependency will be unversioned. # Needs to be set before the inherit line. -# @ECLASS-VARIABLE: SWORD_MODULE +# @ECLASS_VARIABLE: SWORD_MODULE # @PRE_INHERIT # @DESCRIPTION: # Case-sensitive name of the SWORD-Project module to install. If unset diff --git a/eclass/texlive-module.eclass b/eclass/texlive-module.eclass index 22b74237a4fb..68276714a4bc 100644 --- a/eclass/texlive-module.eclass +++ b/eclass/texlive-module.eclass @@ -23,7 +23,7 @@ # It inherits texlive-common. Patching is supported via the PATCHES # bash array. -# @ECLASS-VARIABLE: TEXLIVE_MODULE_CONTENTS +# @ECLASS_VARIABLE: TEXLIVE_MODULE_CONTENTS # @PRE_INHERIT # @REQUIRED # @DESCRIPTION: @@ -31,41 +31,41 @@ # SRC_URI: # foo -> texlive-module-foo-${PV}.tar.xz -# @ECLASS-VARIABLE: TEXLIVE_MODULE_DOC_CONTENTS +# @ECLASS_VARIABLE: TEXLIVE_MODULE_DOC_CONTENTS # @PRE_INHERIT # @REQUIRED # @DESCRIPTION: # The list of packages that will be installed if the doc useflag is enabled. # Expansion to SRC_URI is the same as for TEXLIVE_MODULE_CONTENTS. -# @ECLASS-VARIABLE: TEXLIVE_MODULE_SRC_CONTENTS +# @ECLASS_VARIABLE: TEXLIVE_MODULE_SRC_CONTENTS # @PRE_INHERIT # @REQUIRED # @DESCRIPTION: # The list of packages that will be installed if the source useflag is enabled. # Expansion to SRC_URI is the same as for TEXLIVE_MODULE_CONTENTS. -# @ECLASS-VARIABLE: TEXLIVE_MODULE_BINSCRIPTS +# @ECLASS_VARIABLE: TEXLIVE_MODULE_BINSCRIPTS # @DEFAULT_UNSET # @DESCRIPTION: # A space separated list of files that are in fact scripts installed in the # texmf tree and that we want to be available directly. They will be installed in # /usr/bin. -# @ECLASS-VARIABLE: TEXLIVE_MODULE_BINLINKS +# @ECLASS_VARIABLE: TEXLIVE_MODULE_BINLINKS # @DEFAULT_UNSET # @DESCRIPTION: # A space separated list of links to add for BINSCRIPTS. # The systax is: foo:bar to create a symlink bar -> foo. -# @ECLASS-VARIABLE: TL_PV +# @ECLASS_VARIABLE: TL_PV # @INTERNAL # @DESCRIPTION: # Normally the module's PV reflects the TeXLive release it belongs to. # If this is not the case, TL_PV takes the version number for the # needed app-text/texlive-core. -# @ECLASS-VARIABLE: TL_MODULE_INFORMATION +# @ECLASS_VARIABLE: TL_MODULE_INFORMATION # @DEFAULT_UNSET # @DESCRIPTION: # Information to display about the package. @@ -128,7 +128,7 @@ RDEPEND="${COMMON_DEPEND}" IUSE="${IUSE} doc" -# @ECLASS-VARIABLE: TEXLIVE_MODULE_OPTIONAL_ENGINE +# @ECLASS_VARIABLE: TEXLIVE_MODULE_OPTIONAL_ENGINE # @DEFAULT_UNSET # @DESCRIPTION: # A space separated list of Tex engines that can be made optional. diff --git a/eclass/tmpfiles.eclass b/eclass/tmpfiles.eclass index 7a0e2cb72657..165d95d4e6fb 100644 --- a/eclass/tmpfiles.eclass +++ b/eclass/tmpfiles.eclass @@ -60,7 +60,7 @@ case "${EAPI}" in *) die "API is undefined for EAPI ${EAPI}" ;; esac -# @ECLASS-VARIABLE: TMPFILES_OPTIONAL +# @ECLASS_VARIABLE: TMPFILES_OPTIONAL # @PRE_INHERIT # @DEFAULT_UNSET # @DESCRIPTION: diff --git a/eclass/tree-sitter-grammar.eclass b/eclass/tree-sitter-grammar.eclass index 18b42f15d62b..f1ec619be02c 100644 --- a/eclass/tree-sitter-grammar.eclass +++ b/eclass/tree-sitter-grammar.eclass @@ -29,7 +29,7 @@ DEPEND="dev-libs/tree-sitter" EXPORT_FUNCTIONS src_compile src_install -# @ECLASS-VARIABLE: TS_PV +# @ECLASS_VARIABLE: TS_PV # @PRE_INHERIT # @DEFAULT_UNSET # @DESCRIPTION: diff --git a/eclass/unpacker.eclass b/eclass/unpacker.eclass index de89cd7959a4..f6e83c53bf23 100644 --- a/eclass/unpacker.eclass +++ b/eclass/unpacker.eclass @@ -25,7 +25,7 @@ _UNPACKER_ECLASS=1 inherit toolchain-funcs -# @ECLASS-VARIABLE: UNPACKER_BZ2 +# @ECLASS_VARIABLE: UNPACKER_BZ2 # @USER_VARIABLE # @DEFAULT_UNSET # @DESCRIPTION: @@ -33,7 +33,7 @@ inherit toolchain-funcs # `pbzip2` and `bzip2`. Make sure your choice accepts the "-dc" options. # Note: this is meant for users to set, not ebuilds. -# @ECLASS-VARIABLE: UNPACKER_LZIP +# @ECLASS_VARIABLE: UNPACKER_LZIP # @USER_VARIABLE # @DEFAULT_UNSET # @DESCRIPTION: diff --git a/eclass/vala.eclass b/eclass/vala.eclass index 23a3ae1deb6c..1c38e54404e6 100644 --- a/eclass/vala.eclass +++ b/eclass/vala.eclass @@ -23,17 +23,17 @@ esac if [[ -z ${_VALA_ECLASS} ]] ; then _VALA_ECLASS=1 -# @ECLASS-VARIABLE: VALA_MIN_API_VERSION +# @ECLASS_VARIABLE: VALA_MIN_API_VERSION # @DESCRIPTION: # Minimum vala API version (e.g. 0.46). VALA_MIN_API_VERSION=${VALA_MIN_API_VERSION:-0.46} -# @ECLASS-VARIABLE: VALA_MAX_API_VERSION +# @ECLASS_VARIABLE: VALA_MAX_API_VERSION # @DESCRIPTION: # Maximum vala API version (e.g. 0.54). VALA_MAX_API_VERSION=${VALA_MAX_API_VERSION:-0.54} -# @ECLASS-VARIABLE: VALA_USE_DEPEND +# @ECLASS_VARIABLE: VALA_USE_DEPEND # @DEFAULT_UNSET # @DESCRIPTION: # USE dependencies that vala must be built with (e.g. vapigen). diff --git a/eclass/vdr-plugin-2.eclass b/eclass/vdr-plugin-2.eclass index 37708da0c35c..f8d5a18854ed 100644 --- a/eclass/vdr-plugin-2.eclass +++ b/eclass/vdr-plugin-2.eclass @@ -14,20 +14,20 @@ # @DESCRIPTION: # Eclass for easing maintenance of vdr plugin ebuilds -# @ECLASS-VARIABLE: VDRPLUGIN +# @ECLASS_VARIABLE: VDRPLUGIN # @OUTPUT_VARIABLE # @DESCRIPTION: # The name of the vdr plugin, plain name without "vdr-" or "plugin" prefix or suffix. # This variable is derived from ${PN} and is read-only for the ebuild. -# @ECLASS-VARIABLE: VDR_CONFD_FILE +# @ECLASS_VARIABLE: VDR_CONFD_FILE # @DEFAULT_UNSET # @DESCRIPTION: # A plugin config file can be specified through the $VDR_CONFD_FILE variable, it # defaults to ${FILESDIR}/confd. Each config file will be installed as e.g. # ${D}/etc/conf.d/vdr.${VDRPLUGIN} -# @ECLASS-VARIABLE: VDR_RCADDON_FILE +# @ECLASS_VARIABLE: VDR_RCADDON_FILE # @DEFAULT_UNSET # @DESCRIPTION: # Installing rc-addon files is basically the same as for plugin config files @@ -43,13 +43,13 @@ # # NOTE: rc-addon files must be valid shell scripts! -# @ECLASS-VARIABLE: GENTOO_VDR_CONDITIONAL +# @ECLASS_VARIABLE: GENTOO_VDR_CONDITIONAL # @DEFAULT_UNSET # @DESCRIPTION: # This is a hack for ebuilds like vdr-xineliboutput that want to # conditionally install a vdr-plugin -# @ECLASS-VARIABLE: PO_SUBDIR +# @ECLASS_VARIABLE: PO_SUBDIR # @DEFAULT_UNSET # @DESCRIPTION: # By default, translation are found in"${S}"/po but this diff --git a/eclass/verify-sig.eclass b/eclass/verify-sig.eclass index dadfd456e101..1d7c62d4dce2 100644 --- a/eclass/verify-sig.eclass +++ b/eclass/verify-sig.eclass @@ -51,7 +51,7 @@ if [[ ! ${_VERIFY_SIG_ECLASS} ]]; then IUSE="verify-sig" -# @ECLASS-VARIABLE: VERIFY_SIG_METHOD +# @ECLASS_VARIABLE: VERIFY_SIG_METHOD # @PRE_INHERIT # @DESCRIPTION: # Signature verification method to use. The allowed value are: @@ -76,7 +76,7 @@ case ${VERIFY_SIG_METHOD} in ;; esac -# @ECLASS-VARIABLE: VERIFY_SIG_OPENPGP_KEY_PATH +# @ECLASS_VARIABLE: VERIFY_SIG_OPENPGP_KEY_PATH # @DEFAULT_UNSET # @DESCRIPTION: # Path to key bundle used to perform the verification. This is required @@ -86,7 +86,7 @@ esac # NB: this variable is also used for non-OpenPGP signatures. The name # contains "OPENPGP" for historical reasons. -# @ECLASS-VARIABLE: VERIFY_SIG_OPENPGP_KEYSERVER +# @ECLASS_VARIABLE: VERIFY_SIG_OPENPGP_KEYSERVER # @DEFAULT_UNSET # @DESCRIPTION: # Keyserver used to refresh keys. If not specified, the keyserver @@ -95,7 +95,7 @@ esac # # Supported for OpenPGP only. -# @ECLASS-VARIABLE: VERIFY_SIG_OPENPGP_KEY_REFRESH +# @ECLASS_VARIABLE: VERIFY_SIG_OPENPGP_KEY_REFRESH # @USER_VARIABLE # @DESCRIPTION: # Attempt to refresh keys via WKD/keyserver. Set it to "yes" diff --git a/eclass/vim-spell.eclass b/eclass/vim-spell.eclass index 54bf6b879f7b..8acf29a5580d 100644 --- a/eclass/vim-spell.eclass +++ b/eclass/vim-spell.eclass @@ -76,32 +76,32 @@ _VIM_SPELL_ECLASS=1 SRC_URI="mirror://gentoo/${P}.tar.bz2" SLOT="0" -# @ECLASS-VARIABLE: VIM_SPELL_LANGUAGE +# @ECLASS_VARIABLE: VIM_SPELL_LANGUAGE # @DESCRIPTION: # This variable defines the language for the spell package being # installed. # The default value is "English". : ${VIM_SPELL_LANGUAGE:="English"} -# @ECLASS-VARIABLE: VIM_SPELL_LOCALE +# @ECLASS_VARIABLE: VIM_SPELL_LOCALE # @INTERNAL # @DESCRIPTION: # This variable defines the locale for the current ebuild. # The default value is ${PN} stripped of the "vim-spell-" string. : ${VIM_SPELL_LOCALE:="${PN/vim-spell-/}"} -# @ECLASS-VARIABLE: VIM_SPELL_DIRECTORY +# @ECLASS_VARIABLE: VIM_SPELL_DIRECTORY # @INTERNAL # @DESCRIPTION: # This variable defines the path to Vim spell files. : ${VIM_SPELL_DIRECTORY:="${EPREFIX}/usr/share/vim/vimfiles/spell/"} -# @ECLASS-VARIABLE: DESCRIPTION +# @ECLASS_VARIABLE: DESCRIPTION # @DESCRIPTION: # This variable defines the DESCRIPTION for Vim spell ebuilds. : ${DESCRIPTION:="vim spell files: ${VIM_SPELL_LANGUAGE} (${VIM_SPELL_LOCALE})"} -# @ECLASS-VARIABLE: HOMEPAGE +# @ECLASS_VARIABLE: HOMEPAGE # @DESCRIPTION: # This variable defines the HOMEPAGE for Vim spell ebuilds. : ${HOMEPAGE:="https://www.vim.org"} diff --git a/eclass/virtualx.eclass b/eclass/virtualx.eclass index 9d446cfdd36a..b7a25c897b4a 100644 --- a/eclass/virtualx.eclass +++ b/eclass/virtualx.eclass @@ -17,7 +17,7 @@ esac if [[ ! ${_VIRTUALX_ECLASS} ]]; then _VIRTUALX_ECLASS=1 -# @ECLASS-VARIABLE: VIRTUALX_REQUIRED +# @ECLASS_VARIABLE: VIRTUALX_REQUIRED # @PRE_INHERIT # @DESCRIPTION: # Variable specifying the dependency on xorg-server and xhost. @@ -28,7 +28,7 @@ _VIRTUALX_ECLASS=1 # into "kde? ( )" and add kde into IUSE. : ${VIRTUALX_REQUIRED:=test} -# @ECLASS-VARIABLE: VIRTUALX_DEPEND +# @ECLASS_VARIABLE: VIRTUALX_DEPEND # @OUTPUT_VARIABLE # @DESCRIPTION: # Standard dependencies string that is automatically added to BDEPEND diff --git a/eclass/waf-utils.eclass b/eclass/waf-utils.eclass index 411b19fcb71c..7945cc869eb6 100644 --- a/eclass/waf-utils.eclass +++ b/eclass/waf-utils.eclass @@ -22,7 +22,7 @@ case ${EAPI:-0} in *) die "EAPI=${EAPI} is not supported" ;; esac -# @ECLASS-VARIABLE: WAF_VERBOSE +# @ECLASS_VARIABLE: WAF_VERBOSE # @USER_VARIABLE # @DESCRIPTION: # Set to OFF to disable verbose messages during compilation @@ -69,7 +69,7 @@ waf-utils_src_configure() { [[ ${fail} ]] && die "Invalid use of waf-utils.eclass" - # @ECLASS-VARIABLE: WAF_BINARY + # @ECLASS_VARIABLE: WAF_BINARY # @DESCRIPTION: # Eclass can use different waf executable. Usually it is located in "${S}/waf". : ${WAF_BINARY:="${S}/waf"} diff --git a/eclass/webapp.eclass b/eclass/webapp.eclass index 7bdf28430b48..3c0dfc811ac6 100644 --- a/eclass/webapp.eclass +++ b/eclass/webapp.eclass @@ -20,20 +20,20 @@ EXPORT_FUNCTIONS pkg_postinst pkg_setup src_install pkg_prerm if [[ -z ${_WEBAPP_ECLASS} ]]; then _WEBAPP_ECLASS=1 -# @ECLASS-VARIABLE: WEBAPP_DEPEND +# @ECLASS_VARIABLE: WEBAPP_DEPEND # @DESCRIPTION: # An ebuild should use WEBAPP_DEPEND if a custom DEPEND needs to be built, most # notably in combination with WEBAPP_OPTIONAL. WEBAPP_DEPEND="app-admin/webapp-config" -# @ECLASS-VARIABLE: WEBAPP_NO_AUTO_INSTALL +# @ECLASS_VARIABLE: WEBAPP_NO_AUTO_INSTALL # @PRE_INHERIT # @DESCRIPTION: # An ebuild sets this to `yes' if an automatic installation and/or upgrade is # not possible. The ebuild should overwrite pkg_postinst() and explain the # reason for this BEFORE calling webapp_pkg_postinst(). -# @ECLASS-VARIABLE: WEBAPP_OPTIONAL +# @ECLASS_VARIABLE: WEBAPP_OPTIONAL # @PRE_INHERIT # @DESCRIPTION: # An ebuild sets this to `yes' to make webapp support optional, in which case diff --git a/eclass/wxwidgets.eclass b/eclass/wxwidgets.eclass index 273e6ac72d41..afc4aae5f7d3 100644 --- a/eclass/wxwidgets.eclass +++ b/eclass/wxwidgets.eclass @@ -29,7 +29,7 @@ esac if [[ -z ${_WXWIDGETS_ECLASS} ]]; then _WXWIDGETS_ECLASS=1 -# @ECLASS-VARIABLE: WX_GTK_VER +# @ECLASS_VARIABLE: WX_GTK_VER # @PRE_INHERIT # @REQUIRED # @DESCRIPTION: diff --git a/eclass/xdg-utils.eclass b/eclass/xdg-utils.eclass index a834d5d3accf..ae2b71cd2495 100644 --- a/eclass/xdg-utils.eclass +++ b/eclass/xdg-utils.eclass @@ -22,13 +22,13 @@ case ${EAPI} in *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;; esac -# @ECLASS-VARIABLE: DESKTOP_DATABASE_DIR +# @ECLASS_VARIABLE: DESKTOP_DATABASE_DIR # @INTERNAL # @DESCRIPTION: # Directory where .desktop files database is stored : ${DESKTOP_DATABASE_DIR="/usr/share/applications"} -# @ECLASS-VARIABLE: MIMEINFO_DATABASE_DIR +# @ECLASS_VARIABLE: MIMEINFO_DATABASE_DIR # @INTERNAL # @DESCRIPTION: # Directory where .desktop files database is stored diff --git a/eclass/xemacs-packages.eclass b/eclass/xemacs-packages.eclass index 99c6b63014c7..2440ef835291 100644 --- a/eclass/xemacs-packages.eclass +++ b/eclass/xemacs-packages.eclass @@ -9,13 +9,13 @@ # @DESCRIPTION: # This eclass supports ebuilds for packages distributed by XEmacs. -# @ECLASS-VARIABLE: XEMACS_PKG_CAT +# @ECLASS_VARIABLE: XEMACS_PKG_CAT # @REQUIRED # @DESCRIPTION: # The package category that the package is in. Can be either standard, # mule, or contrib. -# @ECLASS-VARIABLE: XEMACS_EXPERIMENTAL +# @ECLASS_VARIABLE: XEMACS_EXPERIMENTAL # @PRE_INHERIT # @DEFAULT_UNSET # @DESCRIPTION: diff --git a/eclass/xorg-3.eclass b/eclass/xorg-3.eclass index d5dadbad3f54..e908d51c669f 100644 --- a/eclass/xorg-3.eclass +++ b/eclass/xorg-3.eclass @@ -42,7 +42,7 @@ if [[ ${CATEGORY} = media-fonts ]]; then esac fi -# @ECLASS-VARIABLE: XORG_MULTILIB +# @ECLASS_VARIABLE: XORG_MULTILIB # @PRE_INHERIT # @DESCRIPTION: # If set to 'yes', the multilib support for package will be enabled. Set @@ -68,21 +68,21 @@ EXPORT_FUNCTIONS ${EXPORTED_FUNCTIONS} IUSE="" -# @ECLASS-VARIABLE: XORG_EAUTORECONF +# @ECLASS_VARIABLE: XORG_EAUTORECONF # @PRE_INHERIT # @DESCRIPTION: # If set to 'yes' and configure.ac exists, eautoreconf will run. Set # before inheriting this eclass. : ${XORG_EAUTORECONF:="no"} -# @ECLASS-VARIABLE: XORG_BASE_INDIVIDUAL_URI +# @ECLASS_VARIABLE: XORG_BASE_INDIVIDUAL_URI # @PRE_INHERIT # @DESCRIPTION: # Set up SRC_URI for individual modular releases. If set to an empty # string, no SRC_URI will be provided by the eclass. : ${XORG_BASE_INDIVIDUAL_URI="https://www.x.org/releases/individual"} -# @ECLASS-VARIABLE: XORG_MODULE +# @ECLASS_VARIABLE: XORG_MODULE # @PRE_INHERIT # @DESCRIPTION: # The subdirectory to download source from. Possible settings are app, @@ -103,7 +103,7 @@ if [[ ${XORG_MODULE} == auto ]]; then esac fi -# @ECLASS-VARIABLE: XORG_PACKAGE_NAME +# @ECLASS_VARIABLE: XORG_PACKAGE_NAME # @PRE_INHERIT # @DESCRIPTION: # For git checkout the git repository might differ from package name. @@ -112,7 +112,7 @@ fi HOMEPAGE="https://www.x.org/wiki/ https://gitlab.freedesktop.org/xorg/${XORG_MODULE}${XORG_PACKAGE_NAME}" -# @ECLASS-VARIABLE: XORG_TARBALL_SUFFIX +# @ECLASS_VARIABLE: XORG_TARBALL_SUFFIX # @PRE_INHERIT # @DESCRIPTION: # Most X11 projects provide tarballs as tar.bz2 or tar.xz. This eclass defaults @@ -162,7 +162,7 @@ if [[ ${FONT} == yes ]]; then >=x11-apps/mkfontscale-1.2.0" BDEPEND+=" x11-apps/bdftopcf" - # @ECLASS-VARIABLE: FONT_DIR + # @ECLASS_VARIABLE: FONT_DIR # @PRE_INHERIT # @DESCRIPTION: # If you're creating a font package and the suffix of PN is not equal to @@ -179,7 +179,7 @@ if [[ ${FONT} == yes ]]; then fi BDEPEND+=" virtual/pkgconfig" -# @ECLASS-VARIABLE: XORG_DRI +# @ECLASS_VARIABLE: XORG_DRI # @PRE_INHERIT # @DESCRIPTION: # Possible values are "always" or the value of the useflag DRI capabilities @@ -213,7 +213,7 @@ if [[ ${PN} == xf86-video-* || ${PN} == xf86-input-* ]]; then fi -# @ECLASS-VARIABLE: XORG_DOC +# @ECLASS_VARIABLE: XORG_DOC # @PRE_INHERIT # @DESCRIPTION: # Possible values are "always" or the value of the useflag doc packages |