summaryrefslogtreecommitdiff
path: root/eclass
Commit message (Collapse)AuthorAgeFilesLines
* python-r1.eclass: Fix stripping :0= from PyPy w/ REQ_USE setMichał Górny2019-11-191-1/+1
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* python-any-r1.eclass: Fix stripping :0= from PyPy w/ REQ_USE setMichał Górny2019-11-191-1/+1
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* distutils-r1.eclass: distutils_enable_tests, handle no deps betterMichał Górny2019-11-161-11/+12
| | | | | | | Do not set IUSE or other variables if the test runner does not have any deps, and RDEPEND is empty. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* kde5-functions.eclass: Add porting and deprecation notesAndreas Sturmlechner2019-11-141-0/+5
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* kde5.eclass: Add porting and deprecation notesAndreas Sturmlechner2019-11-141-7/+18
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* kde5-functions.eclass: Drop obsolete minimum version overridesAndreas Sturmlechner2019-11-121-10/+0
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* qmail.eclass: hide qmail-pop3 behind a use flagRolf Eike Beer2019-11-121-30/+39
| | | | | | | | | Other solutions offer much more features and better security, so do not install this by default. Keep it for the moment for those who explicitely want it. Signed-off-by: Rolf Eike Beer <eike@sf-mail.de> Closes: https://github.com/gentoo/gentoo/pull/13551 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
* python-utils-r1.eclass: Enable python3.8Michał Górny2019-11-111-2/+2
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* cmake-utils.eclass: Fix BUILD_SHARED_LIBS variable typeAlexander Tsoy2019-11-111-1/+1
| | | | | | | | | | This fixes the following warning: CMake Warning (dev) at gentoo_common_config.cmake:8 (SET): implicitly converting 'BOOLEAN' to 'STRING' type. Signed-off-by: Alexander Tsoy <alexander@tsoy.me> Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* kde5-functions.eclass: Must not be used directly by ebuildAndreas Sturmlechner2019-11-111-1/+1
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* kde5.eclass: Inherit kde.org.eclass and drop moved functions/varsAndreas Sturmlechner2019-11-111-210/+13
| | | | | | | | | | | | | | | | | | | | | Functions moved to kde.org: - _kde_is_unreleased - _calculate_src_uri - _calculate_live_repo - kde5_pkg_nofetch - kde5_src_unpack Variables moved to kde.org: - KDE_BUILD_TYPE - KDE_SELINUX_MODULE - KDE_UNRELEASED - HOMEPAGE Variables deprecated: - KDE_SUBSLOT (define SLOT in ebuild) - KMNAME (use KDE_ORG_NAME in kde.org.eclass instead) Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* ecm.eclass: Inherit xdg only if ECM_NONGUI=falseAndreas Sturmlechner2019-11-111-13/+17
| | | | | | xdg phase functions were already only called based on this var. Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* ecm.eclass: Fix punt_bogus_dep -> ecm_punt_bogus_depAndreas Sturmlechner2019-11-111-4/+4
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* ecm.eclass: Fix inverted usex handbook logicAndreas Sturmlechner2019-11-101-1/+1
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* ecm.eclass: Fix typoAndreas Sturmlechner2019-11-101-1/+1
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* kde.org.eclass: Standard HOMEPAGE for kde-plasma and kde-frameworksAndreas Sturmlechner2019-11-101-5/+12
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* kde.org.eclass: Branching for kde-apps/ switched to "release/YY.MM"Andreas Sturmlechner2019-11-101-1/+1
| | | | | | | KDE Applications is dead, long live the KDE release service. See also: https://mail.kde.org/pipermail/release-team/2019-October/011582.html Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* kde.org.eclass: New eclassAndreas Sturmlechner2019-11-101-0/+241
| | | | | | | | | | | | | | Support eclass for packages that are hosted on kde.org infrastructure. This eclass is mainly providing facilities for the upstream release groups Frameworks, Plasma, Applications to assemble default SRC_URI for tarballs, set up git-r3.eclass for stable/master branch versions or restrict access to unreleased (packager access only) tarballs in Gentoo KDE overlay, but it may be also used by any other package hosted on kde.org. It also contains default meta variables for settings not specific to any particular build system. Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* ecm.eclass: New eclassAndreas Sturmlechner2019-11-101-0/+639
| | | | | | | Set up default BDEPEND, DEPEND, RDEPEND. For ECM_TEST!=false, add RESTRICT+=" !test? ( test )" Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* perl-app.eclass: RemoveMichał Górny2019-11-101-52/+0
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* freebsd.eclass: RemoveMichał Górny2019-11-101-338/+0
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* distutils-r1.eclass: Add distutils_enable_tests to ease testingMichał Górny2019-11-101-0/+60
| | | | | | | Add a helpful function to handle adding common stuff for the most common test runners. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* toolchain.eclass: advertise fortran support for >=gcc-4.2+Sergei Trofimovich2019-11-101-1/+3
| | | | Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* autotools.eclass: drop outdated sys-devel/gettext blockerThomas Deutschmann2019-11-091-4/+1
| | | | | | | | All <sys-devel/gettext-0.18.1.1-r3 versions are gone. Reported-by: Jory Pratt <anarchy@gentoo.org> Signed-off-by: Thomas Deutschmann <whissi@gentoo.org> Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* toolchain-binutils.eclass: add RESTRICT="!test? ( test )"Sergei Trofimovich2019-11-091-0/+3
| | | | Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* toolchain.eclass: restore RESTRICT=strip on <gcc-9.2-r1, bug #699446Sergei Trofimovich2019-11-061-10/+10
| | | | | | | | | | | | | | commit d16e2840220 ("rename USE=regression-test to USE=test") added a 'RESTRICT="!test? ( test )"' assignment and accidentally overrode existing RESTRICT="strip" one. That reintroduced excessive stripping regression. Move RESTRICT assignments closer to one another and restore RESTRICT="strip". Reported-by: sargastic@gmail.com Closes: https://bugs.gentoo.org/699446 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* eclass/tests/toolchain-funcs.sh add test for 'tc-cpp-is-true()'Sergei Trofimovich2019-11-061-0/+24
| | | | | | | | | | | | | With patch from bug #698912 reverted we observe failures as: * Testing tc-cpp-is-true (gcc, defined) ... [ ok ] * Testing tc-cpp-is-true (gcc, not defined) ... [ ok ] * Testing tc-cpp-is-true (gcc, defined on -ggdb3) ... [ !! ] * Testing tc-cpp-is-true (clang, defined) ... [ !! ] * Testing tc-cpp-is-true (clang, not defined) ... [ ok ] * Testing tc-cpp-is-true (clang, defined on -ggdb3) ... [ !! ] Closes: https://bugs.gentoo.org/698912 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* toolchain-funcs.eclass: fix tc-cpp-is-true() to work with clangMattias Nissler2019-11-061-8/+7
| | | | | | | | | | | | | Clang's preprocessor likes to output a leading newline, which makes the comparison always fail. GCC generates additional output with certain flags (e.g. -ggdb3) as well. Hence, switch the test to trigger a preprocessor error when the condition is not true and examine the exit code. Bug: https://bugs.gentoo.org/698912 Signed-off-by: Mattias Nissler <mnissler@chromium.org> Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* toolchain.eclass: rename USE=regression-test to USE=testSergei Trofimovich2019-11-041-27/+6
| | | | | | | | | | | | | gcc-8.3 is stable on all the platforms for a while. Renaming 'regression-test' to 'test' for older ebuilds as well. While at it: - make test runs unconditional - drop installation of test results - add RESTRICT="!test? ( test )" - drop 'regression-test' from metadata files Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* texlive-common.eclass: code cleanupMikle Kolyada2019-11-041-2/+2
| | | | Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
* texlive-module.eclass: code cleanupMikle Kolyada2019-11-041-48/+10
| | | | Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
* ruby-ng.eclass: Add RESTRICT="!test? ( test )"Michał Górny2019-11-041-1/+4
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* ruby-fakegem.eclass: Add RESTRICT="!test? ( test )"Michał Górny2019-11-041-0/+4
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* llvm.org.eclass: New eclass to help maintaining LLVMMichał Górny2019-11-031-0/+198
| | | | | | | | | | | | llvm.org eclass is meant to provide helper routines for maintaining LLVM packages. It takes care of covering the differences between release, prerelease and git ebuilds in a unified API. This will make maintenance much easier. Initially, the eclass takes care of fetching and unpacking the archives. Later on, I will work on moving some more common stuff there. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* myspell.eclass: Remove last rited eclassMichał Górny2019-11-031-259/+0
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* eclass/nvidia-driver.eclass: Set RESTRICT="bindist mirror test"Jeroen Roovers2019-11-021-0/+1
| | | | Signed-off-by: Jeroen Roovers <jer@gentoo.org>
* python-utils-r1.eclass: Fix python_optimize to take all of sys.pathMichał Górny2019-11-011-1/+1
| | | | | | | | | Make sure to append NUL to every path in sys.path, rather than using it as a separator between output entries. This fixes a bug when the last path entry was silently discarded, and the function stopped working with PyPy as a result. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* eclass/java-{ant,utils}: updated for new javatoolkit layoutMiroslav Šulc2019-10-302-8/+16
| | | | | Bug: https://bugs.gentoo.org/627440 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
* toolchain.eclass: set SLOT=${GCCMAJOR} for gcc-10*Sergei Trofimovich2019-10-271-1/+7
| | | | Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* toolchain.eclass: filter out -mstackrealign, bug #688580Sergei Trofimovich2019-10-261-0/+7
| | | | | | | | | | | | -mstackrealign breaks stack unwinding via _Unwind_RaiseException in libgcc_s.so.1. Not clear why exactly. Probably by breaking unwinding information during realignment. The change works it around by dropping -mstackrealign when building gcc. Reported-by: Erik Bug: https://bugs.gentoo.org/688580 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* texlive-module.eclass: Fix eclassdocMichał Górny2019-10-261-1/+1
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* texlive-module.eclass: fix eclassdoc problemsMikle Kolyada2019-10-251-0/+8
| | | | Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
* perl-app.eclass: mark @DEADAndreas K. Hüttel2019-10-231-0/+9
| | | | | | Bug: https://bugs.gentoo.org/637836 Bug: https://bugs.gentoo.org/239510 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
* bzr.eclass: Add die statements.Ulrich Müller2019-10-221-2/+2
| | | | | | ... to make the QA lead happy. Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* bzr.eclass: Still used by app-emacs/vm.Ulrich Müller2019-10-221-4/+0
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* bzr.eclass: Last riteDavid Seifert2019-10-221-1/+5
| | | | Signed-off-by: David Seifert <soap@gentoo.org>
* qt5-build.eclass: qt5_regenerate_global_configs: use `cp` instead of `mv`Andreas Sturmlechner2019-10-211-1/+1
| | | | | | Thanks-to: Lars Wendler <polynomial-c@gentoo.org> Bug: https://bugs.gentoo.org/698174 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* ada.eclass: add export of GNATTupone Alfredo2019-10-211-1/+6
| | | | Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
* toolchain.eclass: switch to git-r3 for live ebuildsSergei Trofimovich2019-10-201-6/+8
| | | | Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* distutils-r1.eclass: Add new pypy path to addpredictMichał Górny2019-10-201-0/+2
| | | | | Closes: https://bugs.gentoo.org/698024 Signed-off-by: Michał Górny <mgorny@gentoo.org>