diff options
author | Sam James <sam@gentoo.org> | 2021-03-28 04:40:46 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-03-31 03:02:35 +0100 |
commit | ab0730612d991bffc71d474510e463b2d89fe8cc (patch) | |
tree | cbb0ad207ea0b6c4818c03bfab7f059e0d95c040 /eclass/ant-tasks.eclass | |
parent | alternatives.eclass: explicitly mark as maintainer-needed (diff) | |
download | gentoo-ab0730612d991bffc71d474510e463b2d89fe8cc.tar.gz gentoo-ab0730612d991bffc71d474510e463b2d89fe8cc.tar.bz2 gentoo-ab0730612d991bffc71d474510e463b2d89fe8cc.zip |
ant-tasks.eclass: explicitly mark ANT_TASK_*VER as @PRE_INHERIT
They manage dependencies and the description clearly states
they should be used before inherit.
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'eclass/ant-tasks.eclass')
-rw-r--r-- | eclass/ant-tasks.eclass | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/eclass/ant-tasks.eclass b/eclass/ant-tasks.eclass index 42f801a84d70..b03f3e4aa367 100644 --- a/eclass/ant-tasks.eclass +++ b/eclass/ant-tasks.eclass @@ -1,4 +1,4 @@ -# Copyright 2007-2020 Gentoo Authors +# Copyright 2007-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # @ECLASS: ant-tasks.eclass @@ -33,12 +33,14 @@ inherit java-pkg-2 java-ant-2 EXPORT_FUNCTIONS src_unpack src_compile src_install # @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 +# @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. @@ -60,12 +62,14 @@ ANT_TASK_NAME="${PN#ant-}" ANT_TASK_DEPNAME=${ANT_TASK_DEPNAME-${ANT_TASK_NAME}} # @ECLASS-VARIABLE: ANT_TASK_DISABLE_VM_DEPS +# @PRE_INHERIT # @DEFAULT_UNSET # @DESCRIPTION: # If set, no JDK/JRE deps are added. # @VARIABLE: ANT_TASK_PV # @INTERNAL +# @DESCRIPTION: # Version of ant-core this task is intended to register and thus load with. ANT_TASK_PV="${PV}" |