summaryrefslogtreecommitdiff
path: root/eclass
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* meson.eclass: add "--no-rebuild" to meson install argsMike Gilbert2022-07-231-0/+1
| | | | | | | This avoids rebuilding targets with no dependency information. Closes: https://bugs.gentoo.org/857180 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* qt5-build.eclass: Support sed regardless if $MAKE is quoted or notAndreas Sturmlechner2022-07-231-1/+1
| | | | | Bug: https://bugs.gentoo.org/792804 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* qt5-build.eclass: Merge _QT5_GENTOOPATCHSET_REV handling into main blockAndreas Sturmlechner2022-07-231-6/+5
| | | | | | Dropping pre-5.15.5 SRC_URI support. Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* haskell-cabal.eclass: sync from ::haskellJack Todaro2022-07-231-32/+136
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The eclass has a number of additions and some changes which allow for automated revision handling from hackage.haskell.org packages. For those that are unaware, Hackage trustees as well as package authors are able to make limited changes to a package's build file (the .cabal file) on the Hackage package index. These changes are mostly to do with either loosening upper bounds on dependency version ranges, or adding them in when a new package version causes other packages to silently break. See the PVP for more information on Haskell versioning, if need be. A hackage revision does _not_ affect the tarball. Instead, the revised .cabal file sits atop the tarball and is used by tools like cabal-install to reset the dependency version bounds at build time. hackport, the tool we use to automate writing new ebuilds and bumping package versions, always brought in the revised .cabal file if it existed, as under the hood it is using the exact same Cabal and cabal-install libraries to navigate the Hackage package index. However, it did not patch the .cabal file in the tarball, which Portage uses for building. As such, it could be the case that RDEPENDs and the underlying dependencies in the .cabal file would not match up, and src_configure could fail due to 'missing dependencies'. hackport HEAD, in conjunction with this eclass change, automatically handles replacing the underlying .cabal file with the latest revised one from the Hackage index - and this is now all visible to the developer. As such, this eclass change in conjunction with the newer hackport reduces silent breakages. Signed-off-by: Jack Todaro <solpeth@posteo.org> Signed-off-by: Sam James <sam@gentoo.org>
* vala.eclass: Raise minimum supported version to 0.50Matt Turner2022-07-221-3/+2
| | | | | | And remove the 0.42 special case while we're here. Signed-off-by: Matt Turner <mattst88@gentoo.org>