summaryrefslogtreecommitdiff
path: root/eclass
Commit message (Collapse)AuthorAgeFilesLines
* meson.eclass: Set needs_exe_wrapper in cross fileMatt Turner2020-03-081-0/+4
| | | | | | | | | | | needs_exe_wrapper tells meson whether the build machine is able to directly execute the binaries it produces or whether it needs an exe wrapper (like QEMU). For non-native ABI builds like building 32-bit libraries on an x86-64 system, we want this set to false to communicate to meson that the build machine can run the binaries directly. Reviewed-by: Mike Gilbert <floppym@gentoo.org> Signed-off-by: Matt Turner <mattst88@gentoo.org>
* go-module.eclass: fix strip restrictionWilliam Hubbs2020-03-081-1/+1
| | | | Signed-off-by: William Hubbs <williamh@gentoo.org>
* eclass/go-module: clarify that h1: should be omitted from EGO_SUMRobin H. Johnson2020-03-071-4/+22
| | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* go-module: workaround MissingUnpackerDep QA false positiveRobin H. Johnson2020-03-071-0/+6
| | | | | | | | | | | | | | | | | The go.sum behavior in this eclass triggers a false positive from pkgcheck, specifically: MissingUnpackerDep: version ...: missing BDEPEND="app-arch/unzip" The eclass & package do NOT invoke any direct unpacking of the zipfiles, and leave that entirely to Go's builtin code, making app-arch/unzip completely unneeded. Adding packages using the new eclass functionality will spam the above MissingUnpackerDep warning, so workaround it for now, until pkgcheck/QA can not give the false positive. Reference: https://github.com/pkgcore/pkgcheck/issues/214 Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* toolchain.eclass: tweak commentSergei Trofimovich2020-03-071-1/+1
| | | | Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* toolchain.eclass: always use -O2, even when no -O is passed in.Sergei Trofimovich2020-03-061-1/+5
| | | | | | | | | Mike noticed that CFLAGS without any optimization options still effectively are -O0. Let's follow glibc ebuild here and always use -O2. Suggested-by: Mike Gilbert Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* go-module.eclass: remove the -mod readonly switch from go getWilliam Hubbs2020-03-061-2/+0
| | | | | | | This is not valid in go 1.14, and according to their release notes was ignored or caused the build to fail. Signed-off-by: William Hubbs <williamh@gentoo.org>
* distutils-r1.eclass: Fix sphinx check for plugins useMichał Górny2020-03-061-1/+1
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* toolchain.eclass: mangle -O3 down to -O2, not -O0Sergei Trofimovich2020-03-051-1/+1
| | | | | | | | | | | | | | In bug #701786 'strip-flags' removed all unsafe options first including -O3 and only then mangled -O? to -O2. This effectively made gcc to compalie wth -O0, generated huge slow profile and confused LTO. Let's default to safer -O3->-O2 transition. Reported-by: jeff.lemos.a@gmail.com Closes: https://bugs.gentoo.org/701786 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* distutils-r1.eclass: Make /usr/lib/pypy/share warning fatalMichał Górny2020-03-051-3/+1
| | | | | | | | All the share-related issues should have been fixed by the PyPy patch by now, and since PyPy target is not stable, there is really no need to be very graceful here. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* distutils-r1.eclass: Do not require distutils-r1_python_install_allMichał Górny2020-03-051-11/+0
| | | | | | | | Stop requiring ebuilds to call distutils-r1_python_install_all default function. It just calls einstalldocs these days, and it is unlikely that more magic will ever be added there. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* python-utils-r1.eclass: Remove leftover from virtual/pypy*Michał Górny2020-03-051-17/+3
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* python-single-r1.eclass: Report impl used by python_setupMichał Górny2020-03-051-0/+2
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* python-any-r1.eclass: Report impl used by python_setupMichał Górny2020-03-051-0/+4
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* python-r1.eclass: Report impl used by python_setupMichał Górny2020-03-051-0/+1
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* python-utils-r1.eclass: Update docs to use python_setupMichał Górny2020-03-051-2/+2
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* python-utils-r1.eclass: Mark _python_check_locale_sanity @INTERNALMichał Górny2020-03-051-0/+1
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* python*-r1.eclass, distutils-r1.eclass: Link to Python GuideMichał Górny2020-03-055-13/+13
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* go-module.eclass: add support for EGO_SUMWilliam Hubbs2020-03-041-40/+326
| | | | | | The EGO_SUM variable replaces EGO_VENDOR for go modules. Signed-off-by: William Hubbs <williamh@gentoo.org>
* toolchain.eclass: add USE=zstd for gcc-10Sergei Trofimovich2020-02-291-0/+9
| | | | | | | gcc-10 added support for zstd compression algorithm for LTO streaming. Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* libretro-core.eclass: Use | instead of : as sed CLFAGS delimiterCraig Andrews2020-02-281-6/+6
| | | | | | | | Signed-off-by: Craig Andrews <candrews@gentoo.org> Closes: https://bugs.gentoo.org/710952 Closes: https://bugs.gentoo.org/710972 Closes: https://bugs.gentoo.org/711048 Closes: https://bugs.gentoo.org/710880
* eclass/tests/python-utils-r1.sh: Cover PYTHON_{CFLAGS,LIBS}Michał Górny2020-02-271-0/+6
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* user.eclass: enewgroup, allow -1 as gidMichał Górny2020-02-261-1/+1
| | | | | | | | | Allow using '-1' to specify 'next free GID' for enewgroup. While technically this can already be specified by omitting gid, allowing -1 improves consistency with enewuser. Closes: https://bugs.gentoo.org/707508 Signed-off-by: Michał Górny <mgorny@gentoo.org>
* user.eclass: Use more verbose loggingMichał Górny2020-02-261-20/+20
| | | | | | | | Replace 'einfo' calls with either 'elog' or 'ewarn'. Practically all messages printed by the eclass functions are important, in particular regarding account changes and lack of permissions. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* epunt-cxx.eclass: Remove last-rited eclassDavid Seifert2020-02-251-51/+0
| | | | Signed-off-by: David Seifert <soap@gentoo.org>
* toolchain.eclass: update default live branchesSergei Trofimovich2020-02-251-1/+1
| | | | | | Change live branch from gcc-<N>-branch to releases/gcc-<N> Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* eclass: php-ext-source-r3 - Use relative symlink for active iniBrian Evans2020-02-241-1/+1
| | | | Signed-off-by: Brian Evans <grknight@gentoo.org>
* texlive-module:eclass correct missing if blockMikle Kolyada2020-02-231-1/+5
| | | | Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
* eclass/vdr-plugin-2.eclass: EAPI=4 support removedJoerg Bornkessel2020-02-231-12/+9
| | | | | | | removed eapi=4 support removed unneeded vdr vdr versions test Signed-off-by: Joerg Bornkessel <hd_brummy@gentoo.org>
* elisp.eclass: Test if the DOCS variable has a value.Ulrich Müller2020-02-221-2/+2
| | | | | | | | The current test for the return status of declare -p will be true if DOCS is declared but otherwise has a void value. Test for presence of an = sign in the output instead. Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* savedconfig.eclass: Remove @ROFF from eclass documentation.Ulrich Müller2020-02-221-10/+10
| | | | | | | | Remove all @ROFF tokens, because they make conversion to any format other than a man page very difficult. Replace the numbered list by explicitly numbered paragraphs. Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* elisp-common.eclass: Replace @ROFF in eclass documentation.Ulrich Müller2020-02-221-9/+5
| | | | | | | Replace all @ROFF tokens by @SUBSECTION, because the former makes conversion to any format other than a man page very difficult. Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* eapi7-ver.eclass: Replace @ROFF in eclass documentation.Ulrich Müller2020-02-221-5/+3
| | | | | | | Replace all @ROFF tokens by @SUBSECTION, because the former makes conversion to any format other than a man page very difficult. Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* eclass/acct-user.eclass: disable pkg_* on Prefix.Benda Xu2020-02-211-0/+10
| | | | | | | | Gentoo Prefix runs with a normal user and cannot manage any other user. Exit gracefully with a message. Closes: https://bugs.gentoo.org/709570 Signed-off-by: Benda Xu <heroxbd@gentoo.org>
* distutils-r1.eclass: Add pyproject.toml supportMichał Górny2020-02-201-0/+29
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* eclass/postgres{,-multi}.eclass: Note EAPI7 supportAaron W. Swenson2020-02-182-2/+2
| | | | | | Forgot comment noting EAPI7 support Signed-off-by: Aaron W. Swenson <titanofold@gentoo.org>
* eclass/postgres{,multi}.eclass: Allow EAPI7Aaron W. Swenson2020-02-182-5/+5
| | | | | | Minor change to allow EAPI7. Signed-off-by: Aaron W. Swenson <titanofold@gentoo.org>
* portability.eclass: avoid lexicographic number comparison, bug #705250Sergei Trofimovich2020-02-181-2/+2
| | | | | Closes: https://bugs.gentoo.org/705250 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* toolchain.eclass: don't strip EPREFIX in dosymSergei Trofimovich2020-02-161-2/+2
| | | | | | | | | | This reverts 'dosym' part of "toolchain.eclass: Prepend/strip EPREFIX" patch. portage-2.3.85 and above contains "dosym: revert deprecated prefix compat (bug 615594)" patch. That effectively breaks gcc's /usr/bin/ symlinks. Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* gstreamer.eclass: [QA] inherit ltprune.eclass directlyDavid Seifert2020-02-151-2/+2
| | | | Signed-off-by: David Seifert <soap@gentoo.org>
* gnome2.eclass: [QA] inherit ltprune.eclass directlyDavid Seifert2020-02-151-2/+2
| | | | Signed-off-by: David Seifert <soap@gentoo.org>
* autotools-multilib.eclass: [QA] inherit ltprune.eclass directlyDavid Seifert2020-02-151-2/+2
| | | | Signed-off-by: David Seifert <soap@gentoo.org>
* latex-package.eclass: improve files searchMikle Kolyada2020-02-141-20/+20
| | | | Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
* ant-tasks.eclass: Use standard copyright/license header.Ulrich Müller2020-02-141-2/+2
| | | | | | | | | | | | | | As decided by the council in its 2020-02-09 meeting, ebuilds and eclasses in the Gentoo repository must be licensed under GPL-2. Note that stripping out the "or later" clause is possible without asking authors for their permission: https://www.gnu.org/licenses/gpl-faq.en.html#AllCompatibility Restore the original start year 2007, which is also the year when the eclass was first committed. Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* kde.org.eclass: Support kde-plasma unstable point release tarballsAndreas Sturmlechner2020-02-141-2/+2
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* linux-mod.eclass: [QA] inherit toolchain-funcs.eclass directlyDavid Seifert2020-02-131-2/+2
| | | | | Closes: https://github.com/gentoo/gentoo/pull/14646 Signed-off-by: David Seifert <soap@gentoo.org>
* libretro-core.eclass: [QA] inherit toolchain-funcs.eclass directlyDavid Seifert2020-02-131-2/+2
| | | | Signed-off-by: David Seifert <soap@gentoo.org>
* mount-boot.eclass: Make awk expression work with mawk.Ulrich Müller2020-02-131-3/+3
| | | | | | | | | | gensub() is a GNUism and doesn't exist in all awk variants. Use a loop instead. Tested with gawk, nawk, mawk, and busybox awk. Closes: https://bugs.gentoo.org/709322 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* readme.gentoo.eclass: [QA] inherit estack.eclass directlyDavid Seifert2020-02-121-2/+2
| | | | | Closes: https://github.com/gentoo/gentoo/pull/14645 Signed-off-by: David Seifert <soap@gentoo.org>
* golang-vcs.eclass: [QA] inherit estack.eclass directlyDavid Seifert2020-02-121-2/+2
| | | | Signed-off-by: David Seifert <soap@gentoo.org>