summaryrefslogtreecommitdiff
path: root/eclass
Commit message (Collapse)AuthorAgeFilesLines
...
* python-utils-r1.eclass: epytest, force color output to match NOCOLORMichał Górny2022-01-131-0/+12
| | | | | | | | Force pytest color output on or off based on the presence and value of NOCOLOR envvar. This fixes inconsistent use of colors that largely depended on upstream pytest settings. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* cargo.eclass: really fix typoGeorgy Yakovlev2022-01-121-1/+1
| | | | Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
* cargo.eclass: fix typo in email addressGeorgy Yakovlev2022-01-121-2/+2
| | | | | Thanks-to: Alexey Zapparov alexey@zapparov.com Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
* findlib.eclass: flip to +ocamloptSam James2022-01-111-2/+2
| | | | | | | This is the expectation in general, and it's masked on arches where it's not available. Signed-off-by: Sam James <sam@gentoo.org>
* eclass/dune.eclass: src_test do not change warn to errAlfredo Tupone2022-01-101-1/+1
| | | | | | Closes: https://bugs.gentoo.org/822876 Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
* apache-2.eclass: remove dead userland_BSDDavid Seifert2022-01-091-10/+1
| | | | Signed-off-by: David Seifert <soap@gentoo.org>
* distutils-r1.eclass: Bump minimal pytest depMichał Górny2022-01-091-2/+2
| | | | | | | | Bump the minimal pytest dep to what we have right now, since a growing number of packages requires new pytest version (>= 6.2.4 is the highest explicit dep we have) and there is really no point in repeating the dep. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* python*-r1.eclass: Remove explicit dep on python-execMichał Górny2022-01-094-17/+4
| | | | | | | | The dev-lang/python-exec dependency is now enforced through dev-lang/python, remove the explicit dep to reduce the metadata size and make dependency resolution lighter. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* python-utils-r1.eclass: Bump minimal Python versionsMichał Górny2022-01-093-4/+10
| | | | | | | Bump minimal Python package versions to ensure that the python-exec deps are inside. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* kde.org.eclass: Add kde-frameworks/countryflags to portingAids URIsAndreas Sturmlechner2022-01-091-0/+1
| | | | | Closes: https://bugs.gentoo.org/830828 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* ecm.eclass: Use new ecm_punt_kf_module/ecm_punt_qt_module internallyAndreas Sturmlechner2022-01-081-4/+4
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* ecm.eclass: Introduce ecm_punt_kf_module and ecm_punt_qt_moduleAndreas Sturmlechner2022-01-081-1/+50
| | | | | | | | | | | | | | | | | | | | | | Upstream has begun replacing find_package(Qt5 ...) with find_package(Qt${QT_MAJOR_VERSION}) ...) for optional build with Qt6 - this breaks existing ecm_punt_bogus_dep() regexps. There is no known usage of ecm_punt_bogus_dep with anything else than Qt5 or KF5, so simply replace it with two public functions fixed on Qt* and KF* module removal. Also add '${dep}' info to 'removed by ecm.eclass' output. Replaces ecm_punt_bogus_dep(). Closes: https://bugs.gentoo.org/830729 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* eclass/mercurial.eclass: add EAPI 8Cédric Krier2022-01-081-2/+2
| | | | | Closes: https://bugs.gentoo.org/829131 Signed-off-by: Cédric Krier <cedk@gentoo.org>
* 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>