summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* eclass: standardize inherit guardDavid Seifert2024-10-081-2/+2
| | | | Signed-off-by: David Seifert <soap@gentoo.org>
* waf-utils.eclass: enable parallel installMike Gilbert2023-05-181-2/+3
| | | | | | | | This gives a nice speedup to net-fs/samba, which (re)links several hundred files in its install phase. Bug: https://bugs.gentoo.org/715542 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* waf-utils.eclass: fix spellingSam James2023-03-261-1/+1
| | | | | | | Thanks to codespell. Signed-off-by: Sam James <sam@gentoo.org> Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* waf-utils.eclass: Quote argument of ":" commandUlrich Müller2023-03-261-3/+3
| | | | | | This avoids globbing, see: https://www.shellcheck.net/wiki/SC2223 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* waf-utils.eclass: drop EAPI 6 supportDavid Seifert2022-12-271-6/+13
| | | | Signed-off-by: David Seifert <soap@gentoo.org>
* python-single-r1.eclass: drop EAPI 6 supportDavid Seifert2022-12-271-2/+2
| | | | Signed-off-by: David Seifert <soap@gentoo.org>
* python-r1.eclass: drop EAPI 6 supportDavid Seifert2022-12-271-1/+1
| | | | Signed-off-by: David Seifert <soap@gentoo.org>
* python-any-r1.eclass: drop EAPI 6 supportDavid Seifert2022-12-271-2/+2
| | | | Signed-off-by: David Seifert <soap@gentoo.org>
* waf-utils.eclass: set PYTHONHASHSEED environment variableMatthew Smith2022-11-251-0/+5
| | | | | | | | | | waf relies on Python set order, so let's make it consistent to avoid brittle builds. Added into existing phase functions instead of pkg_setup to retain compatibility with existing ebuilds. Signed-off-by: Matthew Smith <matthew@gentoo.org>
* waf-utils.eclass: set --jobs=1 for configure and installMatthew Smith2022-11-251-2/+3
| | | | | | | | | MAKEOPTS was only respected for src_compile, leading to out-of-memory issues for some users. Force number of concurrent jobs to 1 in src_configure and src_install phases as it doesn't provide much of a benefit anyway. Closes: https://bugs.gentoo.org/715542 Signed-off-by: Matthew Smith <matthew@gentoo.org>
* waf-utils.eclass: pass EXTRA_ECONF to configureMatthew Smith2022-11-251-0/+1
| | | | | | | Allows users to override configure flags as in other build systems. Closes: https://bugs.gentoo.org/817419 Signed-off-by: Matthew Smith <matthew@gentoo.org>
* waf-utils.eclass: add default mandir settingMatthew Smith2022-11-251-0/+3
| | | | | Closes: https://bugs.gentoo.org/376149 Signed-off-by: Matthew Smith <matthew@gentoo.org>
* waf-utils.eclass: add EAPI 8Sam James2022-09-301-2/+2
| | | | | | | | I dare say that if it were going to happen organically, it would've by now. Working on WAF packages is suffering enough. Signed-off-by: Sam James <sam@gentoo.org>
* waf-utils.eclass: Don't indent eclass documentationUlrich Müller2022-05-121-4/+6
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* *.eclass: @ECLASS-VARIABLE renamed to @ECLASS_VARIABLEUlrich Müller2022-03-241-2/+2
| | | | | Bug: https://bugs.gentoo.org/835396 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* waf-utils.eclass: [QA] drop support for < EAPI 6Sam James2021-06-201-3/+2
| | | | | | | No consumers in tree. Signed-off-by: Sam James <sam@gentoo.org> Signed-off-by: David Seifert <soap@gentoo.org>
* waf-utils.eclass: mark WAF_VERBOSE as @USER_VARIABLESam James2021-04-121-1/+2
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* waf-utils.eclass: support EAPI-7Marek Szuba2020-12-221-2/+2
| | | | | | | | | Trivial bump. Tested with a modified media-video/mpv ebuild (which package requires this change before it can be migrated to Lua eclasses), seems to work fine. Closes: https://bugs.gentoo.org/743826 Signed-off-by: Marek Szuba <marecki@gentoo.org>
* waf-utils.eclass: Replace NO_WAF_LIBDIR with an automatic checkChris Mayo2020-04-011-8/+4
| | | | | | | | Test `waf --help` for --libdir support instead. Signed-off-by: Chris Mayo <aklhfex@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/15093 Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
* waf-utils.eclass: Support --docdir and --htmldirChris Mayo2020-04-011-3/+11
| | | | | | | | | | | waf can optionally set the standard GNU directories [1]. Based on the code for econf in Portage's phase-helpers.sh. [1] https://waf.io/apidocs/tools/gnu_dirs.html Closes: https://bugs.gentoo.org/711612 Signed-off-by: Chris Mayo <aklhfex@gmail.com> Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
* waf-utils.eclass: Respect PKG_CONFIGJames Le Cuirot2019-01-131-0/+1
| | | | | | Waf has a helper that looks for PKGCONFIG. This fixes cross-compiling. Signed-off-by: James Le Cuirot <chewi@gentoo.org>
* waf-utils.eclass: Simplify output of configure command and argumentsJames Le Cuirot2019-01-131-7/+13
| | | | | | | | We can just assign these to an array and echo before executing. Using @Q makes Bash quote the output. This only works in Bash 4.4 and later but on earlier versions, it simply doesn't quote. Signed-off-by: James Le Cuirot <chewi@gentoo.org>
* waf-utils.eclass: add parameters to compile and installktrace2018-10-091-5/+5
| | | | | Signed-off-by: Victor Kustov <ktrace@yandex.ru> Signed-off-by: Michał Górny <mgorny@gentoo.org>
* waf-utils.eclass: Fix handling WAF_VERBOSE=OFFMichał Górny2018-08-291-1/+1
| | | | Patch-by: Joke Junkie
* waf-utils.eclass: add @SUPPORTED_EAPISMichał Górny2018-08-151-0/+1
|
* Drop $Id$ per council decision in bug #611234.Robin H. Johnson2017-02-281-1/+0
| | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* waf-utils.eclass: Simplify --libdir passing logic using arraysMichał Górny2016-02-281-18/+9
|
* waf-utils.eclass: Do not inherit eutils in EAPI 6+Michał Górny2016-02-281-1/+2
|
* waf-utils.eclass: Remove stale Python dependenciesMichał Górny2016-02-281-7/+0
|
* waf-utils.eclass: Fix ban conditionMichał Górny2016-02-281-1/+1
|
* waf-utils.eclass: Ban non-python-r1 usesMichał Górny2016-02-281-15/+21
| | | | | Apply the ban for waf-utils.eclass uses without any of the python-r1 suite eclasses, that was due for almost a year.
* waf-utils.eclass: Eclass works with EAPI-6.Lars Wendler2016-02-241-1/+1
| | | | Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
* proj/gentoo: Initial commitRobin H. Johnson2015-08-081-0/+129
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed