summaryrefslogtreecommitdiff
path: root/eclass
Commit message (Collapse)AuthorAgeFilesLines
* toolchain-funcs.eclass: placate cheesy eclass-to-manpage awkSam James2022-07-161-1/+1
| | | | | | Failed to generate otherwise. But it's nearly gone! Signed-off-by: Sam James <sam@gentoo.org>
* eclass/ruby-utils.eclass: update ruby version preferencesHans de Graaff2022-07-161-2/+2
| | | | Signed-off-by: Hans de Graaff <graaff@gentoo.org>
* xorg-3.eclass: fix typo in --disable-dependency-tracking grepSam James2022-07-151-1/+1
| | | | | | Interestingly goes back to 2012 in xorg-2.eclass! Signed-off-by: Sam James <sam@gentoo.org>
* meson.eclass: depend on >=dev-util/meson-0.62.2Mike Gilbert2022-07-131-1/+1
| | | | Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* meson.eclass: print error logs for failing testsDaniel Campello2022-07-131-0/+1
| | | | | | Signed-off-by: Daniel Campello <campello@chromium.org> Closes: https://github.com/gentoo/gentoo/pull/24561 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* gear.kde.org.eclass: New eclass to serve KDE Gear packagesAndreas Sturmlechner2022-07-131-0/+66
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* frameworks.kde.org.eclass: New eclass to serve KDE Frameworks packagesAndreas Sturmlechner2022-07-131-0/+72
| | | | | | Fix HOMEPAGE at the same time. Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* kde.org.eclass: Cleanup obsolete Frameworks/Plasma/Gear quirksAndreas Sturmlechner2022-07-131-50/+29
| | | | | | | Detect use of new product set eclasses and bail out then. Still maintaining backwards compatibility to kde.org packages. Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* plasma.kde.org.eclass: New eclass to serve KDE Plasma packagesAndreas Sturmlechner2022-07-131-0/+66
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* kde.org.eclass: Add new variables KDE_PV_UNRELEASED, KDE_ORG_UNRELEASEDAndreas Sturmlechner2022-07-131-29/+14
| | | | | | | Replace KDE_UNRELEASED Drop obsolete _kde.org_is_unreleased Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* kde.org.eclass: Add new KDE_ORG_SCHEDULE_URIAndreas Sturmlechner2022-07-131-5/+9
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* kde.org.eclass: Drop obsolete kdevelop SRC_URI quirkAndreas Sturmlechner2022-07-131-4/+0
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* python-utils-r1.eclass: bump minimum 3.11 dep to 3.11.0_beta4Ionen Wolkens2022-07-121-1/+1
| | | | | | | As requested. Closes: https://github.com/gentoo/gentoo/pull/26317 Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
* distutils-r1.eclass: support >=dev-util/maturin-0.13.0Ionen Wolkens2022-07-121-6/+16
| | | | | | | | | | | | | | | | pep517 mode had some options changed around (as part of 1.0 release roadmap), notably adds --jobs/--profile, and removes --cargo-extra-args. --jobs is semi-optional given cargo.eclass handles that, but will be useful in the event don't use cargo.eclass (e.g. vendored crates), or if maturin ever uses it internally for non-cargo bits. Errors out on unrecognized options, so split in two blocks with intend to cleanup the old once a 0.13.x is stable rather than do messy per-option conditions (likely won't stable .0, releases are frequent). Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
* epatch.eclass: drop support for EAPI 0 to 4Mike Gilbert2022-07-111-4/+4
| | | | Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* epatch.eclass: drop support for EPATCH_SINGLE_MSGMike Gilbert2022-07-111-9/+1
| | | | Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* epatch.eclass: call ebegin to balance eendMike Gilbert2022-07-111-3/+3
| | | | | Closes: https://bugs.gentoo.org/840963 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* java-utils-2.eclass: drop pointless eend callMike Gilbert2022-07-111-1/+0
| | | | | Closes: https://bugs.gentoo.org/842675 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* gstreamer-meson.eclass: fix install on prefixSam James2022-07-101-0/+1
| | | | | Closes: https://bugs.gentoo.org/852203 Signed-off-by: Sam James <sam@gentoo.org>
* Revert "user.eclass: Warn about eclass usage in all EAPIs"Ulrich Müller2022-07-101-13/+11
| | | | | | This reverts commit b700ccbb4da1e341e4a1b9874b53efeb88223ff6. Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* user.eclass: Warn about eclass usage in all EAPIsUlrich Müller2022-07-101-11/+13
| | | | | | Remove @DEPRECATED tag because this is not a removal candidate. Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* eclass/apache-2.eclass: migrate to GLEP-81Conrad Kostecki2022-07-091-5/+3
| | | | | Bug: https://bugs.gentoo.org/802495 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
* ruby-ng.eclass: replace ebegin with einfo in _ruby_invoke_environmentMike Gilbert2022-07-091-2/+1
| | | | | | | | | | | | | Calling ebegin here makes no sense because it is likely that the called function will also generate output. This will lead to the "[ ok ]" potentially appearing many lines later. It also leads to nested ebegin calls, which make no sense for the same reason. Closes: https://bugs.gentoo.org/839585 Closes: https://bugs.gentoo.org/839588 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* java-pkg-simple.eclass: invoke einstalldocsFlorian Schmaus2022-07-061-1/+7
| | | | | | | | | On EAPI 6, or newer, invoke einstalldocs in java-pkg-simple_src_install. Closes: https://bugs.gentoo.org/789582 Closes: https://github.com/gentoo/gentoo/pull/26216 Signed-off-by: Florian Schmaus <flow@gentoo.org>
* eclass/java-utils-2.eclass: make testng output more verboseVolkmar W. Pogatzki2022-07-041-1/+6
| | | | | | | Bug: https://bugs.gentoo.org/801694 Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Closes: https://github.com/gentoo/gentoo/pull/26118 Signed-off-by: Florian Schmaus <flow@gentoo.org>
* kernel-build.eclass: Properly install vmlinux(.debug)Martin Kletzander2022-07-041-7/+8
| | | | | | | | | | | | | | | Previously, in commit ad3b55e32736 we installed vmlinux with debug symbols, but two issues remained. Firstly, the debug symbols were stripped (and optionally extracted), and secondly the build-id was changed due to how estrip works. In order to make systemtap work without complaining about missing debuginfo and mismatch of build-id from the running kernel install the whole vmlinux and exclude it from stripping. Signed-off-by: Martin Kletzander <nert.pinx@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/26065 Signed-off-by: Sam James <sam@gentoo.org>
* cmake-utils.eclass: mark @DEAD for removalSam James2022-07-021-0/+1
| | | | | | | | Removal on 2022-08-02. Bug: https://bugs.gentoo.org/637726 Bug: https://bugs.gentoo.org/834110 Signed-off-by: Sam James <sam@gentoo.org>
* perl-functions.eclass: [QA] use bash [[ ... ]] bracketsDavid Seifert2022-07-021-7/+7
| | | | | Closes: https://github.com/gentoo/gentoo/pull/26112 Signed-off-by: David Seifert <soap@gentoo.org>
* perl-functions.eclass: remove EAPI 5David Seifert2022-07-021-10/+8
| | | | Signed-off-by: David Seifert <soap@gentoo.org>
* perl-module.eclass: remove EAPI 5David Seifert2022-07-021-156/+56
| | | | Signed-off-by: David Seifert <soap@gentoo.org>
* meson.eclass: remove EAPI 6David Seifert2022-07-021-10/+3
| | | | Signed-off-by: David Seifert <soap@gentoo.org>
* findlib.eclass: remove unuseful EAPI version testAlfredo Tupone2022-07-021-2/+0
| | | | Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
* findlib.eclass: add ocamlopt? use dep to findlibAlfredo Tupone2022-07-011-3/+6
| | | | Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
* selinux-policy-2.eclass: update copyright yearKenton Groombridge2022-06-301-2/+1
| | | | Signed-off-by: Kenton Groombridge <concord@gentoo.org>
* eclass/selinux-policy-2: fix POLICY_PATCH applyingKrzesimir Nowak2022-06-301-3/+3
| | | | | | | | | | | | | | | | | | | | eapply as implemented in portage has some heuristics to find out where the parameters that should be passed to patch utility end and actual diff/patch files begin. It first tries to find -- which is the explicit way of separating parameters from input files. Since there's none, it tries to find a first non-option. And it finds the refpolicy directory as a first non-option, while it is supposed to be a value of the -d parameter. The said directory is then treated as an input directory, which is expected to contain at least one patch or diff file. Since there's none, eapply fails. Help eapply's heuristics by explicitly delimiting the parameters from input files with --. Bug: https://bugs.gentoo.org/794682 Signed-off-by: Krzesimir Nowak <knowak@microsoft.com> Closes: https://github.com/gentoo/gentoo/pull/26148 Signed-off-by: Kenton Groombridge <concord@gentoo.org>
* distutils-r1.eclass: make QA check conditional on 'diff' presenceSam James2022-06-291-13/+18
| | | | | | | | We get trouble when bootstrapping Prefix otherwise as diffutils may not be installed yet. This is a bit less churn than adding the BDEPEND, not that there's a strong argument either way. Signed-off-by: Sam James <sam@gentoo.org>
* distutils-r1.eclass: Adjust min dep versions to current stableMichał Górny2022-06-291-7/+7
| | | | | Signed-off-by: Michał Górny <mgorny@gentoo.org> Signed-off-by: Sam James <sam@gentoo.org>
* distutils-r1.eclass: Adjust minimal dep versions to current stableMichał Górny2022-06-291-18/+30
| | | | | Signed-off-by: Michał Górny <mgorny@gentoo.org> Signed-off-by: Sam James <sam@gentoo.org>
* distutils-r1.eclass: Print gpep517 invocations verboselyMichał Górny2022-06-291-8/+18
| | | | | Signed-off-by: Michał Górny <mgorny@gentoo.org> Signed-off-by: Sam James <sam@gentoo.org>
* distutils-r1.eclass: Introduce distutils_wheel_installMichał Górny2022-06-291-12/+33
| | | | | | | | | Split the wheel installation logic from distutils_pep517_install into a new distutils_wheel_install function. Also intended for expert use only. Signed-off-by: Michał Górny <mgorny@gentoo.org> Signed-off-by: Sam James <sam@gentoo.org>
* autotools.eclass: import ::prefix automake has_version edgecase logicSam James2022-06-291-2/+12
| | | | | | | | | | | | | During bootstrapping, an automake may not exist yet (which is sometimes fine if an ebuild doesn't actually need it). Make the check non-fatal for prefix where automake doesn't yet exist inside BROOT. We could probably do a bit better here and inspect PATH but this is the logic which has been used in ::prefix for a looong time, and it's currently breaking bootstraps, so let's get it fixed. Signed-off-by: Sam James <sam@gentoo.org>
* java-vm-2.eclass: use "eselect java-vm update" if availableFlorian Schmaus2022-06-291-2/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Note that IDEPEND="app-eselect/eselect-java" is not absolutely perfect. This is for two reasons. First, IDEPEND is an EAPI 8 feature, while the java-vm-2.eclass currently also supports older EAPIs. However, in those older EAPIs there is no equivalent of IDEPEND. Furthermore, even with EAPIs supporting IDEPEND, while the install-time dependencies specified with IDEPEND are allowed to be called in pkg_preinst and pkg_postinst, the Package Manger Specification (PMS) stats that for the pkg_*rm phases, "ebuilds … must not rely on them being available" [1]. And the java-vm-2.eclass only calls "eselect java-vm update" in pkg_postrm. Therefore, a PMS adhering package manager is able to unmerge IDEPEND packages before any of the pkg_*rm phases are invoked. However, declaring an IDEPEND on eselect-java is the next best thing we can do. Also, a typical package manager will likely not pro-actively remove IDEPEND dependencies, so those are available in the pkg_*rm phases. And since there is no harm in stating the IDEPEND, we declare it. Thanks to Mike Gilbert (floppym) for valuable feedback. 1: PMS 2021-06-13 § 8.1 Dependency Classes - https://projects.gentoo.org/pms/8/pms.html#x1-720008.1 Closes: https://bugs.gentoo.org/853928 Signed-off-by: Florian Schmaus <flow@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/26069
* gnustep-2.eclass: Drop EAPI 5Ulrich Müller2022-06-281-6/+6
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* gnustep-base.eclass: Don't inherit eutils in EAPI 8Ulrich Müller2022-06-281-5/+6
| | | | | | ... which is not supported by it. While at it, drop EAPI 5. Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* flag-o-matic.eclass: add filter-lto functionJannik Glückert2022-06-281-0/+8
| | | | | | | Bug: https://bugs.gentoo.org/618550 Closes: https://github.com/gentoo/gentoo/pull/26036 Signed-off-by: Jannik Glückert <jannik.glueckert@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
* toolchain-funcs.eclass: set LC_ALL=C where appropriateMike Gilbert2022-06-271-0/+6
| | | | | | | | | tc-ld-is-gold and tc-ld-is-lld check the output of ld --version. This output may vary depending on the language selected by the user. Set LC_ALL=C to force English output. Bug: https://bugs.gentoo.org/854147 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* user.eclass: allow UID/GID 0 in enewuser/enewgroupMike Gilbert2022-06-271-4/+4
| | | | | | | | | | Used by acct-{user,group}/root. The check is skipped on most systems because root is created by baselayout. An error may be produced if a user runs emerge --root=/myroot acct-user/root, where /myroot is an empty directory. Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* llvm.org.eclass: Enable SPIRV target for LLVM 15+Michał Górny2022-06-271-1/+3
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* llvm.org.eclass: Add DirectX target for LLVM 15+Michał Górny2022-06-271-1/+1
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* llvm.org.eclass: Enable prebuilt manpages for 14.0.6Michał Górny2022-06-271-1/+1
| | | | | Closes: https://bugs.gentoo.org/854396 Signed-off-by: Michał Górny <mgorny@gentoo.org>