summaryrefslogtreecommitdiff
path: root/eclass
Commit message (Collapse)AuthorAgeFilesLines
* optfeature.eclass: add pkg_postinst() { } to example code snippetsJoonas Niilola2021-04-151-0/+4
| | | | | | - to make it more understandable where optfeature is supposed to be used. Signed-off-by: Joonas Niilola <juippis@gentoo.org>
* Revert "autotools.eclass: add explicit GNU awk dependency"Lars Wendler2021-04-121-3/+1
| | | | | | | This reverts commit 307c855dc6d7842098fae8738a7a5228670a71f6. Change was done without maintainer consent Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
* Revert "autotools.eclass: rename configure.in to configure.ac on new EAPIs"Lars Wendler2021-04-121-13/+3
| | | | | | | This reverts commit fe3f65790fabb6e98d0b851d3013714c7706eccc. Change was done without maintainer consent Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
* Revert "autotools.eclass: more case-style changes for consistency"Lars Wendler2021-04-121-3/+3
| | | | | | | This reverts commit 45afdd17d7eecc191399315c88bc4b67aa796d32. Change was done without maintainer consent Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
* waf-utils.eclass: mark WAF_VERBOSE as @USER_VARIABLESam James2021-04-121-1/+2
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* scons-utils.eclass: mark SCONSOPTS, EXTRA_ESCONS as @USER_VARIABLESam James2021-04-121-1/+3
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* epatch.eclass: mark EPATCH_USER_SOURCE as @USER_VARIABLESam James2021-04-121-1/+2
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* flag-o-matic.eclass: Fix eclassdocAndreas Sturmlechner2021-04-111-1/+14
| | | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> Signed-off-by: Sam James <sam@gentoo.org>
* flag-o-matic.eclass: Make test-flags-PROG() internalAndreas Sturmlechner2021-04-111-5/+23
| | | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> Signed-off-by: Sam James <sam@gentoo.org>
* flag-o-matic.eclass: Make test-flag-PROG() internalAndreas Sturmlechner2021-04-111-5/+23
| | | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> Signed-off-by: Sam James <sam@gentoo.org>
* flag-o-matic.eclass: Make setup-allowed-flags() internalAndreas Sturmlechner2021-04-111-1/+15
| | | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> Signed-off-by: Sam James <sam@gentoo.org>
* flag-o-matic.eclass: SUPPORTED_EAPIS: 5,6,7; drop eutils, multilibAndreas Sturmlechner2021-04-111-2/+11
| | | | | | | | - eutils was only used for eqawarn in old EAPI - multilib usage unknown, but is inherited by toolchain-funcs anyway Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> Signed-off-by: Sam James <sam@gentoo.org>
* autotools.eclass: more case-style changes for consistencySam James2021-04-111-3/+3
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* autotools.eclass: drop obsolete EAPI 0 compatibility codeSam James2021-04-111-16/+9
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* autotools.eclass: fix EAPI support logic in config_rpath_updateSam James2021-04-111-1/+1
| | | | | | ${EPREFIX} doesn't exist pre-EAPI 3, so let's make that clear. Signed-off-by: Sam James <sam@gentoo.org>
* autotools.eclass: use gnuconfig.eclass for finding latest config.{guess, sub}Sam James2021-04-111-10/+2
| | | | | | No need to duplicate logic. Signed-off-by: Sam James <sam@gentoo.org>
* gnuconfig.eclass: use BDEPEND, BROOT where available (drop support for EAPI <5)Sam James2021-04-111-6/+25
| | | | | | | | | EPREFIX is only available in > EAPI 2 but let's take the opportuinty to clean up in general. We don't want to keep worrying about *very* old EAPI cases, especially given other eclasses either barely - or don't - support it. Signed-off-by: Sam James <sam@gentoo.org>
* gnuconfig.eclass: provide basic @ECLASS block, docsSam James2021-04-111-10/+33
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* autotools.eclass: rename configure.in to configure.ac on new EAPIsSam James2021-04-111-3/+13
| | | | | | | | | | automake is eventually going to fail when it detects configure.in. Don't do this immediately - instead only on new EAPIs to avoid breaking existing ebuilds. Bug: https://bugs.gentoo.org/426262 Signed-off-by: Sam James <sam@gentoo.org>
* autotools.eclass: add explicit GNU awk dependencySam James2021-04-111-1/+3
| | | | | | | | autotools_check_macro_val specifically requires GNU awk (sys-apps/gawk) rather than any awk (virtual/awk). Closes: https://bugs.gentoo.org/584254 Signed-off-by: Sam James <sam@gentoo.org>
* autotools.eclass: document AUTOTOOLS_DEPENDSam James2021-04-111-0/+5
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* autotools.eclass: use same ${WANT_AUTOCONF} comparison test throughoutSam James2021-04-111-1/+1
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* autotools.eclass: explicitly blank and mark variables as @DEFAULT_UNSETSam James2021-04-111-0/+4
| | | | | | Provides consistency with existing style. Signed-off-by: Sam James <sam@gentoo.org>
* autotools.eclass: convert phase test to EBUILD_PHASE_FUNCSam James2021-04-111-2/+2
| | | | | | Introduced in EAPI 5. Signed-off-by: Sam James <sam@gentoo.org>
* autotools.eclass: drop support for < EAPI 5Sam James2021-04-111-3/+3
| | | | | | | Needed for a subsequent change. < EAPI 5 is no longer in ::gentoo (since December). Signed-off-by: Sam James <sam@gentoo.org>
* autotools.eclass: consistent variable referencesSam James2021-04-111-9/+9
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* autotools.eclass: consistently use ${ECLASS}, not "autotools.eclass"Sam James2021-04-111-2/+2
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* autotools.eclass: use consistent 'case' styleSam James2021-04-111-14/+15
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* autotools.eclass: add @DESCRIPTION for _at_uses_pkgSam James2021-04-111-0/+1
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* autotools.eclass: convert ewarn to eqawarnSam James2021-04-111-1/+1
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* autotools.eclass: inherit eutils for < EAPI 7 for eqawarnSam James2021-04-111-1/+5
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* autotools-multilib.eclass: Remove last-rited eclassAndreas Sturmlechner2021-04-111-93/+0
| | | | | Bug: https://bugs.gentoo.org/766791 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* perl-module.eclass: Fix M::B and M::B::T QA check for EAPI=7Andreas K. Hüttel2021-04-101-13/+32
| | | | Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
* llvm.eclass: modernise Clang versions in exampleSam James2021-04-101-7/+7
| | | | | | | | We're already regenerating cache for the cmake-utils reference in the documentation, so let's refresh the Clang versions in the example while we're here. Signed-off-by: Sam James <sam@gentoo.org>
* llvm.eclass: drop cmake-utils referencesSam James2021-04-101-2/+2
| | | | | | | May be confusing as cmake-utils is deprecated and we're now using just the cmake eclass. Signed-off-by: Sam James <sam@gentoo.org>
* python-utils-r1.eclass: add note when dropping EAPI supportSam James2021-04-101-0/+3
| | | | | | | | | | | | | We need to remember to update metadata/install-qa-check.d/60python-pyc in future to disable now non-applicable QA checks. If we don't, we end up breaking older EAPI installs in general. See: 1137a7ecce67c48fc9a69ab320c6156c40366122 See: bdcfb21ca5a84567e9c9d6a456374a05e798f78e Bug: https://bugs.gentoo.org/704286 Bug: https://bugs.gentoo.org/781878 Signed-off-by: Sam James <sam@gentoo.org>
* python-utils-r1.eclass: Remove support for EAPIs prior to 6Michał Górny2021-04-091-33/+13
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* python-any-r1.eclass: Remove support for EAPIs prior to 6Michał Górny2021-04-091-3/+3
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* python-single-r1.eclass: Remove support for EAPIs prior to 6Michał Górny2021-04-091-4/+3
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* python-r1.eclass: Remove support for EAPIs prior to 6Michał Górny2021-04-091-5/+3
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* distutils-r1.eclass: Remove support for EAPIs prior to 6Michał Górny2021-04-091-72/+12
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* python-utils-r1.eclass: Include -l in epytestMichał Górny2021-04-091-1/+10
| | | | | | | Add '-l' to epytest, in order to improve tracebacks by including the values of local variables. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* base.eclass: last-rite eclass (mark as @DEAD)Sam James2021-04-091-1/+2
| | | | | | | | | Removal on 2021-05-09. Please port to general eclass functions/helpers. See linked tracker bug for info. Closes: https://bugs.gentoo.org/497022 Signed-off-by: Sam James <sam@gentoo.org>
* games.eclass: last-rite eclass (mark as @DEAD)Sam James2021-04-091-1/+2
| | | | | | Removal on 9th May 2021. Signed-off-by: Sam James <sam@gentoo.org>
* font-ebdftopcf.eclass: fix eclassdocDavid Seifert2021-04-051-1/+1
| | | | Signed-off-by: David Seifert <soap@gentoo.org>
* font-ebdftopcf.eclass: ModerniseDavid Seifert2021-04-051-21/+31
| | | | | Closes: https://github.com/gentoo/gentoo/pull/20261 Signed-off-by: David Seifert <soap@gentoo.org>
* eclass/ros-catkin.eclass: fix EROOT misuseAlexis Ballier2021-04-051-1/+1
| | | | | Closes: https://bugs.gentoo.org/778809 Signed-off-by: Alexis Ballier <aballier@gentoo.org>
* optfeature.eclass: Introduce default header and optfeature_header()Andreas Sturmlechner2021-04-041-1/+55
| | | | | | | | | | | | Before this change, optfeature() would print a list of optional dependencies, or nothing if deps are installed. Ebuilds commonly print their own elog ahead of optfeature, which then may not be followed up by any list at all. optfeature_header() will set a custom header or reset to default by calling it without argument, which is only printed if any follup-up optfeature is about to list a dependency. Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* findlib.eclass: minor style changesSam James2021-04-041-7/+6
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* dune.eclass: change case style, remove already unsupported EAPIsSam James2021-04-041-6/+11
| | | | Signed-off-by: Sam James <sam@gentoo.org>