summaryrefslogtreecommitdiff
path: root/eclass
Commit message (Collapse)AuthorAgeFilesLines
* eclass/ruby-fakegem.eclass: depend on virtual/pkgconfigHans de Graaff2022-05-221-0/+5
| | | | | | | | | Many C extensions depend on pkgconfig during their configure phase and this is easy to miss in the ebuild. Handle this in the eclass instead even though the dependency will not be needed for all extensions. Closes: https://bugs.gentoo.org/845393 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
* qmail.eclass: remove usage of egrepRolf Eike Beer2022-05-211-3/+2
| | | | | | | | | | This does not use extended regular expressions in any way. While at it change the way these matches are done: it's irrelevant if the entire expression is in the file, if there is any rule for the given IP address then do not add the new expression. Signed-off-by: Rolf Eike Beer <eike@sf-mail.de> Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* qmail.eclass: drop obsolete install hooksRolf Eike Beer2022-05-211-24/+0
| | | | | | | | The last user went away with mail-mta/qmail-ldap. Closes: https://bugs.gentoo.org/843716 Signed-off-by: Rolf Eike Beer <eike@sf-mail.de> Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* eclass/postgresql.eclass: Remove obsolete postgres slotsPatrick Lauer2022-05-211-1/+1
| | | | Signed-off-by: Patrick Lauer <patrick@gentoo.org>
* haskell-cabal.eclass: Update function callUlrich Müller2022-05-201-1/+1
| | | | | | | ghc-extractportageversion was renamed to ghc-extract-pm-version. Bug: https://bugs.gentoo.org/843713 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* ghc-package.eclass: Avoid reserved function nameUlrich Müller2022-05-201-3/+3
| | | | | | | Rename function ghc-extractportageversion to ghc-extract-pm-version. Closes: https://bugs.gentoo.org/843713 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* 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>