summaryrefslogtreecommitdiff
path: root/eclass
Commit message (Collapse)AuthorAgeFilesLines
* elisp-common.eclass: Use "==" in tests throughoutUlrich Müller2021-04-191-3/+3
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* elisp-common.eclass: Drop support for EAPI 4Ulrich Müller2021-04-191-3/+4
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* elisp.eclass: Drop support for EAPI 4 and 5Ulrich Müller2021-04-191-18/+8
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* elisp-common.eclass: Drop deprecated elisp-need-emacs()Ulrich Müller2021-04-191-21/+0
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* elisp-common.eclass: Add timeout to version detectionUlrich Müller2021-04-191-2/+4
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* dev-lang/vala: Version bump to 0.52.2Matt Turner2021-04-171-2/+2
| | | | Signed-off-by: Matt Turner <mattst88@gentoo.org>
* optfeature.eclass: fix indentations in code examplesJoonas Niilola2021-04-171-8/+8
| | | | Signed-off-by: Joonas Niilola <juippis@gentoo.org>
* readme.gentoo.eclass: Mark @DEADAndreas Sturmlechner2021-04-161-0/+1
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* 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>