summaryrefslogtreecommitdiff
path: root/eclass
Commit message (Collapse)AuthorAgeFilesLines
* kernel-install.eclass: print uname() info after testGeorgy Yakovlev2021-07-071-1/+14
| | | | | Closes: https://github.com/gentoo/gentoo/pull/21549 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
* eclass/myspell-r2.eclass: standardise error messageConrad Kostecki2021-07-071-4/+1
| | | | Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
* eclass/myspell-r2.eclass: add EAPI 8 supportConrad Kostecki2021-07-071-3/+3
| | | | | | This change adds EAPI 8 support. No further changes required. Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
* eclass/aspell-dict-r1.eclass: standardise error messageConrad Kostecki2021-07-071-4/+1
| | | | Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
* eclass/aspell-dict-r1.eclass: add EAPI 8 supportConrad Kostecki2021-07-071-2/+2
| | | | | | This change adds EAPI 8 support. No further changes required. Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
* lua.eclass: clean up the eapi testWilliam Hubbs2021-07-061-7/+2
| | | | Signed-off-by: William Hubbs <williamh@gentoo.org>
* lua-utils.eclass: clean up the eapi testWilliam Hubbs2021-07-061-7/+2
| | | | Signed-off-by: William Hubbs <williamh@gentoo.org>
* lua-single.eclass: clean up the eapi testWilliam Hubbs2021-07-061-7/+2
| | | | Signed-off-by: William Hubbs <williamh@gentoo.org>
* go-module.eclass: add eapi 8 supportWilliam Hubbs2021-07-061-4/+4
| | | | Signed-off-by: William Hubbs <williamh@gentoo.org>
* eclass/selinux-policy-2: Skip unconfined on MCS/MLS policy typesJonathan Davies2021-07-051-4/+9
| | | | | | Closes: https://github.com/gentoo/gentoo/pull/20308 Signed-off-by: Jonathan Davies <jpds@protonmail.com> Signed-off-by: Jason Zaman <perfinion@gentoo.org>
* haskell-cabal.eclass: add SUPPORTED_EAPIS {0..7} annotationSergei Trofimovich2021-07-051-1/+3
| | | | Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* ghc-package.eclass: drop support for pre-ghc-8 compilersSergei Trofimovich2021-07-051-32/+7
| | | | Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* ghc-package.eclass: add SUPPORTED_EAPIS {0..7} annotationSergei Trofimovich2021-07-051-1/+3
| | | | Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* l10n.eclass: Mark for removalUlrich Müller2021-07-041-0/+12
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* java-pkg-simple.eclass: added support for running only selected test classesMiroslav Šulc2021-07-041-19/+34
| | | | Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
* l10n.eclass: Mark as deprecatedUlrich Müller2021-07-031-0/+1
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* plocale.eclass: Copied from l10n.eclassUlrich Müller2021-07-031-0/+169
| | | | | | | | | Ever since the L10N USE_EXPAND variable was introduced, the name of this eclass was somewhat confusing, because it operates on LINGUAS and is unrelated to L10N. Take the EAPI 8 bump as an opportunity to rename the eclass. Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* cargo.eclass: make CRATES pre-inheritGeorgy Yakovlev2021-07-021-3/+21
| | | | | | | also make first arg to cargo_crate_uris optional die if CRATES variable is not defined in EAPI=8 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
* cargo.eclass: make CRATES an eclass variableGeorgy Yakovlev2021-07-021-0/+17
| | | | | | | it's needed to be present in all ebuilds for crate auditing tools to work properly. Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
* cargo.eclass: support EAPI=8, misc changesGeorgy Yakovlev2021-07-021-13/+26
| | | | | | | | remove cargo-snapshot* unpacker, it was needed for separate dev-util/cargo we used to have. Bug: https://bugs.gentoo.org/715890 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
* java-utils-2.eclass: added support for parsing args to testsMiroslav Šulc2021-07-031-4/+20
| | | | Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
* verify-sig.eclass: Enable EAPI 8 supportMichał Górny2021-07-021-11/+5
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* java-utils-2.eclass: fixed a typoMiroslav Šulc2021-07-021-1/+1
| | | | Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
* meson-multilib.eclass: EAPI 8 supportDavid Michael2021-07-021-6/+6
| | | | | | Signed-off-by: David Michael <fedora.dm0@gmail.com> Signed-off-by: Mike Gilbert <floppym@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/21440
* multilib-minimal.eclass: EAPI 8 supportDavid Michael2021-07-021-6/+5
| | | | | | | Also drop EAPI 4 to match multilib-build.eclass. Signed-off-by: David Michael <fedora.dm0@gmail.com> Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* multilib-build.eclass: EAPI 8 supportDavid Michael2021-07-021-11/+10
| | | | | | | Also drop EAPI 4 to match multilib.eclass. Signed-off-by: David Michael <fedora.dm0@gmail.com> Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* gnome.org.eclass: EAPI 8 supportDavid Michael2021-07-021-4/+4
| | | | | Signed-off-by: David Michael <fedora.dm0@gmail.com> Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* xdg-utils.eclass: EAPI 8 supportDavid Michael2021-07-021-21/+17
| | | | | | | | Also standardize on one conditional block spacing syntax, drop some redundant local variables, and remove banned EAPIs. Signed-off-by: David Michael <fedora.dm0@gmail.com> Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* udev.eclass: EAPI 8 supportDavid Michael2021-07-021-14/+11
| | | | | | | This also drops EAPIs < 5 to match toolchain-funcs.eclass. Signed-off-by: David Michael <fedora.dm0@gmail.com> Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* systemd.eclass: EAPI 8 supportDavid Michael2021-07-021-27/+17
| | | | | | | | | This also drops EAPIs < 5 to match toolchain-funcs.eclass. (Its support for EAPI 0 is an implementation detail so crossdev can source it, which is not relevant here.) Signed-off-by: David Michael <fedora.dm0@gmail.com> Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* python-utils-r1.eclass: Pass -Wdefault to epytest to avoid -WerrorMichał Górny2021-07-021-0/+3
| | | | | | | | | | | | | | | Make pytest pass -Wdefault in order to override upstream default warning options that commonly include -Werror. This has often caused tests to start failing due to new deprecation warnings introduced in dependencies, or block new implementations due to harmless deprecation warnings. A side effect of this is that we are overriding all warning options used by upstream. This could e.g. cause more warnings to be reported (when upstream ignores some of them). This might also break badly written tests (e.g. when they rely on exceptions to catch warnings). Signed-off-by: Michał Górny <mgorny@gentoo.org>
* findlib.eclass: conditionally RDEPENDAlfredo Tupone2021-07-011-0/+1
| | | | Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
* eclass/docs.eclass: invert (B)DEPEND if conditionAndrew Ammerlaan2021-07-011-1/+1
| | | | | | | | | As suggested by Soap (Thank You!) Makes this part more future proof, and removes the "," that shouldn't have been there. Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
* eclass/kernel-2.eclass: Support CPU OPT Patch in kernels >= 5.13Mike Pagano2021-06-301-1/+2
| | | | | | Closes: https://bugs.gentoo.org/799272 Signed-off-by: Mike Pagano <mpagano@gentoo.org>
* eclass/mate.eclass: Add EAPI 7 supportAdam Feldman2021-06-301-3/+7
| | | | | Closes: https://bugs.gentoo.org/770277 Signed-off-by: Adam Feldman <NP-Hardass@gentoo.org>
* eclass/mate-desktop.org.eclass: Add EAPI 7 supportAdam Feldman2021-06-301-4/+4
| | | | | Closes: https://bugs.gentoo.org/770277 Signed-off-by: Adam Feldman <NP-Hardass@gentoo.org>
* eclass/docs.eclass: EAPI 8 supportAndrew Ammerlaan2021-06-301-4/+4
| | | | | | Add support for EAPI 8, and update the PYTHON_COMPAT var in example. Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
* systemd.eclass: drop deprecated tmpfiles functionsDavid Michael2021-06-291-65/+0
| | | | | | | Closes: https://bugs.gentoo.org/740638 Signed-off-by: David Michael <fedora.dm0@gmail.com> Signed-off-by: Mike Gilbert <floppym@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/21462
* toolchain-glibc.eclass: migrate to tmpfiles.eclassDavid Michael2021-06-291-3/+5
| | | | | | | The systemd_newtmpfilesd function is deprecated. Signed-off-by: David Michael <fedora.dm0@gmail.com> Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* eclass/prefix: add support for EAPI=8Fabian Groffen2021-06-291-2/+2
| | | | Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* distutils-r1.eclass: Check for _all phase mismatchMichał Górny2021-06-291-0/+16
| | | | | | | Check for the mistake of calling distutils-r1_python_*_all() from non-all python_*() subphase. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* python-utils-r1.eclass: Remove _python_ln_relMichał Górny2021-06-291-40/+0
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* distutils-r1.eclass: Use 'dosym -r' in EAPI 8Michał Górny2021-06-291-2/+4
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* distutils-r1.eclass: Eliminate path arg to ..._wrap_scriptsMichał Górny2021-06-291-13/+12
| | | | | | | Eliminate the path argument to _distutils-r1_wrap_scripts, and inline the use of ${D} instead. This should make the code less confusing. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* distutils-r1.eclass: Defer wrapping scripts until after root-mergeMichał Górny2021-06-291-1/+1
| | | | | | | | Defer wrapping installed Python scripts until the files are merged from impl-specific directory into ${ED}. This should clear the way into using 'dosym -r'. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* distutils-r1.eclass: fix distutils_enable_tests (${PYTHON_MULTI_USEDEP} usage)Sam James2021-06-291-1/+1
| | | | | | | | We banned PYTHON_MULTI_USEDEP in EAPI 8, so this internal usage causes breakage when using distutils_enable_tests in an EAPI 8 ebuild. Reported-by: Marco Scardovi (scardracs) <marco@scardovi.com> Signed-off-by: Sam James <sam@gentoo.org>
* meson.eclass: prefix MESON_DEPEND with an underscoreMike Gilbert2021-06-281-3/+3
| | | | | | Avoids a pkgcheck warning about undocumented variables. Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* eapi7-ver.eclass: update EAPI 8 error messageDavid Michael2021-06-281-2/+2
| | | | | | Signed-off-by: David Michael <fedora.dm0@gmail.com> Signed-off-by: Mike Gilbert <floppym@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/21409
* meson.eclass: EAPI 8 supportDavid Michael2021-06-281-16/+9
| | | | | Signed-off-by: David Michael <fedora.dm0@gmail.com> Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* ninja-utils.eclass: EAPI 8 supportDavid Michael2021-06-281-11/+9
| | | | | | | Also drop support for EAPIs < 5 to match multiprocessing.eclass. Signed-off-by: David Michael <fedora.dm0@gmail.com> Signed-off-by: Mike Gilbert <floppym@gentoo.org>