summaryrefslogtreecommitdiff
path: root/eclass
Commit message (Collapse)AuthorAgeFilesLines
* eclass/texlive-module.eclass: simplify doc useflag handling.Alexis Ballier2018-07-211-4/+4
| | | | | The documentation special case was added for documentation only packages. Some years ago, upstream merged them into normal packages, so this is now useless.
* eclass/texlive-module.eclass: Improve eapi 6 & 7 supportAlexis Ballier2018-07-211-8/+35
|
* distutils-r1.eclass: Enable parallel builds in py3.5+Michał Górny2018-07-201-3/+19
| | | | | | | | | | | Python 3.5+ introduces parallel build support in distutils. Take advantage of that by passing appropriate -j option. Since distutils does not support an equivalent of --load-average, default to the number of CPUs+1 when unspecified. In order to avoid breaking stable systems, introduce the new behavior only for EAPI 7 ebuilds, or older EAPI ebuilds with unstable implementations (Python 3.7 and PyPy 3).
* linux-info.eclass: fix for prematurely merged patchMarty E. Plummer2018-07-171-1/+1
| | | | | | https://github.com/gentoo/gentoo/pull/9222 was merged prematurely, and included the first iteration of my linux-info EAPI 7 patch, and requires this patch on top to avoid a double slash.
* linux-info.eclass: account for lack of trailing slashMarty E. Plummer2018-07-171-9/+9
| | | | | | | | | | | In EAPI 7, D, ED, ROOT, EROOT no longer have a trailing slash[1]. This makes finding /usr/src/linux not work properly as it currently stands. Use the form "${ROOT%/}/" where apropos in order to unify behavior across EAPIs. 1: https://dev.gentoo.org/~ulm/pms/head/pms.html#x1-113001r7 Closes: https://github.com/gentoo/gentoo/pull/9222
* apache-2.eclass: New suexec options.Lars Wendler2018-07-171-2/+10
|
* apache-2.eclass: Replaced versionator with eapi7-ver eclass.Lars Wendler2018-07-171-3/+3
|
* eutils.eclass: make_wrapper, fix 'cd' error handlingMichał Górny2018-07-161-1/+1
| | | | | Reorder the generated wrapper, and add '&&' after the 'cd' call so that the wrapper will not try to execute the program if 'cd' command fails.
* ruby-ng-gnome2.eclass: add proper EAPI guardHans de Graaff2018-07-151-1/+9
|
* ruby-single.eclass: allow EAPI 7Hans de Graaff2018-07-151-2/+2
| | | | No changes needed, we only provide an environement variable here.
* ruby-utils.eclass: drop obsolete ruby22 targetHans de Graaff2018-07-151-2/+2
|
* kde5-functions.eclass: Drop obsolete kde-apps-18.04.2 min depsAndreas Sturmlechner2018-07-141-1/+0
|
* kde5.eclass: Add ECM_KDEINSTALLDIRSAndreas Sturmlechner2018-07-141-2/+13
|
* linux-info.eclass: use eapi7-verMarty E. Plummer2018-07-141-4/+5
| | | | | | | versionator is banned in EAPI 7, so switch to either native EAPI 7 version functions or inherit eapi7-ver on EAPI 0-6. Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* eclass: selinux-policy-2: update SRC_URIJason Zaman2018-07-121-2/+2
|
* eclass/mysql-multilib-r1: use HTTPsMichael Mair-Keimberger2018-07-111-1/+1
| | | | Closes: https://github.com/gentoo/gentoo/pull/9135
* linux-info.eclass: Skip linux_config_*_exists on non-LinuxMichał Górny2018-07-091-2/+2
| | | | | | The linux_config_src_exists and linux_config_bin_exists always return false on non-Linux systems by design. Short-circuit it via 'kernel_linux' check.
* linux-info.eclass: Die in most of public-ish APIs on non-LinuxMichał Górny2018-07-091-0/+36
| | | | | | | | | Add appropriate 'die' calls in most of the seemingly public APIs of the eclass that could be called by ebuilds and that are going to fail horribly when used on non-Linux systems. This means that e.g. 'kernel_is' calls need to be explicitly guarded in ebuilds, as we can't really reasonably return 'true' or 'false' if there is no Linux kernel in the first place.
* linux-info.eclass: Ignore check_extra_config on non-LinuxMichał Górny2018-07-091-1/+7
| | | | | | | | | | Make the check_extra_config and pkg_setup calls no-op on non-Linux systems. Those systems don't have a Linux kernel, so they obviously can't satisfy the requirements. This currently results in a lot of useless warnings about missing Linux kernel sources on FreeBSD. We could make it conditional per-package but there is really no point in adding a lot of conditionals everywhere if this eclass can't ever work on non-Linux.
* linux-info.eclass: require_configured_kernel, improve error handlingMichał Górny2018-07-091-1/+1
| | | | | | Add error handling for failing get_version call in require_configured_kernel. Give just a simple 'die' message since the get_version function should verbosely explain the problem.
* linux-info.eclass: Move get_version to require_configured_kernelMichał Górny2018-07-091-3/+1
| | | | | | | All require_configured_kernel calls in this eclass are followed by a get_version call. Since even calling it proactively wouldn't hurt, move it to require_configured_kernel. This saves us from having to manually implement error handling for it everywhere.
* linux-info.eclass: linux-info_get_any_version, die on failureMichał Górny2018-07-091-1/+3
| | | | | | | Make linux-info_get_any_version die if it can't determine any version of the Linux kernel. This indicates a problem with the eclass code (as it should not happen on Linux) and the missing KV_* variables are going to cause random misbehavior and failures.
* linux-info.eclass: Replace unnecessary $? checksMichał Górny2018-07-091-6/+3
|
* linux-info.eclass: get_localversion, do not call 'ls'Michał Górny2018-07-091-1/+6
| | | | | | Use bash array to perform a safe filename glob instead of calling 'ls'. Also, use nullglob to cleanly handle no matches instead of silencing errors.
* toolchain.eclass: support gcc patches from cygwinportsMichael Haubenwallner2018-07-091-0/+28
| | | | | | Download and apply patches found in Cygwin's gcc.cygport, maintained at github/cygwinports/gcc, for a compiler running on cygwin. The ebuild can define the cygwinports' git commit id as CYGWINPORTS_GITREV.
* toolchain.eclass: Cygwin provides posix threadsMichael Haubenwallner2018-07-091-1/+1
| | | | | Upstream Cygwin does build their gcc with posix threads for ages, at least since gcc4-4.5.1-1.cygport (committed on Oct 3, 2010).
* toolchain.eclass: D->ED for where to start cleanupsMichael Haubenwallner2018-07-091-5/+5
|
* toolchain.eclass: ROOT->EROOT at looking for gcc specs fileMichael Haubenwallner2018-07-091-1/+1
|
* toolchain.eclass: EAPI 7 aware for D,ED,ROOT,EROOTMichael Haubenwallner2018-07-091-18/+18
| | | | | | | | | These variables may or may not have the trailing slash. Additionally, avoid leading double slash (a network location for Cygwin) with ROOT and EROOT because they may be empty, while D and ED never should be empty and there is no reason so far to avoid double slashes in between. On the other hand, eclass variables like DATAPATH and LIBPATH do contain the leading slash, so an extra slash reduces readability for no reason.
* python-utils-r1.eclass: add python3_7 supportMike Gilbert2018-07-081-2/+2
|
* kde5.eclass: No subshellsAndreas Sturmlechner2018-07-031-2/+2
|
* kde5.eclass: Drop use_if_iuseAndreas Sturmlechner2018-07-031-6/+6
|
* kde5-functions.eclass: Add minimum deps for Plasma 5.13Andreas Sturmlechner2018-07-031-1/+2
|
* toolchain.eclass: Do not pass unused --disable-libgcj option in GCC >=7.Arfrever Frehtes Taifersar Arahesis2018-07-011-4/+6
| | | | | Closes: https://bugs.gentoo.org/659798 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* linux-mod: depend on libelfJason A. Donenfeld2018-06-281-1/+1
| | | | | | | | | Recent linux kernels rely on libelf at build time, which includes at the time of building out of tree modules. So if a module is relying on the existence of linux sources, it also needs to rely on libelf being installed. Signed-off-by: Jason A. Donenfeld <zx2c4@gentoo.org>
* qmake-utils.eclass: Ban Qt4-support in EAPI >=7Andreas Sturmlechner2018-06-271-0/+6
|
* qt4-r2.eclass: Mark DEADAndreas Sturmlechner2018-06-271-0/+1
|
* qt4-build-multilib.eclass: Mark DEADAndreas Sturmlechner2018-06-271-0/+1
|
* unpacker.eclass: disable path expansion while parsing SRC_URI #654960Mike Frysinger2018-06-251-1/+6
| | | | Closes: https://bugs.gentoo.org/654960
* eclass/mysql-v2: use HTTPs, fix HOMEPAGE LinkMichael Mair-Keimberger2018-06-221-4/+4
| | | | Closes: https://github.com/gentoo/gentoo/pull/8778
* chromium-2.eclass: remove .pak.info filesMike Gilbert2018-06-201-0/+2
|
* eclass/ros-catkin.eclass: Use https for homepage and add ROS_REPO_URI too ↵Alexis Ballier2018-06-201-1/+1
| | | | for a quicker link to the repo.
* latex-package.eclass: Support EAPI 7.Ulrich Müller2018-06-181-3/+6
|
* kernel-2.eclass:Mike Pagano2018-06-181-6/+8
| | | | | Fix the unapplying of fbcondecor for sparc and include check for K_WANT_GENPATCHES. Closes bug #652152.
* eclass/kernel-2: use HTTPsMichael Mair-Keimberger2018-06-181-1/+1
| | | | Closes: https://github.com/gentoo/gentoo/pull/8881
* gtk-sharp-module.eclass: Last riteMichał Górny2018-06-171-0/+7
| | | | Bug: https://bugs.gentoo.org/653460
* go-mono.eclass: Last riteMichał Górny2018-06-171-0/+7
| | | | Bug: https://bugs.gentoo.org/653460
* apache-2.eclass: Added "gdbm" USE flag to IUSE.Lars Wendler2018-06-171-1/+1
|
* apache-2.eclass: Add conditional dependency on sys-libs/gdbmLars Wendler2018-06-171-1/+2
|
* postgres.eclass: Add "12" to the reversal listAaron W. Swenson2018-06-131-2/+2
|