summaryrefslogtreecommitdiff
path: root/eclass
Commit message (Collapse)AuthorAgeFilesLines
* linux-mod.eclass: Remove incorrect INTERNAL tagsMike Pagano2022-05-181-2/+0
| | | | Signed-off-by: Mike Pagano <mpagano@gentoo.org>
* linux-mod.eclass: Documentation updatesMike Pagano2022-05-181-33/+33
| | | | | | | Document functions which did not have any documentation or were not formatted to gentoo specifications Signed-off-by: Mike Pagano <mpagano@gentoo.org>
* linux-mod.eclass: Remove internal function not used since 2005Mike Pagano2022-05-181-44/+0
| | | | Signed-off-by: Mike Pagano <mpagano@gentoo.org>
* gstreamer-meson.eclass: Fix typosMatt Turner2022-05-171-2/+2
| | | | Signed-off-by: Matt Turner <mattst88@gentoo.org>
* gstreamer.eclass: Fix typosMatt Turner2022-05-171-3/+3
| | | | Signed-off-by: Matt Turner <mattst88@gentoo.org>
* mozcoreconf-v5.eclass: [QA] drop (very) stale GCC version checksSam James2022-05-171-14/+6
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* multilib.eclass: Avoid reserved variable namesUlrich Müller2022-05-171-6/+6
| | | | | | | Names that begin with __ are reserved for package manager use. Closes: https://bugs.gentoo.org/843722 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* user.eclass: Avoid reserved function nameUlrich Müller2022-05-161-8/+8
| | | | | | | | Names that contain "ebuild" are reserved for package manager use. Closes: https://bugs.gentoo.org/843707 Signed-off-by: Ulrich Müller <ulm@gentoo.org> Signed-off-by: Sam James <sam@gentoo.org>
* toolchain-funcs.eclass: document proper tc-check-openmp useDavid Seifert2022-05-161-0/+13
| | | | | | Signed-off-by: David Seifert <soap@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/25498 Signed-off-by: Sam James <sam@gentoo.org>
* toolchain-funcs.eclass: deprecate tc-has-openmpDavid Seifert2022-05-161-4/+15
| | | | | Signed-off-by: David Seifert <soap@gentoo.org> Signed-off-by: Sam James <sam@gentoo.org>
* ruby-ng.eclass: fgrep -> grep -FSam James2022-05-161-1/+1
| | | | | | Deprecated for a while but newer grep emits deprecation warnings. Signed-off-by: Sam James <sam@gentoo.org>
* haskell-cabal.eclass: egrep -> grep -ESam James2022-05-161-3/+3
| | | | | | Deprecated for a while but newer grep emits deprecation warnings. Signed-off-by: Sam James <sam@gentoo.org>
* epatch.eclass: egrep -> grep -ESam James2022-05-161-3/+3
| | | | | | Deprecated for a while but newer grep emits deprecation warnings. Signed-off-by: Sam James <sam@gentoo.org>
* autotools.eclass: egrep -> grep -ESam James2022-05-161-1/+1
| | | | | | Deprecated for a while but newer grep emits deprecation warnings. Signed-off-by: Sam James <sam@gentoo.org>
* linux-info.eclass: Documentation updatesMike Pagano2022-05-161-5/+30
| | | | Signed-off-by: Mike Pagano <mpagano@gentoo.org>
* eclass/aspell-dict-r1.eclass: add which to BDEPENDConrad Kostecki2022-05-141-0/+1
| | | | | Closes: https://bugs.gentoo.org/844094 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
* inux-info.eclass: Remove local function.Calling code removed on Aug 3,2010Mike Pagano2022-05-131-20/+0
| | | | | | | | | | This function was only called locally and the last use was almost 12 years ago See: https://gitlab.com/rindeal/gentoo-cvs-history-archive/-/commit/1715ad cd9e404075340e5a5ed82f88928feeffd9 Signed-off-by: Mike Pagano <mpagano@gentoo.org>
* toolchain.eclass: start work on eclassdocsSam James2022-05-131-6/+54
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* toolchain.eclass: followup style tweaksSam James2022-05-131-6/+12
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* toolchain.eclass: style cleanupsSam James2022-05-131-216/+278
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* toolchain.eclass: filter -fsanitize=*Sam James2022-05-121-0/+2
| | | | | | Doesn't make any sense for building GCC. Signed-off-by: Sam James <sam@gentoo.org>
* xorg-3.eclass: Don't indent eclass documentationUlrich Müller2022-05-121-11/+13
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* waf-utils.eclass: Don't indent eclass documentationUlrich Müller2022-05-121-4/+6
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* ruby-fakegem.eclass: Don't indent eclass documentationUlrich Müller2022-05-121-3/+3
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* mercurial.eclass: Don't indent eclass documentationUlrich Müller2022-05-121-4/+4
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* kde.org.eclass: Don't indent eclass documentationUlrich Müller2022-05-121-9/+11
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* check-reqs.eclass: Don't indent eclass documentationUlrich Müller2022-05-121-6/+7
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* linux-mod.eclass: Fix function call change from portage to pkgmgrMike Pagano2022-05-121-1/+1
| | | | | | | | | This change is to comply with the linux-info.eclass change of the function name from set_arch_to_portage to set_arch_to_pkgmgr https://bugs.gentoo.org/843686 Signed-off-by: Mike Pagano <mpagano@gentoo.org>
* linux-info.eclass: Fix func name to comply with pms, dep old with deadlineMike Pagano2022-05-121-1/+17
| | | | | | | | | | | According to PMS certain words are reserved for package manager use and may not be used or relied upon by ebuilds. See: https://projects.gentoo.org/pms/8/pms.html#x1-13700012.3.17 Closes: https://bugs.gentoo.org/843686 Signed-off-by: Mike Pagano <mpagano@gentoo.org>
* kernel-2.eclass: Fix func name to comply with pms, deprecate, old with deadlineMike Pagano2022-05-121-1/+10
| | | | | | | | | | | According to PMS certain words are reserved for package manager use and may not be used or relied upon by ebuilds. See: https://projects.gentoo.org/pms/8/pms.html#x1-13700012.3.17 Closes: https://bugs.gentoo.org/843674 Signed-off-by: Mike Pagano <mpagano@gentoo.org>
* distutils-r1.eclass: Update license stripping for hatchMichał Górny2022-05-111-3/+6
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* distutils-r1.eclass: Introduce sipbuild backend supportMichał Górny2022-05-111-2/+51
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* qmake-utils.eclass: Reuse qt5_get_qmake_args in eqmake5Michał Górny2022-05-111-23/+5
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* qmake-utils.eclass: Add a function to get qmake argsMichał Górny2022-05-111-0/+27
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* python-utils-r1.eclass: Sterilize pytest-markdownMichał Górny2022-05-111-0/+3
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* ninja-utils.eclass: document NINJA_DEPENDMike Gilbert2022-05-101-0/+5
| | | | Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* meson.eclass: Support dev-util/samuraiorbea2022-05-101-1/+3
| | | | | | | | | | | samurai is a ninja-compatible build tool written in C which works with cmake, meson and other users of ninja. It is feature-complete and supports most of the same options as ninja. Signed-off-by: orbea <orbea@riseup.net> Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* ninja-utils.eclass: Support dev-util/samuraiorbea2022-05-101-1/+24
| | | | | | | | | | | samurai is a ninja-compatible build tool written in C which works with cmake, meson and other users of ninja. It is feature-complete and supports most of the same options as ninja. Signed-off-by: orbea <orbea@riseup.net> Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* python-utils-r1.eclass: Switch epytest to "count" progress reportsMichał Górny2022-05-091-0/+3
| | | | | | | Switch epytest to report test counts rather than percentages. This is more precise when we're dealing with large numbers of tests. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* distutils-r1.eclass: Move setup from src_configure to prepare_allMichał Górny2022-05-091-3/+3
| | | | | | | | | | Move a few minor setup calls from distutils-r1_src_configure() to distutils-r1_python_prepare_all(). Since we do not declare default configure sub-phases, it is easy to override src_configure() entirely and accidentally skip these steps. We already warn for missing distutils-r1_python_prepare_all() call, so let's move them there. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* distutils-r1.eclass: Print buildsys package versions to aid debugMichał Górny2022-05-091-0/+92
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* distutils-r1.eclass: Support DISTUTILS_ARGS in PEP517 modeMichał Górny2022-05-091-5/+27
| | | | | | Use gpep517 --config-json support to pass DISTUTILS_ARGS in PEP517 mode. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* python-utils-r1.eclass: Raise py3.11 package dep for python-exec depMichał Górny2022-05-091-1/+1
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* eclass/tests/python-utils-r1.eclass: Add tests for adding new implsMichał Górny2022-05-091-0/+35
| | | | | | | Add tests that verify that new Python implementations are added to all the places that need them. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* eclass/tests/python-utils-r1.sh: Streamline the testsMichał Górny2022-05-091-84/+28
| | | | | | | | Streamline the python-utils-r1.eclass tests to use a for loop instead of copying the same tests over and over again. While at it, group tests by purpose. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* python-utils-r1.eclass: Add support for python3.11Michał Górny2022-05-092-4/+20
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* kernel-install.eclass: add riscv supportSam James2022-05-081-1/+4
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* dist-kernel-utils.eclass: add riscv kernel image pathSam James2022-05-081-0/+3
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* java-pkg-simple.eclass: eqawarn if module-info.java is not compiledFlorian Schmaus2022-05-051-4/+5
| | | | | | | | | | In preperation of this ewarn part becoming 'die' (bug #842447), switch it to eqawarn to improve catching the affected packages. Bug: https://bugs.gentoo.org/796875 Bug: https://bugs.gentoo.org/842447 Signed-off-by: Florian Schmaus <flow@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/25306
* eclass/java-utils-2.eclass: drop gnu-classpathVolkmar W. Pogatzki2022-05-021-37/+8
| | | | | | | | | Bug: https://bugs.gentoo.org/786093 Package-Manager: Portage-3.0.18, Repoman-3.0.2 Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Closes: https://github.com/gentoo/gentoo/pull/21218 Signed-off-by: Florian Schmaus <flow@gentoo.org>