summaryrefslogtreecommitdiff
path: root/eclass
Commit message (Collapse)AuthorAgeFilesLines
* ecm.eclass: Case-insensitivity for grep and sedAndreas Sturmlechner2022-01-071-3/+3
| | | | | | Reported-by: Milos Popovic <gpopac@gmail.com> Bug: https://bugs.gentoo.org/829998 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* kernel-2.eclass: fix minor OBOBJCOPY -> OBJCOPY typoAdrian Ratiu2022-01-061-1/+1
| | | | | | | Fixes:55f5c68c01e791c7339144aadc1f20802791551e Suggested-by: Manoj Gupta <manojgupta@chromium.org> Signed-off-by: Adrian Ratiu <adrian.ratiu@collabora.com> Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
* readme.gentoo-r1.eclass: Document the DOC_CONTENTS variableUlrich Müller2022-01-061-1/+6
| | | | | | This fixes a spurious "UnusedInherits" warning from pkgcheck. Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* kernel-2.eclass: Remove duplicateMike Pagano2022-01-051-1/+1
| | | | Signed-off-by: Mike Pagano <mpagano@gentoo.org>
* kernel-2.eclass: Respect portage toolchain variablesAdrian Ratiu2022-01-041-1/+1
| | | | | | | | | | | | | | Starting with kernel>=v5.7 the build system can override the tools vars by setting LLVM=1 [1], but older kernels still use the default GNU tools, so to be able to use a full LLVM/Clang build, CC & co should be set to their respective portage values. [1] a0d1c951ef08 kbuild: support LLVM=1 to switch the default tools to Clang/LLVM Co-authored-by: Manoj Gupta <manojgupta@chromium.org> Signed-off-by: Adrian Ratiu <adrian.ratiu@collabora.com> Closes: https://github.com/gentoo/gentoo/pull/23091 Signed-off-by: Mike Pagano <mpagano@gentoo.org>
* qt5-build.eclass: remove kernel_FreeBSDDavid Seifert2022-01-041-8/+1
| | | | Signed-off-by: David Seifert <soap@gentoo.org>
* unpacker.eclass: remove kernel_AIX special case for *.debDavid Seifert2022-01-041-4/+1
| | | | Signed-off-by: David Seifert <soap@gentoo.org>
* linux-info.eclass: drop unnecessary IUSE="kernel_linux"Sam James2022-01-041-3/+1
| | | | | | It's already an implicit IUSE, so we don't need this. Signed-off-by: Sam James <sam@gentoo.org>
* linux-mod.eclass: drop unnecessary IUSE="kernel_linux"Sam James2022-01-041-2/+2
| | | | | | It's already an implicit IUSE, so we don't need this. Signed-off-by: Sam James <sam@gentoo.org>
* toolchain.eclass: remove freebsd-libcDavid Seifert2022-01-021-6/+0
| | | | | Closes: https://github.com/gentoo/gentoo/pull/23628 Signed-off-by: David Seifert <soap@gentoo.org>
* java-utils-2.eclass: remove freebsd-libcDavid Seifert2022-01-021-7/+2
| | | | Signed-off-by: David Seifert <soap@gentoo.org>
* multilib.eclass: adopt riscv conventions of the 20.0 profilesAndreas K. Hüttel2022-01-021-8/+24
| | | | | | Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/23487 Bug: https://bugs.gentoo.org/797679
* toolchain.eclass: remove uclibcDavid Seifert2022-01-021-37/+3
| | | | | Closes: https://bugs.gentoo.org/820905 Signed-off-by: David Seifert <soap@gentoo.org>
* eclass/tests/python-utils-r1.sh: Remove obsoletep py2 usageMichał Górny2021-12-311-35/+11
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* eclass/tests/python-utils-r1.sh: Update expected pypy3 includedirMichał Górny2021-12-311-1/+1
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* eclass/tests: Update expected deps in distutils-r1 testsMichał Górny2021-12-312-4/+4
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* toolchain.eclass: use HTTPS for snapshotsSam James2021-12-281-1/+1
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* eclass/webapps.eclass: added eapi8 supportMiroslav Šulc2021-12-281-3/+3
| | | | Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
* eclass/java-ant-2.eclass: added eapi8 supportMiroslav Šulc2021-12-281-3/+3
| | | | Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
* eclass/java-osgi.eclass: added eapi8 supportMiroslav Šulc2021-12-281-2/+2
| | | | Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
* eclass/java-pkg-opt-2.eclass: added eapi8 supportMiroslav Šulc2021-12-281-2/+2
| | | | Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
* eclass/java-virtuals-2.eclass: added eapi8 supportMiroslav Šulc2021-12-281-3/+3
| | | | Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
* distutils-r1.eclass: depend on >=dev-python/pyproject2setuppy-22Mike Gilbert2021-12-271-1/+1
| | | | | Closes: https://bugs.gentoo.org/830104 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* ada.eclass: build deps on gnat-gpl[ada]Alfredo Tupone2021-12-271-1/+1
| | | | | | Closes: https://bugs.gentoo.org/830094 Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
* multilib.eclass: add initial defaults for ARCH=loongWANG Xuerui2021-12-261-0/+9
| | | | | | | | | | | There is only full support for the LP64D ABI in the initial upstream submissions for the various low-level pieces, so full multilib combinations are not pursued at the moment; but the expected library search path of gcc (`lib64`) means the default of `lib` does not work in our case. Signed-off-by: WANG Xuerui <git@xen0n.name> Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
* eclass/pam.eclass: misc improvementsMikle Kolyada2021-12-251-9/+4
| | | | | | | | | * EAPI=8 * EAPI=5 gone * missing die * cleanup mod_dir logic (openpam is long gone) Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
* vdr-plugin-2.eclass: fix variable VDRPLUGINMartin Dummer2021-12-241-2/+2
| | | | | | | | | | Variable VDRPLUGIN: remove declaration @INTERNAL, instead declare as @OUTPUT_VARIABLE as it is used in many packages This fixes errors thrown by pkgcheck Signed-off-by: Martin Dummer <martin.dummer@gmx.net> Closes: https://github.com/gentoo/gentoo/pull/23454 Signed-off-by: Sam James <sam@gentoo.org>
* tree-sitter-grammar.eclass: Fix compatibility with lldMatthew Smith2021-12-231-1/+1
| | | | | | | | | | | | | | | | | | | | -soname <soname> is only accepted by GNU ld, but --soname=<soname> is accepted by both GNU ld and LLVM lld. Closes: https://bugs.gentoo.org/829667 Closes: https://bugs.gentoo.org/829668 Closes: https://bugs.gentoo.org/829669 Closes: https://bugs.gentoo.org/829670 Closes: https://bugs.gentoo.org/829671 Closes: https://bugs.gentoo.org/829672 Closes: https://bugs.gentoo.org/829673 Closes: https://bugs.gentoo.org/829674 Closes: https://bugs.gentoo.org/829675 Closes: https://bugs.gentoo.org/829676 Closes: https://bugs.gentoo.org/829677 Signed-off-by: Matthew Smith <matt@offtopica.uk> Closes: https://github.com/gentoo/gentoo/pull/23436 Signed-off-by: Nick Sarnie <sarnex@gentoo.org>
* vdr-plugin-2.eclass: fix content of @SUPPORTED_EAPISMartin Dummer2021-12-211-1/+1
| | | | | | | | | The eclass variable @SUPPORTED_EAPIS does not contain EAPI 8, while the eclass itself supports EAPI 8. This leads to wrong warnings by pkgcheck. Signed-off-by: Martin Dummer <martin.dummer@gmx.net> Closes: https://github.com/gentoo/gentoo/pull/23440 Signed-off-by: Sam James <sam@gentoo.org>
* eclass/tree-sitter-grammar: fix ABI autodetectonVadim Misbakh-Soloviov2021-12-201-10/+10
| | | | | | | | | | | | | | | | | | | Some grammars packages (like, for example, tree-sitter-agda) uses different versioning scheme from vast majority of grammars in tree-sitter github organization. Also, third-party grammars doesn't follow tree-sitter versioning. Also, some grammars (like tree-sitter-haskell, for example) only had old release tagged, but having compatible and useful grammars in current HEAD. Also, some grammars like tree-sitter-verilog, even have only v0.0 tag. So, instead of assuming grammar ABI version based on ${PV} (ver_test) we decided to take ABI version drectly from source code. Signed-off-by: Vadim Misbakh-Soloviov <mva@gentoo.org>
* verify-sig.eclass: add app-crypt/signify supportAnna Vyalkova2021-12-191-31/+112
| | | | | | | | It is useful for verifying distfiles that come from OpenBSD folks, since signify produces signatures incompatible with GnuPG. Signed-off-by: Anna Vyalkova <cyber+gentoo@sysrq.in> Signed-off-by: Michał Górny <mgorny@gentoo.org>
* flag-o-matic.eclass: filter-lfs-flags: remove -D_TIME_BITS=64Mike Gilbert2021-12-181-1/+2
| | | | | | glibc only allows _TIME_BITS=64 when _FILE_OFFSET_BITS=64. Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* dune.eclass: fix default value of DUNE_PKG_NAMESam James2021-12-171-1/+3
| | | | | | | | | | We need to use :=, not :-, because we want to reassign DUNE_PKG_NAME, not just return the new value. Closes: https://bugs.gentoo.org/829199 Closes: https://bugs.gentoo.org/829299 Closes: https://bugs.gentoo.org/829327 Signed-off-by: Sam James <sam@gentoo.org>
* kernel-install.eclass: add ppc(32) supportGeorgy Yakovlev2021-12-161-0/+9
| | | | | Bug: https://bugs.gentoo.org/794799 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
* dist-kernel-utils.eclass: add ppc(32) supportGeorgy Yakovlev2021-12-161-1/+2
| | | | | Bug: https://bugs.gentoo.org/794799 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
* dev-lang/vala: drop old 0.44 slotMart Raudsepp2021-12-151-5/+4
| | | | | Package-Manager: Portage-3.0.20, Repoman-3.0.2 Signed-off-by: Mart Raudsepp <leio@gentoo.org>
* eclass/dune.eclass: fix dune-install functionMaciej Barć2021-12-141-21/+35
| | | | | | | | | | | Support EAPI 8 and drop support for EAPI 5. Set DUNE_PKG_NAME to PN by default. Move "Move docs to the appropriate place" block to dune-install to make dune-install now handle a list of subpackages correctly. Use ebegin and eend for dune calls instead of "|| die". Thanks to ULM for bash fixes. Signed-off-by: Maciej Barć <xgqt@gentoo.org>
* mount-boot.eclass: support EAPI 8John Helmert III2021-12-131-2/+2
| | | | Signed-off-by: John Helmert III <ajak@gentoo.org>
* toolchain-funcs.eclass: add detection for loongarchWANG Xuerui2021-12-141-0/+2
| | | | | | | | | | | | | | | The Linux port currently under review has arch/loongarch, and should almost certainly remain that way till merge; meanwhile it's ARCH=loong on the Gentoo side, per mailing list discussion[1] and eselect adaptation[2]. This architecture is little-endian-only according to the manual[3]. [1]: https://archives.gentoo.org/gentoo-dev/message/388a4b7428461660e89c8eae8c292f32 [2]: https://gitweb.gentoo.org/proj/eselect.git/commit/?id=a49477f39d3f000cc2ca57f18aafbd66656aba05 [3]: https://github.com/loongson/LoongArch-Documentation/blob/2021.08.17/docs/LoongArch-Vol1-EN/basic-integer-instructions/programming-model-of-basic-integer-instructions/endian.adoc Signed-off-by: WANG Xuerui <git@xen0n.name> Signed-off-by: Sam James <sam@gentoo.org>
* gnome2.eclass: support EAPI 8Marek Szuba2021-12-131-2/+2
| | | | Signed-off-by: Marek Szuba <marecki@gentoo.org>
* gnome2.eclass: standardise the EAPI guardMarek Szuba2021-12-131-2/+2
| | | | Signed-off-by: Marek Szuba <marecki@gentoo.org>
* gnome2.eclass: do not call xdg_src_prepareMarek Szuba2021-12-131-2/+2
| | | | | | | | | No longer available for EAPI-8+, and gnome2_src_prepare already calls xdg_environment_reset via gnome2_environment_reset. All that function did otherwise was call default src_prepare for EAPI-6+ so do just that directly. Signed-off-by: Marek Szuba <marecki@gentoo.org>
* gnome2-utils.eclass: support EAPI 8Marek Szuba2021-12-131-3/+3
| | | | | | | | Trivial now that emktemp is gone. While at it, include eclass name in the "EAPI x not supported" error message. Signed-off-by: Marek Szuba <marecki@gentoo.org>
* gnome2-utils.eclass: phase out emktempMarek Szuba2021-12-131-4/+3
| | | | | | | Has been deprecated for quite a while now, comes from eutils.eclass so it blocks EAPI 8+. Just call mktemp directly. Signed-off-by: Marek Szuba <marecki@gentoo.org>
* tmpfiles.eclass: add eapi 8 supportWilliam Hubbs2021-12-111-2/+2
| | | | Signed-off-by: William Hubbs <williamh@gentoo.org>
* go-module.eclass: Add GO_OPTIONAL flagFlorian Schmaus2021-12-111-9/+22
| | | | | | | | | | Following the pattern found in other eclasses, add GO_OPTIONAL to the go-module eclass. This allows inheriting the eclass without pulling its dependencies or exporting the unpack function. See, e.g., bug #775779 for the motivation. Signed-off-by: Florian Schmaus <flow@gentoo.org> Signed-off-by: William Hubbs <williamh@gentoo.org>
* llvm.org.eclass: VE target is non-experimental in 14.xMichał Górny2021-12-111-1/+8
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* eclass/java-{utils-2,pkg-2,pkg-simple}: bump to eapi8Miroslav Šulc2021-12-023-6/+6
| | | | Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
* xorg-3.eclass: don't override XORG_EAUTORECONF from ebuilds in 9999Sam James2021-12-011-1/+1
| | | | | Closes: https://bugs.gentoo.org/827941 Signed-off-by: Sam James <sam@gentoo.org>
* kde.org.eclass: Drop obsolete kdevelop* quirks, keep 5.6.2 supportedAndreas Sturmlechner2021-11-291-12/+2
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>