summaryrefslogtreecommitdiff
path: root/eclass
Commit message (Collapse)AuthorAgeFilesLines
* eclass/tests: eat optional arguments passed to has_versionMike Gilbert2021-05-121-0/+3
| | | | | | | | | portageq has_version does not understand arguments like -b or --host-root. This fixes tests for autotools.eclass. Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* eclass/tests: Add EAPI decls to fix running testsMichał Górny2021-05-122-2/+6
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* eclass/ada.eclass: adding gnat_2020Alfredo Tupone2021-05-121-1/+11
| | | | Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
* eclass: reassign dotnet@g.o's eclasses to m-nJoonas Niilola2021-05-123-5/+5
| | | | Signed-off-by: Joonas Niilola <juippis@gentoo.org>
* python-utils-r1.eclass: Grab paths from sysconfig moduleMichał Górny2021-05-121-5/+2
| | | | | | | | | Grab site-packages and includedir paths from sysconfig rather than distutils.sysconfig, as the latter module is deprecated. The new method results in the same paths for all supported implementations, as confirmed by the tests. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* eclass/cargo.eclass: disable incremental buildsGeorgy Yakovlev2021-05-101-0/+1
| | | | | | | This should not affect us, but can trigger if running tests Upstream issue: https://github.com/rust-lang/rust/issues/84970 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
* base.eclass: remove last-rited eclassSam James2021-05-091-216/+0
| | | | | Closes: https://bugs.gentoo.org/497022 Signed-off-by: Sam James <sam@gentoo.org>
* games.eclass: remove last-rited eclassSam James2021-05-091-398/+0
| | | | | Closes: https://bugs.gentoo.org/574082 Signed-off-by: Sam James <sam@gentoo.org>
* flag-o-matic.eclass: allow -fno-sanitize* optionsSergei Trofimovich2021-05-081-1/+3
| | | | | | | | | | We already allow -fsanitize* options. Sometimes it's useful to enable -fsanitize= globally and disable ir in a few ebuilds. The change allows passing -fno-sanitize=all an similar to achieve that effect. Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* eclass/ruby-fakegem.eclass: fix more ruby invocations for did_you_meanHans de Graaff2021-05-081-2/+2
| | | | | | Closes: https://bugs.gentoo.org/788124 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
* eclass/ros-catkin.eclass: add python 3.9Alexis Ballier2021-05-071-1/+1
| | | | Signed-off-by: Alexis Ballier <aballier@gentoo.org>
* meson.eclass: include riscv bitness in cpu_familyDavid Michael2021-05-051-1/+6
| | | | | | | | | | | | This makes cpu_family identify RISC-V systems as either "riscv64" or "riscv32" to match the given tuple, or it will leave it as "riscv" when the tuple has an unknown cpu field. This fixes the expected values of cpu_family in meson projects: https://mesonbuild.com/Reference-tables.html#cpu-families Signed-off-by: David Michael <fedora.dm0@gmail.com> Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* eclass/tests/python-utils-r1.sh: Cover py3.10Michał Górny2021-05-051-0/+14
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* eclass/rust-toolchain.eclass: add verify-sig URI supportGeorgy Yakovlev2021-05-041-0/+1
| | | | Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
* python-utils-r1.eclass: Add py3.10 to patternsMichał Górny2021-05-041-1/+1
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* python-utils-r1.eclass: Enable python3_10Michał Górny2021-05-041-1/+1
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* distutils-r1.eclass: Forbid .hypothesis in site-packages tooMichał Górny2021-05-041-1/+4
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* ssl-cert.eclass: remove libressl referencesMikle Kolyada2021-05-031-6/+2
| | | | Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
* vim-plugin.eclass: bump copyright year.Marco Sirabella2021-05-021-1/+1
| | | | | Signed-off-by: Marco Sirabella <marco@sirabella.org> Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
* vim-{plugin,spell}: use einstalldocs.Marco Sirabella2021-05-022-33/+9
| | | | | Signed-off-by: Marco Sirabella <marco@sirabella.org> Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
* vim-plugin.eclass: don't remove files on install.Marco Sirabella2021-05-021-8/+6
| | | | | | | | This helps with multiple `ebuild install`s in a row, and also uses standard install functions instead of manual commands Signed-off-by: Marco Sirabella <marco@sirabella.org> Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
* apache-2.eclass: remove libressl supportMikle Kolyada2021-05-021-5/+3
| | | | Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
* nsplugins.eclass: Mark @DEADAndreas Sturmlechner2021-05-011-0/+1
| | | | | | Bug: https://bugs.gentoo.org/671680 Bug: https://bugs.gentoo.org/719332 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* wxwidgets.eclass: Add eqawarn for GTK 2 slotDavid Seifert2021-05-011-1/+3
| | | | | Closes: https://github.com/gentoo/gentoo/pull/20269 Signed-off-by: David Seifert <soap@gentoo.org>
* wxwidgets.eclass: Restrict to EAPI 7David Seifert2021-05-011-44/+12
| | | | Signed-off-by: David Seifert <soap@gentoo.org>
* wxwidgets.eclass: Clean up setup-wxwidgets eclassdocDavid Seifert2021-05-011-12/+10
| | | | Signed-off-by: David Seifert <soap@gentoo.org>
* wxwidgets.eclass: Remove dead SLOTsDavid Seifert2021-05-011-23/+9
| | | | Signed-off-by: David Seifert <soap@gentoo.org>
* wxwidgets.eclass: Make WX_GTK_VER a PRE_INHERIT variableDavid Seifert2021-05-011-3/+13
| | | | Signed-off-by: David Seifert <soap@gentoo.org>
* wxwidgets.eclass: Remove need-wxwidgets aliasDavid Seifert2021-05-011-9/+0
| | | | | | * No consumers of the old `need-wxwidgets` in ::gentoo. Signed-off-by: David Seifert <soap@gentoo.org>
* eclass/vdr-plugin-2.eclass: forbidden-variable-use fixedJoerg Bornkessel2021-05-011-1/+1
| | | | | Closes: https://bugs.gentoo.org/778815 Signed-off-by: Joerg Bornkessel <hd_brummy@gentoo.org>
* ruby-ng.eclass: die on errors in ruby_rbconfig_valueHans de Graaff2021-05-011-1/+1
| | | | | | | | | | Die on errors in ruby_rbconfig_value, so that any issues with it cause an immediate stop, rather than returning a nil value which may propagate into installed ebuilds and cause hard-to-diagnose issues. Closes: https://bugs.gentoo.org/776322 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
* xorg-2.eclass: Remove last-rited eclassMatt Turner2021-04-301-567/+0
| | | | | Closes: https://bugs.gentoo.org/778818 Signed-off-by: Matt Turner <mattst88@gentoo.org>
* kernel-2.eclass: Simplify and streamline code for the CPU OPT patchMike Pagano2021-04-301-2/+27
| | | | Signed-off-by: Mike Pagano <mpagano@gentoo.org>
* virtualx.eclass: Drop EAPI-4 and EAPI-5 support and cleanupAndreas Sturmlechner2021-04-291-105/+10
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* eclass/ruby-{ng,fakegem}.eclass: fix did_you_mean issuesHans de Graaff2021-04-282-3/+3
| | | | | | | | | | | | | | | | | | The default gem did_you_mean was unbundled in 2e225cca1aa95b8a5e54cbd855f17dbaf88940d9 to fix bug 758464. Unfortunately ruby 2.7 fails when did_you_mean is not present at all, making it impossible to install this ruby version. 2.6 and 3.0 are not affected by this. With this change we explicitly disable the did_you_mean gem when invoking ruby in the eclasses. Thanks to naota for diagnosing the issue and coming up with a solution. Closes: https://bugs.gentoo.org/705346 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
* autotools-utils.eclass: remove last-rited eclassSam James2021-04-271-386/+0
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* eclass/llvm.eclass: clarify error messageGeorgy Yakovlev2021-04-271-1/+1
| | | | | | | llvm_check_deps() may return false even if slot found, but use requirements are not satisfied. Mention it. Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
* eclass/rust-toolchain.eclass: add support for arm64 musl tarballsGeorgy Yakovlev2021-04-271-2/+3
| | | | | Bug: https://bugs.gentoo.org/771006 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
* ecm.eclass: EAPI whitelist and EXPORT_FUNCTIONS ahead of inherit guardAndreas Sturmlechner2021-04-241-11/+11
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* ecm.eclass: KDE Applications -> KDE GearAndreas Sturmlechner2021-04-241-2/+2
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* kde.org.eclass: Fix DESCRIPTION tagsAndreas Sturmlechner2021-04-241-1/+1
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* kde.org.eclass: Support Qt5PatchCollection snapshotsAndreas Sturmlechner2021-04-241-0/+6
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* kde.org.eclass: Support Qt5PatchCollection stable branchAndreas Sturmlechner2021-04-241-0/+5
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* kde.org.eclass: Add KDE_ORG_COMMIT to provide invent.kde.org snapshotsAndreas Sturmlechner2021-04-241-6/+19
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* kde.org.eclass: EAPI whitelist and EXPORT_FUNCTIONS ahead of inherit guardAndreas Sturmlechner2021-04-241-2/+7
| | | | | | Add EAPI whitelist in the first place. Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* kde.org.eclass: KDE_RELEASE_SERVICE -> KDE_GEARAndreas Sturmlechner2021-04-241-10/+11
| | | | | | | | | | The unbranded KDE Release Schedule formerly known as KDE Applications is now known as KDE Gear. Pick up KDE_RELEASE_SERVICE value if set for backward compatibility - should remain at least until KDE Release Service 20.12.3 is gone. Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* kde.org.eclass: Add KDE_ORG_CATEGORIES map and KDE_ORG_CATEGORYAndreas Sturmlechner2021-04-241-1/+48
| | | | | | To support invent.kde.org git repository addresses without redirect warnings. Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* llvm.org.eclass: Support Gentoo patchsetsMichał Górny2021-04-221-0/+26
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* nvidia-driver.eclass: mark @DEADIonen Wolkens2021-04-211-0/+1
| | | | | | | Only ever used by x11-drivers/nvidia-drivers and no longer is. Signed-off-by: Ionen Wolkens <sudinave@gmail.com> Signed-off-by: David Seifert <soap@gentoo.org>
* elisp-common.eclass: Use "==" in tests throughoutUlrich Müller2021-04-191-3/+3
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>