summaryrefslogtreecommitdiff
path: root/eclass
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* toolchain.eclass: enable selective stipping for EAPI=7Sergei Trofimovich2019-10-191-4/+16
| | | | | | | | | | | | | | Before the change we stripped no binaries or object files for gcc on any EAPI. After the change we strip all native binaries, libraries and object files (only on EAPI=7). Non-native binaries (cross-compiler case) is skipped by means of 'dostrip -x'. Bug: https://bugs.gentoo.org/686512 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* toolchain.eclass: drop support for deprecated mingw-runtimeSergei Trofimovich2019-10-191-2/+1
| | | | | Bug: https://bugs.gentoo.org/584858 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* toolchain.eclass: add bug references to commentsSergei Trofimovich2019-10-191-12/+18
| | | | | | No functional changes. Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* toolchain.eclass: port to EAPI=7Sergei Trofimovich2019-10-191-2/+4
| | | | Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* toolchain.eclass: isolate 'epatch' into 'tc_apply_patches'Sergei Trofimovich2019-10-191-20/+23
| | | | | | | | | tc_apply_patches applies all patches and patchsets. Will ease eventual migration to EAPI=7. While at it dropped use of EPATCH_SUFFIX. Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* toolchain.eclass: drop PIE patch support for <gcc-4.2Sergei Trofimovich2019-10-191-17/+3
| | | | | | | | ::gentoo and ::toolchain don't have any ebuilds using PIE patchset. If someone really needs to resurrect these old patches it's easier to reshuffle the patchset itself. Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* toolchain-glibc.eclass: drop support for 'BRANCH_UPDATE'Sergei Trofimovich2019-10-191-12/+0
| | | | | | | BRANCH_UPDATE needs explicit tarball creation. Live ebuilds suit better for tracking upstream development. Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* toolchain.eclass: drop support for 'BRANCH_UPDATE'Sergei Trofimovich2019-10-192-25/+0
| | | | | | | BRANCH_UPDATE needs explicit tarball creation. Live ebuilds or weekly snapshots suit better for tracking upstream development. Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* toolchain.eclass: clarify use case of GCC_A_FAKEITSergei Trofimovich2019-10-191-0/+2
| | | | Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* toolchain.eclass: move gentoo patches into own helperSergei Trofimovich2019-10-191-13/+17
| | | | | | Cleanup. No functional change. Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* myspell.eclass: Last riteDavid Seifert2019-10-181-0/+3
| | | | Signed-off-by: David Seifert <soap@gentoo.org>
* perl-module.eclass: fix eclassdoc warnings, bug 637838Andreas K. Hüttel2019-10-171-5/+10
| | | | | Closes: https://bugs.gentoo.org/637838 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
* kde5.eclass: Simplify KDE_DESIGNERPLUGIN BDEPENDsAndreas Sturmlechner2019-10-161-3/+3
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* kde5-functions.eclass: KDE Plasma 5.17.0 depends on KF-5.63.0 minimumAndreas Sturmlechner2019-10-161-0/+1
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* kde5-functions.eclass: Drop obsolete KDE Plasma 5.15.5 min depsAndreas Sturmlechner2019-10-161-4/+0
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* kde5-functions.eclass: Drop EAPI-6 supportAndreas Sturmlechner2019-10-161-47/+1
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* kde5.eclass: Drop EAPI-6 supportAndreas Sturmlechner2019-10-161-23/+4
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* font.eclass: font_cleanup_dirs: Use `has` instead of `for`Andreas Sturmlechner2019-10-161-7/+5
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* font.eclass: Move while to primary shellAndreas Sturmlechner2019-10-161-2/+2
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* font.eclass: Add error handling where applicableAndreas Sturmlechner2019-10-161-15/+20
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* font.eclass: Port to EAPI-7Andreas Sturmlechner2019-10-161-38/+37
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* toolchain-glibc.eclass: allow glibc dongrade on I_ALLOW_TO_BREAK_MY_SYSTEMSergei Trofimovich2019-10-121-1/+1
| | | | Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* kernel-2.eclass: Move genpatches uri from /space/distfiles-local to devspaceMike Pagano2019-10-121-1/+1
| | | | | | Co-authored-by: Thomas Deutschmann <whissi@gentoo.org> Signed-off-by: Mike Pagano <mpagano@gentoo.org>