summaryrefslogtreecommitdiff
path: root/eclass
Commit message (Collapse)AuthorAgeFilesLines
* desktop.eclass: Avoid file collisions in make_desktop_entry()Ulrich Müller2021-02-241-3/+10
| | | | | | | Closes: https://bugs.gentoo.org/771708 Reported-by: Sergey Torokhov <torokhov-s-a@yandex.ru> Suggested-by: Ionen Wolkens <sudinave@gmail.com> Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* eclass/toolchain.eclass: disable USE=vtv on gcc-10 and aboveSergei Trofimovich2021-02-221-1/+10
| | | | | | | | | | USE=vtv has a few problems: - it's build system has a few quirks: bug #767706, bug #582524 - it's developed in gcc for a while Bug: https://bugs.gentoo.org/582524 Bug: https://bugs.gentoo.org/767706 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* kde.org.eclass: Fix remaining missing documentationAndreas Sturmlechner2021-02-211-1/+11
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* cmake.eclass: Group all banned cmake-utils_* functions togetherAndreas Sturmlechner2021-02-211-35/+35
| | | | | | Move _cmake_check_build_dir to a better place too. Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* cmake.eclass: Documentation: cmake_src_prepare() *MUST* be runAndreas Sturmlechner2021-02-211-1/+1
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* cmake.eclass: Better description of cmake_build() and cmake_src_compile()Andreas Sturmlechner2021-02-211-3/+4
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* cmake.eclass: Document _cmake_check_build_dir and _cmake_modify-cmakelistsAndreas Sturmlechner2021-02-211-0/+6
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* cmake.eclass: Merge mycmakeargs description into cmake_src_configure()Andreas Sturmlechner2021-02-211-12/+7
| | | | | | | | | Fix outdated mycmakeargs documentation (use of banned function in EAPI-7) Make it a part of phase function desc than instead of appearing under FUNCTIONS. Reported-by: Joonas Niilola <juippis@gentoo.org> Closes: https://bugs.gentoo.org/771876 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* llvm.eclass: Support LLVM 13Michał Górny2021-02-201-2/+2
| | | | | Closes: https://bugs.gentoo.org/771699 Signed-off-by: Michał Górny <mgorny@gentoo.org>
* kernel-build.eclass: Depend on PythonMichał Górny2021-02-181-0/+1
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* kernel-build.eclass: Use pythonMichał Górny2021-02-181-1/+3
| | | | | Closes: https://bugs.gentoo.org/771207 Signed-off-by: Michał Górny <mgorny@gentoo.org>
* golang-base.eclass: keep GO111MODULE in auto modeWilliam Hubbs2021-02-171-0/+3
| | | | | | | | Go 1.16 forces module-aware mode on by default but this breaks builds. Bug: https://bugs.gentoo.org/771129 Signed-off-by: William Hubbs <williamh@gentoo.org>
* meson.eclass: define objcopyDavid Michael2021-02-151-0/+2
| | | | | | Closes: https://bugs.gentoo.org/770844 Signed-off-by: David Michael <fedora.dm0@gmail.com> Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* distutils-r1.eclass: fix comment typoSam James2021-02-151-1/+1
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* elisp-common.eclass: More verbose error for failed version detectionUlrich Müller2021-02-151-1/+3
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* eclass/cargo.eclass: minor fixesGeorgy Yakovlev2021-02-111-3/+4
| | | | | | | | | fix typo. fix supported eapis docstring. fix variable type. add myself to authors. Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
* eclass/rust-toolchain.eclass: add aarch64-*-musl target supportGeorgy Yakovlev2021-02-111-1/+2
| | | | | Bug: https://bugs.gentoo.org/767451 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
* python-r1.eclass: Allow empty depstring to python_gen_any_depMichał Górny2021-02-111-7/+8
| | | | | | | | | Allow python_gen_any_dep to accept an empty/missing depstring, in order to generate a pure dependency on the Python interpreter. This is a valid use case for it since python-r1 does not provide any-r1 style PYTHON_DEPS. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* distutils-r1.eclass: Require EPYTHON to be setMichał Górny2021-02-111-1/+3
| | | | | | | There is no context in which the function is called without EPYTHON set, so require it to be set instead of adding a fallback. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* distutils-r1.eclass: Fix setuptools without setup.pyMichał Górny2021-02-111-9/+8
| | | | | | | | | | Invoke pyproject2setuppy directly instead of writing the setup.py wrapper. This is necessary to correctly support setuptools via pyproject.toml without setup.py. Writing setup.py confuses pyproject2setuppy into running the setup.py code path instead of the correct non-setup.py path. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* apache-2.eclass: Replace elog with einfoLars Wendler2021-02-101-1/+1
| | | | | Closes: https://bugs.gentoo.org/769914 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
* ruby-fakegem.eclass: fix each_fakegem_install for PrefixFabian Groffen2021-02-071-2/+2
| | | | | | | _extensionsdir is based on ruby_fakegem_gemsdir, which strips $EPREFIX for use with helpers Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* eclass/ruby-fakegem.eclass: fix DESCRIPTION syntaxHans de Graaff2021-02-071-1/+1
| | | | Signed-off-by: Hans de Graaff <graaff@gentoo.org>
* eclass/ruby-fakegem.eclass: fix EXTENSION_LIBDIR handlingHans de Graaff2021-02-071-1/+2
| | | | | | | Create the directory if needed and take into account that RUBY_FAKEGEM_EXTENSION_LIBDIR may or may not have an ending /. Signed-off-by: Hans de Graaff <graaff@gentoo.org>
* ruby-fakegem.eclass: support for extensionsHans de Graaff2021-02-071-1/+60
| | | | | | | | | | | | | | | | | | | | | Up to now handling of extensions was done in each ebuild that contained them. This means that handling is often inconsistent (e.g. not taking multilib's get_modname into account) and there is a lot of duplicated code in ebuilds. Furthermore, this also does not install extensions into the special extensions directory. rubygems itself has been doing this for some time, and now bundler 2.2.x has started to explicitly check for the extensions in this directory, making it incompatibly with our previous way of installing gems. The new RUBY_FAKEGEM_EXTENSIONS array and RUBY_FAKEGEM_EXTENSION_LIBDIR options provide support for installing extensions automatically based on these settings, taking into account that the extensions also must be part of testing and that it must be installed properly. Signed-off-by: Hans de Graaff <graaff@gentoo.org>
* qt5-build.eclass: Make dev-qt/qttest dependency work for qtwebengine snapshotAndreas Sturmlechner2021-02-051-1/+1
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* qt5-build.eclass: Add missing RESTRICT+=" !test? ( test )"Andreas Sturmlechner2021-02-051-2/+6
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* bazel.eclass: Expose INCLUDEDIR to Bazel projectsMichael Martis2021-02-041-0/+1
| | | | | Signed-off-by: Michael Martis <martis@chromium.org> Signed-off-by: Jason Zaman <perfinion@gentoo.org>
* distutils-r1.eclass: Remove obsolete conditionsMichał Górny2021-02-041-14/+5
| | | | | | Now that Python < 3.7 is not supported, apply --jobs unconditionally. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* distutils-r1.eclass: Update addpredict listMichał Górny2021-02-041-2/+1
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* distutils-r1.eclass: Switch dift default to --via-rootMichał Górny2021-01-311-6/+6
| | | | | | | | | Switch the default distutils_install_for_testing behavior to --via-root (from legacy --via-home). The old versions of setuptools where --via-home worked are gone, and testing has so far proven that --via-root in the worst case leaves package as broken as before. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* python-utils-r1.eclass: Disable py2.7, except for p-any-r1Michał Górny2021-01-312-3/+9
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* haskell-cabal.eclass: add CABAL_EXTRA_*_FLAGS for haddockhololeap2021-01-301-63/+45
| | | | | | | | | | | | | | Add functionality to append arguments to `./setup haddock` and `./setup hscolour`. This also merited cleanup of some relevant chunks of code. This adds the eclass variables: - CABAL_EXTRA_HADDOCK_FLAGS - CABAL_EXTRA_HOOGLE_FLAGS - CABAL_ExTRA_HSCOLOUR_FLAGS Signed-off-by: hololeap <hololeap@gmail.com> Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* haskell-cabal.eclass: add CABAL_FEATURE=rebuild-after-doc-workaroundWolfgang E. Sanyer2021-01-301-0/+16
| | | | | | | | | | This is added as a temporary workaround until [this upstream][1] issue can be closed out [1]: https://github.com/haskell/cabal/issues/7213 Signed-off-by: Wolfgang E. Sanyer <WolfgangESanyer@gmail.com> Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* haskell-cabal.eclass: filter out -flto|-flto=* flagsSergei Trofimovich2021-01-301-3/+27
| | | | | | | | | | | | | | `ghc` uses partial linking to glue together object files produced by `gcc` and `ghc`. In case of -flto* flags we have a chance to mix IR section incorrectly due to ld deficiency: https://sourceware.org/PR12291 Let's filter out -flto-related flags until binutils is ready. Reported-by: matoro Closes: https://github.com/gentoo-haskell/gentoo-haskell/issues/1110 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* eclass/docs.eclass: make compatible with python-single-r1Andrew Ammerlaan2021-01-281-51/+111
| | | | | | | | | | | | | python-single-r1 does not have the pyhton_gen_any-dep function, use the pyhton_gen_cond_dep instead also a much needed update to the documentation of this eclass. Fixed typos, and added proper examples. Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net> Closes: https://github.com/gentoo/gentoo/pull/19078 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
* eclass/distutils-r1: fix distutils_enable_sphinx with DIS.._SINGLE_IMPLAndrew Ammerlaan2021-01-281-7/+10
| | | | | | | | | python-single-r1 does not have the python_gen_any_dep function use the python_gen_cond_dep instead Closes: https://bugs.gentoo.org/704520 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
* llvm.org.eclass: Master is now 13.0.0Michał Górny2021-01-281-2/+2
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* apache-2.eclass: Dependency fixLars Wendler2021-01-271-2/+1
| | | | Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
* apache-2.eclass: don't perform numeric comparison on EAPIMike Gilbert2021-01-261-1/+1
| | | | | | | All EAPIs before EAPI 6 are banned at the top of the eclass, so just check for EAPI != 6 before calling lua-single_pkg_setup. Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* apache-2.eclass: Only reference lua in EAPI-7 ebuildsLars Wendler2021-01-261-1/+1
| | | | Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
* www-servers/apache: EAPI-7 revbumpLars Wendler2021-01-261-1/+12
| | | | | | | Added lua module support Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
* apache-2.eclass: Minor style fixLars Wendler2021-01-261-1/+4
| | | | Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
* www-servers/apache: Moved dependencies into eclassLars Wendler2021-01-261-4/+33
| | | | | Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
* www-servers/apache: Moved IUSE handling back to eclassLars Wendler2021-01-261-2/+10
| | | | | Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
* www-servers/apache: Renamed CDEPEND to COMMON_DEPENDLars Wendler2021-01-261-2/+2
| | | | | Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
* eclass: opam.eclass - ignore QA FLAGS WarningsAlfredo Tupone2021-01-251-0/+3
| | | | Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
* eclass: ignoring flags warning in findlib.eclassAlfredo Tupone2021-01-251-1/+2
| | | | Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
* eclass: ignore CFLAGS warningsAlfredo Tupone2021-01-231-0/+3
| | | | Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
* toolchain-funcs.eclass: new function tc-ld-force-bfd()Theo Anderson2021-01-231-6/+15
| | | | | | | | | | | | No functions currently force ld.bfd usage when ld.lld is active. This function forces ld.bfd when either ld.gold or ld.lld is active. tc-ld-disable-gold() now calls this new function only if ld.gold is active. Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Theo Anderson <telans@posteo.de> Closes: https://github.com/gentoo/gentoo/pull/19116 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>