summaryrefslogtreecommitdiff
path: root/eclass
Commit message (Collapse)AuthorAgeFilesLines
* linux-mod.eclass : Fix eclassdoc problemsMike Pagano2021-08-271-0/+13
| | | | | | Closes: https://bugs.gentoo.org/637782 Signed-off-by: Mike Pagano <mpagano@gentoo.org>
* Revert "kernel-2.eclass: Replace bit-shift arithmetic by ver_test"Ulrich Müller2021-08-271-5/+4
| | | | | | This reverts commit 1646e870d312060d7920869eec8416a8753724b6. Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* Revert "linux-info.eclass: Replace bit-shift arithmetic by ver_test"Ulrich Müller2021-08-271-5/+4
| | | | | | This reverts commit 4b48b038fa23b5580fa2b916b34c646c155db93a. Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* linux-info.eclass: Replace bit-shift arithmetic by ver_testUlrich Müller2021-08-271-4/+5
| | | | | | | | There are kernel versions like 4.9.280, therefore shifting version components by 8 bits in kernel_is() may fail. Reviewed-by: Alice Ferrazzi <alicef@gentoo.org> Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* kernel-2.eclass: Drop useless unset of local variablesUlrich Müller2021-08-271-1/+0
| | | | | Reviewed-by: Alice Ferrazzi <alicef@gentoo.org> Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* kernel-2.eclass: Replace bit-shift arithmetic by ver_testUlrich Müller2021-08-271-4/+5
| | | | | | | | There are kernel versions like 4.9.280, therefore shifting version components by 8 bits in kernel_is() may fail. Reviewed-by: Alice Ferrazzi <alicef@gentoo.org> Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* Linux-info.eclass : Fix typo in commentMike Pagano2021-08-271-1/+1
| | | | | | Closes: https://bugs.gentoo.org/669026 Signed-off-by: Mike Pagano <mpagano@gentoo.org>
* meson.eclass: several cleanupsWilliam Hubbs2021-08-261-17/+24
| | | | | | | | | | | | | | | | | | - Drop the unused emesontestargs variable. - Use the compile and install subcommands of meson instead of calling ninja. This allows for the possibility of a different back end. - Stop using the NINJAOPTS variable. - Add --num-processes to "meson test" call regardless of whether MAKEOPTS is set since the default is 1 process. - Pass --jobs 0 instead of 999 to represent infinity. - Echo commands before running them. Signed-off-by: William Hubbs <williamh@gentoo.org>
* qt5-build.eclass: Support EAPI-8Andreas Sturmlechner2021-08-251-2/+2
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* qt5-build.eclass: Use kde.org eclass for snapshots and live ebuildsAndreas Sturmlechner2021-08-251-30/+24
| | | | | | | | | - Drop unused src_unpack phase - Snapshots are identified by having KDE_ORG_COMMIT set pre-inherit - All live ebuilds and snapshots except qtwebengine inherit kde.org.eclass - SRC_URI, src_unpack handling is done by kde.org.eclass for them Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* qt5-build.eclass: Drop obsolete conditional for dev-qt/qtwebengineAndreas Sturmlechner2021-08-251-13/+0
| | | | | | | dev-qt/qtwebengine conditional code already moved into ebuild. Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* qt5-build.eclass: Rename MY_P to _QT5_P and fix eclassdoc warningAndreas Sturmlechner2021-08-251-3/+9
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* qt5-build.eclass: Add eclassdoc for QT5_BUILD_TYPEAndreas Sturmlechner2021-08-251-3/+10
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* qt5-build.eclass: Drop _alpha/_beta/_rc tarball supportAndreas Sturmlechner2021-08-251-7/+0
| | | | | | No more such pre-releases happening for Qt5. Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* qt5-build.eclass: Drop QT5_MINOR_VERSION (fixes eclassdoc)Andreas Sturmlechner2021-08-251-3/+0
| | | | | | No more usage as qt5-build.eclass supports Qt 5.15 branch exclusively. Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* qt5-build.eclass: switch sources to KDE upstream for 5.15 live buildsJimi Huotari2021-08-251-7/+6
| | | | | | | | | | The KDE community has started [1] maintaining a repository with patches for the open-source Qt 5.15 branch. 1. https://mail.kde.org/pipermail/distributions/2021-April/000984.html Signed-off-by: Jimi Huotari <chiitoo@gentoo.org> Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* qt5-build.eclass: Limit qtchooser config install to <qtcore-5.15.2-r10Andreas Sturmlechner2021-08-251-16/+17
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* linux-mod.eclass: respect INSTALL_MOD_PATHMike Pagano2021-08-241-1/+1
| | | | | | Closes: https://bugs.gentoo.org/642240 Signed-off-by: Mike Pagano <mpagano@gentoo.org>
* kernel-2.eclass: Add cpio dependencyMike Pagano2021-08-241-0/+1
| | | | | | Closes: https://bugs.gentoo.org/731666 Signed-off-by: Mike Pagano <mpagano@gentoo.org>
* kernel-2.eclass: Add deblob support only for python3Alice Ferrazzi2021-08-231-1/+5
| | | | | | Closes: https://bugs.gentoo.org/744808 Signed-off-by: Alice Ferrazzi <alicef@gentoo.org>
* readme.gentoo-r1.eclass: Standardize EAPI guardUlrich Müller2021-08-191-9/+3
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* readme.gentoo-r1.eclass: Use fixed location for README.gentooUlrich Müller2021-08-191-1/+4
| | | | | | | | Eclass documentation and the elog message indicate that the expected location to install the file is /usr/share/doc/${PF}/README.gentoo, not the location of the ebuild's last docinto call. Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* kde.org.eclass: Improve KDE_GEAR eclassdoc, add missing PRE_INHERITAndreas Sturmlechner2021-08-181-4/+10
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* kde.org.eclass: Support EAPI-8Andreas Sturmlechner2021-08-181-2/+2
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* kde.org.eclass: Harmonise equals operator to == everywhereAndreas Sturmlechner2021-08-181-13/+13
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* kde.org.eclass: Drop obsolete KDE_RELEASE_SERVICE fallback varAndreas Sturmlechner2021-08-181-2/+1
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* xdg.eclass: drop support for EAPI 4Florian Schmaus2021-08-181-4/+4
| | | | | | Thanks to Andreas Sturmlechner for providing feedback. Signed-off-by: Florian Schmaus <flow@gentoo.org>
* xdg.eclass: add EAPI 8 supportFlorian Schmaus2021-08-181-6/+24
| | | | | | | | | | | | | | | | | | | | Note that this removes the export of src_prepare in EPAI 8 as requested by ionen: 1. remove src_prepare export in EAPI-8 While "some" packages need xdg_environment_reset, most don't because the eclass is often only inherited to handle icons/.desktop and this just needlessly overwrite the src_prepare of other eclasses requiring more careful inherit ordering (e.g. inherit xdg cmake). I'd prefer it was clear when a package need this by calling xdg_environment_reset directly. Unless there is a non-trivial amount of packages that need it (e.g. for tests) that I'm not aware of. Thanks to ulm and others for providing feedback. Signed-off-by: Florian Schmaus <flow@gentoo.org>
* 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>