summaryrefslogtreecommitdiff
path: root/eclass
Commit message (Collapse)AuthorAgeFilesLines
* qmail.eclass: retire qmail_tcprules_fixup()Rolf Eike Beer2021-08-171-22/+0
| | | | | | | | | This has been in all ebuilds since the move of the portage tree to git, so everyone should have already moved the files. Signed-off-by: Rolf Eike Beer <eike@sf-mail.de> Closes: https://github.com/gentoo/gentoo/pull/21999 Signed-off-by: Sam James <sam@gentoo.org>
* qmail.eclass: remove needless keepdirsRolf Eike Beer2021-08-171-2/+2
| | | | | | | | Adding an extra keep file in the intermediate /var/qmail is never necessary, and the binary directory is filled by the installation anyway. Signed-off-by: Rolf Eike Beer <eike@sf-mail.de> Signed-off-by: Sam James <sam@gentoo.org>
* qmail.eclass: simplify is_prime()Rolf Eike Beer2021-08-172-33/+70
| | | | | | | | The previous algorithm would scan for all primes for a given number, which takes needlessly long. Signed-off-by: Rolf Eike Beer <eike@sf-mail.de> Signed-off-by: Sam James <sam@gentoo.org>
* qmail.eclass: remove magic to query root groupRolf Eike Beer2021-08-171-45/+42
| | | | | | | | | | The default owner is root:root anyway, so just make sure other settings do not leak outside from the places where it is actually used. Use more appropiate install helpers at several places. This also fixes qmail_supervise_install_one() when called from outside of qmail_src_install(). Signed-off-by: Rolf Eike Beer <eike@sf-mail.de> Signed-off-by: Sam James <sam@gentoo.org>
* qmail.eclass: support EAPI 8Rolf Eike Beer2021-08-171-2/+2
| | | | | Signed-off-by: Rolf Eike Beer <eike@sf-mail.de> Signed-off-by: Sam James <sam@gentoo.org>
* chromium-2.eclass: enable EAPI 8Stephan Hartmann2021-08-161-3/+3
| | | | Signed-off-by: Stephan Hartmann <sultan@gentoo.org>
* chromium-2.eclass: update documentationStephan Hartmann2021-08-161-1/+12
| | | | Signed-off-by: Stephan Hartmann <sultan@gentoo.org>
* chromium-2.eclass: remove GYP supportStephan Hartmann2021-08-161-36/+0
| | | | | | | Chromium project replaced GYP with GN in 2016 and nothing in ::gentoo is using GYP. Signed-off-by: Stephan Hartmann <sultan@gentoo.org>
* autotools.eclass: fix EAPI 8 supportSam James2021-08-151-1/+1
| | | | | | Fixes: 0d6f1fbaa1198c04f6efb5bb8be505b4394c3541 Reported-by: Joonas Niilola <juippis@gentoo.org> Signed-off-by: Sam James <sam@gentoo.org>
* python-utils-r1.eclass: Handle deselect/ignore in epytestMichał Górny2021-08-151-2/+28
| | | | | | | | | | Support (potentially global-scope) EPYTEST_DESELECT and EPYTEST_IGNORE arrays to conveniently deselect/skip tests. This effectively replaces local hacks such as: epytest ${deselect[@]/#/--deselect } Signed-off-by: Michał Górny <mgorny@gentoo.org>
* lua-single.eclass: do not mention lua5-2 in eclassdocsMarek Szuba2021-08-131-11/+11
| | | | Signed-off-by: Marek Szuba <marecki@gentoo.org>
* lua.eclass: do not mention lua5-2 in eclassdocsMarek Szuba2021-08-131-6/+6
| | | | Signed-off-by: Marek Szuba <marecki@gentoo.org>
* lua-utils.eclass: lua5-2 is now a historic implementationMarek Szuba2021-08-131-2/+3
| | | | Signed-off-by: Marek Szuba <marecki@gentoo.org>
* python-utils-r1.eclass: Enable parallel bytecompile compilationMart Raudsepp2021-08-121-5/+8
| | | | | | | | | | Python 3.5 added support for compileall to run parallel workers for performing bytecode compilation. Make use of it to the extent possible without refactoring the code too much to get different paths into the same call for best possible parallelization. Signed-off-by: Mart Raudsepp <leio@gentoo.org> Signed-off-by: Michał Górny <mgorny@gentoo.org>
* python-utils-r1.eclass: Enable hardlinking of identical pyc files for py3.9+Mart Raudsepp2021-08-121-1/+4
| | | | | | | | | | Python 3.9 includes a new feature for compileall to automatically hardlink different optimization level cache files if they are identical. Make use of it for python_optimize for some space savings. This however does not cover distutils use cases and python itself. Signed-off-by: Mart Raudsepp <leio@gentoo.org> Signed-off-by: Michał Górny <mgorny@gentoo.org>
* distutils-r1.eclass: Require pyproject2setuppy >= 18Michał Górny2021-08-121-1/+1
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* java-utils-2.eclass: remove redundant / from CLASSPATH.Benda Xu2021-08-121-1/+1
| | | | | | | JAVA_PKG_JARDEST always has a leading /. Signed-off-by: Benda Xu <heroxbd@gentoo.org> Reference: https://archives.gentoo.org/gentoo-dev/message/96db539ae412aab36491987d4e424dd3
* udev.eclass: replace udev-bugs with systemd in maintainersMike Gilbert2021-08-091-1/+1
| | | | Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* virtualx.eclass: Remove leftover variable VIRTUALX_COMMANDAndreas Sturmlechner2021-08-091-5/+1
| | | | | | Follow-up to commit 11fb990. Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* virtualx.eclass: Make VIRTUALX_DEPEND readonly in EAPI-8Andreas Sturmlechner2021-08-091-4/+8
| | | | | | Any additional dependencies shall be defined inside ebuilds instead. Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* virtualx.eclass: Support EAPI-8Andreas Sturmlechner2021-08-091-8/+7
| | | | | | Standardise include guard, fix minor typo. Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* l10n.eclass: Remove eclassUlrich Müller2021-08-091-148/+0
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* python-utils-r1.eclass: Cleanup cache dirs after epytestMichał Górny2021-08-071-1/+6
| | | | | | | | | Make epytest clean up common cache directories .hypothesis and .pytest_cache after the execution. If pytest is executed in ${BUILD_DIR}/lib, these directories end up being wrongly installed, and so far ebuilds had to handle cleaning them up. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* eclass/ruby-single.eclass: add EAPI 8Hans de Graaff2021-08-071-2/+2
| | | | | | Closes: https://bugs.gentoo.org/806499 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
* eclass/ruby-single.eclass: update versions in docsHans de Graaff2021-08-071-2/+2
| | | | | | Use more up-to-date versions in the documentation. Signed-off-by: Hans de Graaff <graaff@gentoo.org>
* check-reqs.eclass: Introduce CHECKREQS_DONOTHINGAndreas Sturmlechner2021-08-031-3/+11
| | | | | | Replacement for I_KNOW_WHAT_I_AM_DOING with backwards compatibility. Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* check-reqs.eclass: Make check-reqs_unsatisfied internalAndreas Sturmlechner2021-08-031-3/+15
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* check-reqs.eclass: Make check-reqs_start_phase internalAndreas Sturmlechner2021-08-031-2/+12
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* check-reqs.eclass: Make check-reqs_disk internalAndreas Sturmlechner2021-08-031-3/+13
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* check-reqs.eclass: Make check-reqs_memory internalAndreas Sturmlechner2021-08-031-1/+11
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* check-reqs.eclass: Make check-reqs_output internalAndreas Sturmlechner2021-08-031-1/+12
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* check-reqs.eclass: Make check-reqs_get_unit internalAndreas Sturmlechner2021-08-031-2/+13
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* check-reqs.eclass: Make check-reqs_get_number internalAndreas Sturmlechner2021-08-031-2/+13
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* check-reqs.eclass: Make check-reqs_get_kibibytes internalAndreas Sturmlechner2021-08-031-3/+14
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* check-reqs.eclass: Make check-reqs_run internalAndreas Sturmlechner2021-08-031-1/+11
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* check-reqs.eclass: Make check-reqs_prepare internalAndreas Sturmlechner2021-08-031-1/+11
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* check-reqs.eclass: Drop obsolete check_reqs(), errored out for >3yrsAndreas Sturmlechner2021-08-031-7/+0
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* check-reqs.eclass: Drop EAPI-4 and EAPI-5 supportAndreas Sturmlechner2021-08-031-2/+2
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* check-reqs.eclass: Support EAPI-8Andreas Sturmlechner2021-08-031-12/+12
| | | | | | | Move EAPI check and EXPORT_FUNCTIONS on top, before include guard. Standardise include guard. Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* optfeature.eclass: Drop support for EAPIs 0,1,2,3,4,5Andreas Sturmlechner2021-08-031-4/+4
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* optfeature.eclass: EAPI 8 supportMatt Smith2021-08-031-2/+2
| | | | | Signed-off-by: Matt Smith <matt@offtopica.uk> Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* wxwidgets.eclass: Support EAPI 8Ulrich Müller2021-08-031-8/+12
| | | | | | Reviewed-by: Mart Raudsepp <leio@gentoo.org> Reviewed-by: David Seifert <soap@gentoo.org> Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* gstreamer-meson.eclass: change metadata variable whitespaceSam James2021-07-311-0/+1
| | | | | | Similar to skel.ebuild. Signed-off-by: Sam James <sam@gentoo.org>
* gstreamer-meson.eclass: Replace ${GST_MIN_PV} with $(ver_cut 1-2)Haelwenn (lanodan) Monnier2021-07-311-6/+2
| | | | | | | | Our previous version bound was too low. Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me> Closes: https://github.com/gentoo/gentoo/pull/21831 Signed-off-by: Sam James <sam@gentoo.org>
* llvm.eclass: Allow slot 14Michał Górny2021-07-301-1/+1
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* llvm.org.eclass: main branch is 14.xMichał Górny2021-07-301-1/+1
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* verify-sig.eclass: Fix the example to use BROOTMichał Górny2021-07-291-1/+1
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* vdr-plugin-2.eclass: add EAPI8 support, EAPI7+ fixesMartin Dummer2021-07-281-28/+46
| | | | | | | | | | | | - add EAPI8 support, no changes necessary - add BDEPEND=pkgconfig - remove outdated version numbers from (R)DEPEND - fix calling of pkg-config - add many "|| die" which should have been here already for EAPI7 Closes: https://github.com/gentoo/gentoo/pull/21447 Signed-off-by: Martin Dummer <martin.dummer@gmx.net> Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* lua-single.eclass: consider historical impls in _lua_verify_patterns()Marek Szuba2021-07-271-1/+1
| | | | | | | | This is so that lua_gen_foo() calls die on mentions of formerly supported implementations, allowing for such mentions to be gradually removed from ebuilds which contain them. Signed-off-by: Marek Szuba <marecki@gentoo.org>
* lua-utils.eclass: new eclass variable _LUA_HISTORICAL_IMPLSMarek Szuba2021-07-271-0/+7
| | | | | | | Similarly to _PYTHON_HISTORICAL_IMPLS, it will hold names of Lua implementations which used to be supported but no longer are. Signed-off-by: Marek Szuba <marecki@gentoo.org>