summaryrefslogtreecommitdiff
path: root/eclass
Commit message (Collapse)AuthorAgeFilesLines
* distutils-r1.eclass: Remove extra deps from jupyter backendMichał Górny2022-04-081-4/+2
| | | | | | | | dev-python/jupyter_packaging depends on these directly, and packages using it don't list these deps in their requires, so I guess it doesn't make sense for us to copy them. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* distutils-r1.eclass: Recognize jupyter PEP517 backendMichał Górny2022-04-081-0/+11
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* distutils-r1.eclass: Fix PEP517 + single-impl w/ no scriptsMichał Górny2022-04-081-1/+4
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* mono.eclass: Remove conditionals for EAPIs 0, 1, 2Ulrich Müller2022-04-071-3/+1
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* mercurial.eclass: Remove conditionals for EAPIs 0, 1, 2Ulrich Müller2022-04-071-3/+1
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* distutils-r1.eclass: Support GPEP517_TESTING modeMichał Górny2022-04-071-31/+57
| | | | | | | | | Support GPEP517_TESTING variable to enable using dev-python/gpep517 instead of inline Python snippets. This is meant to provide the necessary testing before we stabilize it and switch over. Closes: https://github.com/gentoo/gentoo/pull/24910 Signed-off-by: Michał Górny <mgorny@gentoo.org>
* distutils-r1.eclass: Add hatchling support (meh!)Michał Górny2022-04-071-0/+9
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* eclass/vim-{doc,plugin}.eclass: revert previous commit.Patrice Clement2022-04-062-30/+29
| | | | | | Let's wait until those patches are reviewed on the gentoo-dev ML. Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
* vim-plugin.eclass: support EAPI 8Thomas Bracht Laumann Jespersen2022-04-061-9/+10
| | | | | | | | | | | * Drop EAPI 0, 1, 2 workarounds * Move EXPORT_FUNCTIONS to end of file * Add required @USAGE on functions Bug: https://bugs.gentoo.org/830867 Bug: https://bugs.gentoo.org/830866 Signed-off-by: Thomas Bracht Laumann Jespersen <t@laumann.xyz> Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
* vim-doc.eclass: support EAPI 8Thomas Bracht Laumann Jespersen2022-04-061-20/+20
| | | | | | Signed-off-by: Thomas Bracht Laumann Jespersen <t@laumann.xyz> Closes: https://github.com/gentoo/gentoo/pull/24928 Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
* preserve-libs.eclass: Remove conditionals for EAPIs 0, 1, and 2Ulrich Müller2022-04-051-10/+6
| | | | | | Drop an unnecessary die statement. Adjust some quotation marks. Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* xorg-3.eclass: Fix unsetting GIT_ECLASSMatt Turner2022-04-031-5/+3
| | | | | | | Apparently I cannot remember how bash works. Closes: https://bugs.gentoo.org/836727 Signed-off-by: Matt Turner <mattst88@gentoo.org>
* emboss-r2.eclass: remove last-rited eclassDavid Seifert2022-04-041-161/+0
| | | | Signed-off-by: David Seifert <soap@gentoo.org>
* font.eclass: Support EAPI 8Matt Turner2022-04-031-3/+3
| | | | | Closes: https://bugs.gentoo.org/806496 Signed-off-by: Matt Turner <mattst88@gentoo.org>
* vala.eclass: raise VALA_MIN_API_VERSION to 0.50Matt Turner2022-04-021-2/+2
| | | | Signed-off-by: Matt Turner <mattst88@gentoo.org>
* vala.eclass: raise VALA_MAX_API_VERSION to 0.56Matt Turner2022-04-021-2/+2
| | | | Signed-off-by: Matt Turner <mattst88@gentoo.org>
* 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>