summaryrefslogtreecommitdiff
path: root/eclass
Commit message (Collapse)AuthorAgeFilesLines
* llvm.org.eclass: Update for LLVM 15 prereleasesMichał Górny2022-08-091-4/+4
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* linux-info: Remove deprecated eclass func after warning period expirationMike Pagano2022-08-071-15/+0
| | | | | | Bug: https://bugs.gentoo.org/843686 Signed-off-by: Mike Pagano <mpagano@gentoo.org>
* linux-info.eclass: Provide ability to skip CONFIG_* checksMike Pagano2022-08-071-1/+10
| | | | | | | | | Provide support for users who requested the ability to skip CONFIG_* checks. (e.g. from within a chroot for testing purposes) Closes: https://bugs.gentoo.org/862315 Signed-off-by: Mike Pagano <mpagano@gentoo.org>
* toolchain.eclass: add myself to the devspace URI mappingWANG Xuerui2022-08-071-0/+3
| | | | Signed-off-by: WANG Xuerui <xen0n@gentoo.org>
* kernel-2.eclass: Force deblob-check to use awkAlice Ferrazzi2022-08-071-11/+3
| | | | | | | | | | This patch remove python from the kernel-2.eclass by forcing the deblob-check script to use awk instead of python. Closes: https://bugs.gentoo.org/610008 Signed-off-by: Alice Ferrazzi <alicef@gentoo.org>
* qt6-build.eclass: rename @ECLASS-VARIABLESam James2022-08-021-3/+3
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* dev-qt/qtbase: new packageJimi Huotari2022-08-021-0/+161
| | | | | | | | | Version 6.3.1 qtbase in non-split form. Bug: https://bugs.gentoo.org/838970 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Jimi Huotari <chiitoo@gentoo.org> Signed-off-by: Sam James <sam@gentoo.org>
* java-pkg-simple.eclass: run java-pkg_gen-cp only for non-binary packagesVolkmar W. Pogatzki2022-08-021-3/+3
| | | | | | | | | | | | | | app-misc/rundeck-cli-bin-2.0.1 failed to build with openjdk-jre-bin-17 saying "javac is not available for openjdk-jre-bin-17 on x86_64". Culprit was java-pkg-simple.eclass calling java-pkg_gen-cp unconditionally. Limiting java-pkg_gen-cp to the "non-binary" case solves the problem. Closes: https://bugs.gentoo.org/861026 Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Closes: https://github.com/gentoo/gentoo/pull/26647 Signed-off-by: Florian Schmaus <flow@gentoo.org>
* python-utils-r1.eclass: Sterilize pytest-sugar pluginMichał Górny2022-08-021-0/+3
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* distutils-r1.eclass: Let gpep517 compile bytecode when 9+ is usedMichał Górny2022-08-021-10/+26
| | | | | | | | | | | | Use the new --optimize option of gpep517 >= 9 when it is installed, and remove the python_optimize call then. This conditional logic is meant to give some additional testing while gpep517-9 is still in ~arch. Note that this also removes python_optimize call for "no" mode. However, this mode is used only by a handful of ebuilds, so if any of them needs an explicit python_optimize call, we can quickly fix them. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* distutils-r1.eclass: Pass EPREFIX to addpredictMichał Górny2022-08-021-2/+2
| | | | | | Pointed out by Arfrever. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* distutils-r1.eclass: Bump dev-python/sip dependencyMichał Górny2022-08-021-1/+1
| | | | | Bug: https://bugs.gentoo.org/851840 Signed-off-by: Michał Górny <mgorny@gentoo.org>
* distutils-r1.eclass: Require gpep517 >= 8Michał Górny2022-08-021-1/+1
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* distutils-r1.eclass: Update pyproject.toml advice for PEP517 modeMichał Górny2022-08-021-4/+4
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* virtualx.eclass: Do not disable sandboxMichał Górny2022-08-021-7/+0
| | | | | | | | The code responsible for disabling sandbox dates back to 2002 and does not include any explanation. Let's try if we still need it. Bug: https://bugs.gentoo.org/107479 Signed-off-by: Michał Górny <mgorny@gentoo.org>
* virtualx.eclass: Let Xvfb figure out the free DISPLAYMichał Górny2022-08-021-42/+20
| | | | | | | | | Replace the antiquated search mechanism for a free DISPLAY with Xvfb's -displayfd option that makes Xvfb choose one itself and print it to given fd. Bug: https://bugs.gentoo.org/494244 Signed-off-by: Michał Górny <mgorny@gentoo.org>
* virtualx.eclass: Inline XVFBMichał Górny2022-08-021-8/+7
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* virtualx.eclass: Remove unused XHOSTMichał Górny2022-08-021-2/+1
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* virtualx.eclass: Pass xvfbargs as an arrayMichał Górny2022-08-021-7/+7
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* virtualx.eclass: Add quoting to workaround vim syntax hl bugMichał Górny2022-08-021-1/+1
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* cmake-utils.eclass: drop last-rited eclassSam James2022-08-011-851/+0
| | | | | | | Use cmake.eclass instead. Closes: https://bugs.gentoo.org/834110 Signed-off-by: Sam James <sam@gentoo.org>
* stardict.eclass: remove EAPI 6 and 7David Seifert2022-07-311-2/+2
| | | | | Closes: https://github.com/gentoo/gentoo/pull/26681 Signed-off-by: David Seifert <soap@gentoo.org>
* stardict.eclass: cleanupsDavid Seifert2022-07-311-13/+25
| | | | Signed-off-by: David Seifert <soap@gentoo.org>
* stardict.eclass: add EAPI 8David Seifert2022-07-311-4/+4
| | | | Signed-off-by: David Seifert <soap@gentoo.org>
* chromium-2.eclass: drop unnecessary 'shopt -s extglob'Sam James2022-07-311-2/+2
| | | | | | | | | | | We don't need a subshell because of how is-flagq works. Noticed as a result of fallout from the bash change which led to us noticing 5e9a3926fd3e0e573f529fd6aefebba53e082f4a. Thanks-to: Ionen Wolkens <ionen@gentoo.org> Thanks-to: Kerin Millar <kfm@plushkava.net> Signed-off-by: Sam James <sam@gentoo.org>
* toolchain.eclass: fix whitespaceSam James2022-07-311-3/+3
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* toolchain.eclass: store previous test results & compare in src_testSam James2022-07-301-2/+42
| | | | | | | | | | | | | | | | | | | | This is what GCC developers do, so let's give it a try. Note that folks will have to (for now?) set GCC_TESTS_IGNORE_NO_BASELINE=1 for it to succeed if src_test failed for the first time & they don't have any test data saved for that slot. The test data is stored in ${EPREFIX}/var/cache/gcc/${SLOT}. GCC upstream's contrib/compare_tests script performs the comparison. We may want to investigate shipping baseline results / gathering them in a repo somewhere. We may also in future want to install this data as orphaned so that it's kept around and not lost when upgrading versions and to allow cross-slot comparison when an old one is depcleaned (although I guess doesn't matter so much if it's first time, but still). Signed-off-by: Sam James <sam@gentoo.org>
* tree-sitter-grammar.eclass: use -Wl,-install_name on DarwinSam James2022-07-281-2/+8
| | | | | | Closes: https://bugs.gentoo.org/860828 Signed-off-by: Sam James <sam@gentoo.org> Signed-off-by: Matthew Smith <matthew@gentoo.org>
* llvm.eclass: Allow slot 16Michał Górny2022-07-281-1/+1
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* llvm.org.eclass: Main branch is now 16.xMichał Górny2022-07-281-1/+1
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* opam.eclass: add EAPI 8David Seifert2022-07-261-2/+2
| | | | | Closes: https://github.com/gentoo/gentoo/pull/26565 Signed-off-by: David Seifert <soap@gentoo.org>
* opam.eclass: remove EAPI 5 and 6David Seifert2022-07-261-20/+13
| | | | Signed-off-by: David Seifert <soap@gentoo.org>
* opam.eclass: [QA] use bash [[ ... ]] bracketsDavid Seifert2022-07-261-2/+2
| | | | | | * As specified in `pg0101` Signed-off-by: David Seifert <soap@gentoo.org>
* ros-catkin.eclass: [QA] use bash [[ ... ]] bracketsDavid Seifert2022-07-261-21/+19
| | | | | | * As specified in `pg0101` Signed-off-by: David Seifert <soap@gentoo.org>
* distutils-r1.eclass: Update .pyc addpredicts for pypy3.9Michał Górny2022-07-261-2/+1
| | | | | | | Update the addpredicts for legacy mode to cover pypy3.9 directory, and remove the rule for stale Portage directory. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* distutils-r1.eclass: Remove unneccess. addpredict for PEP517 modeMichał Górny2022-07-261-7/+0
| | | | | | | We do not unset PYTHONDONTWRITEBYTECODE in the PEP517 mode, so we shouldn't need to be adding addpredicts for that. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* distutils-r1.eclass: Bump minimal dep versionsMichał Górny2022-07-261-5/+5
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* flag-o-matic.eclass: respect -fuse-ld in test-flags-CCLDSam James2022-07-261-0/+9
| | | | | Closes: https://bugs.gentoo.org/832377 Signed-off-by: Sam James <sam@gentoo.org>
* flag-o-matic.eclass: add bug references re -Qunused-argumentsSam James2022-07-261-1/+3
| | | | | | | | | To ensure we pay attention to these if changing in future (like I've been wondering about) Bug: https://bugs.gentoo.org/712488 Bug: https://bugs.gentoo.org/714742 Signed-off-by: Sam James <sam@gentoo.org>
* flag-o-matic.eclass: minor style tweaksSam James2022-07-261-9/+11
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* flag-o-matic.eclass: fix typo in commentSam James2022-07-261-1/+1
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* eutils.eclass: Fix typo in eclassdocUlrich Müller2022-07-251-1/+1
| | | | | Fixes: 4719870f74e600e2bb9aceb718e267e409edf22d Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* java-pkg-simple.eclass: Inherit eqawarn instead of eutilsUlrich Müller2022-07-241-1/+1
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* java-pkg-simple.eclass: Drop support for EAPI 5Ulrich Müller2022-07-241-7/+3
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* vcs-snapshot.eclass: Add missing inherit for eqawarnUlrich Müller2022-07-241-1/+2
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* ruby-ng.eclass: Add missing inherit for eqawarnUlrich Müller2022-07-241-1/+1
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* ruby-ng.eclass: Drop support for EAPI 5Ulrich Müller2022-07-241-29/+9
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* python*-r1.eclass: Add missing inherit for eqawarnUlrich Müller2022-07-242-0/+2
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* eutils.eclass: Add @DEPRECATED tagUlrich Müller2022-07-241-12/+1
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* eqawarn.eclass: New eclass, split off from eutilsUlrich Müller2022-07-242-14/+27
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>