summaryrefslogtreecommitdiff
path: root/eclass
Commit message (Collapse)AuthorAgeFilesLines
* xorg-3.eclass: Unset GIT_ECLASS laterMatt Turner2022-04-021-1/+3
| | | | Signed-off-by: Matt Turner <mattst88@gentoo.org>
* xorg-3.eclass: Fix undocumented variable warningsMatt Turner2022-04-021-3/+2
| | | | | | | | - drop WANT_AUTOCONF/WANT_AUTOMAKE declarations: these are the default values - unset other variables after use so they don't leak to consumers Signed-off-by: Matt Turner <mattst88@gentoo.org>
* xorg-3.eclass: Drop EXPORTED_FUNCTIONS variableMatt Turner2022-04-021-2/+1
| | | | Signed-off-by: Matt Turner <mattst88@gentoo.org>
* xorg-3.eclass: Drop app-doc/doxygen as a doc dependencyMatt Turner2022-04-021-1/+0
| | | | | Closes: https://bugs.gentoo.org/700308 Signed-off-by: Matt Turner <mattst88@gentoo.org>
* xorg-3.eclass: Support EAPI 8Matt Turner2022-04-021-3/+3
| | | | Signed-off-by: Matt Turner <mattst88@gentoo.org>
* distutils-r1.eclass: Revert "Support backend-path in pyproject.toml"Michał Górny2022-04-021-8/+1
| | | | | | | | | | This does not handle packages without pyproject.toml correctly. Reverts: c8b8dc11f7235ad4f7b05f24bd75a85c110ec400 Closes: https://bugs.gentoo.org/836660 Closes: https://bugs.gentoo.org/836661 Closes: https://bugs.gentoo.org/836662 Signed-off-by: Michał Górny <mgorny@gentoo.org>
* distutils-r1.eclass: Support backend-path in pyproject.tomlMichał Górny2022-04-021-1/+8
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* python-utils-r1.eclass: Make python_fix_shebang force full pathMichał Górny2022-04-022-114/+106
| | | | | | | | | | | | | | | | | | | | | | Change the behavior of python_fix_shebang to always output full path to the Python interpreter (i.e. ${PYTHON}) instead of mangling the original path. Most importantly, this ensures that: 1. EPREFIX is included in the final path 2. /usr/bin/env is replaced by the absolute path to avoid issues when calling system executables from inside a venv Note that this implies that a few unlikely corner cases may stop working, notably: a. "weird" shebangs such as "/usr/bin/foo python" will no longer work b. the mangled scripts will escape temporary venv e.g. created in distutils-r1 PEP517 mode (python_fix_shebang is not used in such a way in ::gentoo) Signed-off-by: Michał Górny <mgorny@gentoo.org>
* wrapper.eclass: Drop support for EAPIs 0 to 4Ulrich Müller2022-04-011-6/+11
| | | | | | | - Add EAPI conditional - Use sed instead of cat, to preserve indentation of output Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* llvm.org.eclass: Fix patch removal testMichał Górny2022-03-301-9/+4
| | | | | | | | | Fix the test for patch removal to detect non-matching patches correctly. -s is not a reliable test for empty directories. However, grep indicates whether at least one match was found, so it should be good enough for us. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* acct-user.eclass: Refuse to lock out the superuserUlrich Müller2022-03-281-0/+5
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* acct-user.eclass: Use arithmetic test for EUIDUlrich Müller2022-03-281-6/+6
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* user.eclass: Use arithmetic test for UIDUlrich Müller2022-03-281-2/+2
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* fcaps.eclass: Use arithmetic test for UIDUlrich Müller2022-03-281-1/+1
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* webapp.eclass: Use UID 0 instead of rootUlrich Müller2022-03-281-2/+2
| | | | | Bug: https://bugs.gentoo.org/595908 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* toolchain.eclass: Use UID 0 instead of rootUlrich Müller2022-03-281-1/+1
| | | | | Bug: https://bugs.gentoo.org/595908 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* qmail.eclass: Use UID 0 instead of rootUlrich Müller2022-03-281-6/+6
| | | | | Bug: https://bugs.gentoo.org/595908 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* cron.eclass: Use UID 0 instead of rootUlrich Müller2022-03-281-6/+6
| | | | | Bug: https://bugs.gentoo.org/595908 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* fcaps.eclass: Use UID 0 instead of rootHaelwenn (lanodan) Monnier2022-03-281-2/+2
| | | | | Bug: https://bugs.gentoo.org/595908 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* gstreamer-meson.eclass: fix symlink issue for WORKDIRTony Lee2022-03-261-3/+11
| | | | | | | | | | Fixes symlink issue with a variety of gstreamer plugin packages. Bug: https://bugs.gentoo.org/820416 Bug: https://bugs.gentoo.org/816702 Closes: https://bugs.gentoo.org/805020 Closes: https://github.com/gentoo/gentoo/pull/22967 Signed-off-by: Sam James <sam@gentoo.org>
* dev-ruby/rdoc: remove the hprefixify command on shebangs.Benda Xu2022-03-261-1/+1
| | | | | | | | | | | | | | | | | If two ruby targets are specified, the scripts get `/usr/bin/env ruby` shebangs. "env ruby" is then replaced in the ebuilds to be "ruby${ver}" (ruby27 or ruby30). They needs to be prefixified. Contrastingly, when there is one ruby target, the shebang is the correct EPREFIX/usr/bin/ruby${ver}. No prefixify should be applied. To unify the two cases, the shebangs for the two-ruby-target case are changed to be `EPREFIX/usr/bin/env ruby`. Reference: https://github.com/gentoo/gentoo/pull/21046 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Benda Xu <heroxbd@gentoo.org> Signed-off-by: Hans de Graaff <graaff@gentoo.org>
* ecm.eclass: provides virtualx.eclassSam James2022-03-261-1/+1
| | | | | | As discussed with asturm. Signed-off-by: Sam James <sam@gentoo.org>
* subversion.eclass: stub-document internal functionsSam James2022-03-251-14/+12
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* bash-completion-r1.eclass: fix typo in eclassdoc function nameSam James2022-03-251-2/+2
| | | | | | Caused EclassDocMissingFunc. Signed-off-by: Sam James <sam@gentoo.org>
* portability.eclass: drop _dead_portability_user_funcs, is-login-disabledSam James2022-03-251-4/+1
| | | | | | Long fatal (died on calls). Signed-off-by: Sam James <sam@gentoo.org>
* tmpfiles.eclass: fix EclassDocMissingVar (rename internal TMPFILES_ECLASS)Sam James2022-03-251-3/+3
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* subversion.eclass: fix EclassDocMissingVar (ESVN)Sam James2022-03-251-31/+29
| | | | | | Drop ${ESVN} which is only used in errors. We can use ${ECLASS} for that. Signed-off-by: Sam James <sam@gentoo.org>
* ruby-ng.eclass: avoid false-positive for EclassDocMissingVar (inherits)Sam James2022-03-251-5/+4
| | | | | | | It's fine to call inherit multiple times and this avoids a EclassDocMissingVar warning for the variable 'inherits'. Signed-off-by: Sam James <sam@gentoo.org>
* multilib.eclass: document multilib_envSam James2022-03-251-1/+6
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* *.eclass: @ECLASS-VARIABLE renamed to @ECLASS_VARIABLEUlrich Müller2022-03-24123-687/+687
| | | | | Bug: https://bugs.gentoo.org/835396 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* gkrellm-plugin.eclass: Support EAPI 8Thomas Bracht Laumann Jespersen2022-03-211-15/+18
| | | | | | | | | | | | | | | The most notable changes are: * BDEPEND on "virtual/pkgconfig" instead of DEPEND * Add @DEFAULT_UNSET to the variables PLUGIN_SERVER_SO and PLUGIN_DOCS Looking over the eclass, it doesn't appear to use any functionality that was modified or banned in EAPI 7 or 8. Signed-off-by: Thomas Bracht Laumann Jespersen <t@laumann.xyz> Closes: https://github.com/gentoo/gentoo/pull/24626 Signed-off-by: Sam James <sam@gentoo.org>
* qt5-build.eclass: Change SLOTing in 5.15.3Andreas Sturmlechner2022-03-211-1/+19
| | | | | | | | | | | - 0 for binary only (user-facing) tools not tied to specific Qt major version - 5 (clean) for binary only/unversioned plugins/files-only/non-private headers - 5/$(ver_cut 1-2) for everything else; unless overridden by ebuild - No change for 5.15.2 ebuilds dev-qt/qtxmlpatterns was added to clean "5" slot because development is dead. Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* qt5-build.eclass: New helper function: qt5_symlink_binary_to_path()Andreas Sturmlechner2022-03-211-0/+10
| | | | | | | | | Symlink necessary tools to /usr/bin According to upstream discussion on Qt6 recommended tools to be in PATH. See also: https://lists.qt-project.org/pipermail/development/2020-November/040626.html Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* qt5-build.eclass: Re-add support for Qt 5.15.2 official tarballsAndreas Sturmlechner2022-03-211-3/+14
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* qt5-build.eclass: Add support for Qt 5.15.3 (and future) tarballsAndreas Sturmlechner2022-03-211-10/+35
| | | | | | KDE Qt5PatchCollection patches will be applied on top of v5.15.3-lts-lgpl Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* qt5-build.eclass: Update comment regarding MODULE_VERSION downpatchingAndreas Sturmlechner2022-03-211-3/+3
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* go-module.eclass: fix EclassDocError for @DEPRECATEDSam James2022-03-181-9/+9
| | | | | | No trailing colon (:). Signed-off-by: Sam James <sam@gentoo.org>
* meson.eclass: depend on >=dev-util/meson-0.59.4Mart Raudsepp2022-03-161-1/+1
| | | | | | | | | | Many GNOME 42 packages will require meson 0.59. Raise the minimum systemwide to reduce local override needs, as we don't have older in tree anymore anyways. Acked-by: William Hubbs <williamh@gentoo.org> Acked-by: Mike Gilbert <floppym@gentoo.org> Signed-off-by: Mart Raudsepp <leio@gentoo.org>
* golang-base.eclass: fix eclassdoc generation (tag ordering)Sam James2022-03-161-2/+2
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* fortran-2.eclass: quote variables to allow FC containing spacesFrançois-Xavier Carton2022-03-161-3/+3
| | | | | | Signed-off-by: François-Xavier Carton <fx.carton91@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/24595 Signed-off-by: Sam James <sam@gentoo.org>
* eclass/postgres.eclass: migrate to glep-81Conrad Kostecki2022-03-151-27/+0
| | | | | | Closes: https://github.com/gentoo/gentoo/pull/24185 Closes: https://bugs.gentoo.org/802498 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
* ruby-fakegem.eclass: add debug-print-function callsAnna Vyalkova2022-03-151-0/+44
| | | | | Signed-off-by: Anna Vyalkova <cyber+gentoo@sysrq.in> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
* ruby-ng-gnome2.eclass: add debug-print-function callsAnna Vyalkova2022-03-151-1/+11
| | | | | Signed-off-by: Anna Vyalkova <cyber+gentoo@sysrq.in> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
* ruby-ng.eclass: add debug-print-function callsAnna Vyalkova2022-03-151-1/+51
| | | | | Signed-off-by: Anna Vyalkova <cyber+gentoo@sysrq.in> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
* mozcoreconf-v6.eclass remove --enable-extensions handlingMyckel Habets2022-03-141-19/+1
| | | | | | | It's been removed from www-client/seamonkey. Signed-off-by: Myckel Habets <gentoo-bugs@habets-dobben.nl> Signed-off-by: Sam James <sam@gentoo.org>
* eclass/ruby-utils.eclass: add ruby31Hans de Graaff2022-03-121-2/+6
| | | | Signed-off-by: Hans de Graaff <graaff@gentoo.org>
* eclass/ruby-fakegem.eclass: drop obsolete psych blockerHans de Graaff2022-03-121-3/+1
| | | | | | | This old version of dev-ruby/psych should be long gone now, and dev-ruby/psych needs to be added again to support ruby 3.1. Signed-off-by: Hans de Graaff <graaff@gentoo.org>
* gkrellm-plugin.eclass: add @PROVIDES tag for multilib.eclassSam James2022-03-101-1/+2
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* go-module.eclass: invoke "ego mod tidy" with nonfatalFlorian Schmaus2022-03-081-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We previously invoked "mod tidy" without the ego helper function in a non-fatal way. This was switched to using the ego helper in f9ee55e698f8 ("go-module.eclass: use ego helper function") but without prefixing the call with nonfatal. Hence the semantic of the eclass changes: a previously non-fatal invocation became fatal, causing e.g., bug #834695. [sam: fixes semantic change which wasn't advertised/seemingly intentional, so let's get this in now to avoid a significant number of ebuilds being broken. We can introduce this change if desired at a later point. Fixes: f9ee55e698f8 ("go-module.eclass: use ego helper function") Closes: https://bugs.gentoo.org/834758 Closes: https://bugs.gentoo.org/834762 Closes: https://bugs.gentoo.org/834607 Closes: https://bugs.gentoo.org/834608 Closes: https://bugs.gentoo.org/834625 Closes: https://bugs.gentoo.org/834626 Closes: https://bugs.gentoo.org/834630 Closes: https://bugs.gentoo.org/834669 Closes: https://bugs.gentoo.org/834603 Closes: https://bugs.gentoo.org/834610 Closes: https://bugs.gentoo.org/834711 Closes: https://bugs.gentoo.org/834763 Signed-off-by: Florian Schmaus <flow@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/24437 Signed-off-by: Sam James <sam@gentoo.org>
* go-module.eclass: deprecate EGO_SUMWilliam Hubbs2022-03-061-12/+33
| | | | | | | | | EGO_SUM can be thousands of lines long in ebuilds, and it leads to creating Manifest files that are thousands of lines long. It has been determined that dependency tarballs are a better solution if upstream doesn't vendor their dependencies. Signed-off-by: William Hubbs <williamh@gentoo.org>