summaryrefslogtreecommitdiff
path: root/eclass
Commit message (Collapse)AuthorAgeFilesLines
* llvm.org.eclass: Clean up after old snapshotsMichał Górny2022-11-191-9/+0
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* go-module.eclass: add a way to allow go mod verify to be nonfatalWilliam Hubbs2022-11-181-1/+3
| | | | Signed-off-by: William Hubbs <williamh@gentoo.org>
* ada.eclass: gcc-10.3.1 changed to gcc-10Alfredo Tupone2022-11-181-1/+1
| | | | | Closes: https://bugs.gentoo.org/881681 Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
* docs.eclass: add initialize_git_repo helper functionAndrew Ammerlaan2022-11-161-0/+35
| | | | Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
* docs.eclass: allow multiple doc builders in one ebuildAndrew Ammerlaan2022-11-161-18/+28
| | | | Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
* llvm.org.eclass: Enable prebuilt manpages for 15.0.5Michał Górny2022-11-161-1/+1
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* scons-utils.eclass: Reuse makeopts_jobsMichał Górny2022-11-152-162/+4
| | | | | Closes: https://github.com/gentoo/gentoo/pull/27999 Signed-off-by: Michał Górny <mgorny@gentoo.org>
* scons-utils.eclass: Default SCONS_MIN_VERSION to current stableMichał Górny2022-11-151-5/+2
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* scons-utils.eclass: Update documentationMichał Górny2022-11-151-3/+4
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* scons-utils.eclass: Enable EAPI 8 supportMichał Górny2022-11-151-4/+4
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* scons-utils.eclass: Use python_has_versionMichał Górny2022-11-151-1/+1
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* scons-utils.eclass: Remove support for EAPI 0..6Michał Górny2022-11-151-109/+17
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* toolchain.eclass: add initial sphinx support for 13Sam James2022-11-141-2/+17
| | | | | | | | | Adds TOOLCHAIN_SPHINX_BUILD. Upstream have converted their docs to Sphinx and it's needed for man, info, and HTML docs. There's no progress yet on including the files in dist tarballs though. Signed-off-by: Sam James <sam@gentoo.org>
* llvm.org.eclass: Add 16.0.0_pre20221113 snapshotMichał Górny2022-11-131-0/+3
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* kernel-2.eclass: remove whissi from GENPATCHES_URIMike Pagano2022-11-101-1/+1
| | | | Signed-off-by: Mike Pagano <mpagano@gentoo.org>
* cargo.eclass: mention --frozen usecase.Georgy Yakovlev2022-11-101-1/+6
| | | | Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
* verify-sig.eclass: Workaround GPG problems with long TMPDIRMichał Górny2022-11-101-0/+6
| | | | | | | | Force using TMPDIR=/tmp to workaround GPG failing when TMPDIR happens to be long enough to cause UNIX socket paths to exceed the system limit. Closes: https://bugs.gentoo.org/854492 Signed-off-by: Michał Górny <mgorny@gentoo.org>
* font.eclass: Remove racy pkg_postinst codeMatt Turner2022-11-081-6/+0
| | | | | | | | | | | | | | | | | | | | | | | Noticed on ChromeOS when installing a large number of font packages in parallel: /usr/share/fonts/noto/NotoSerifThai-Regular.ttf#new' from 0004 (------r--) to 2440 (r--r-S---) * ERROR: media-fonts/ipaex-004.01-r1::chromiumos failed (postinst phase): * failed to fix font files perms The "#new" filename is the hint. Portage uses "#new" suffixes when copying files to the system, and then renames them to their final filenames. This code was executing while another font was in the process of being copied to the system. Font packages should just ensure that they install files with correct permissions to begin with, and all except media-fonts/x11fonts-jmk already use 0644 permissions. media-fonts/x11fonts-jmk used 0444 (which was probably fine) until the previous commit which changes its installed files to 0644. Bug: https://bugs.gentoo.org/187774 Signed-off-by: Matt Turner <mattst88@gentoo.org>
* git-r3.eclass: Add checkout dirs as "safe" directoriesMichał Górny2022-11-071-0/+5
| | | | | | | | | | Mark all checkout directories as "safe" to avoid dubious ownership errors with newer git versions when the checkout directory is accessed from src_install(). Closes: https://bugs.gentoo.org/879353 Closes: https://github.com/gentoo/gentoo/pull/28154 Signed-off-by: Michał Górny <mgorny@gentoo.org>
* llvm.org.eclass: Enable 16.0.0_pre20221104Michał Górny2022-11-041-0/+3
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* kde.org.eclass: With KDE_ORG_COMMIT, fetch from mirror://gentoo firstAndreas Sturmlechner2022-11-031-2/+4
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* llvm.org.eclass: Enable dist manpages for 15.0.4Michał Górny2022-11-031-1/+1
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* qt6-build.eclass: add qt6-build_src_installJimi Huotari2022-11-021-0/+7
| | | | | Signed-off-by: Jimi Huotari <chiitoo@gentoo.org> Signed-off-by: Sam James <sam@gentoo.org>
* kernel-install.eclass: Fix variable mismatchMichał Górny2022-10-301-1/+1
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* kernel-build.eclass: Account for PV/KV mismatchMichał Górny2022-10-291-17/+26
| | | | | Closes: https://github.com/gentoo/gentoo/pull/27949 Signed-off-by: Michał Górny <mgorny@gentoo.org>
* kernel-install.eclass: Account for PV/KV mismatchMichał Górny2022-10-291-26/+41
| | | | | | | | | Do not assume PV and kernel version must always match. Use PV for kernel install directory (i.e. /usr/src/linux) but get the release from the kernel build directory for the module directory. Update preinst version check to account for live ebuilds. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* kernel-install.eclass: Revert "Add KV_FULL [...]"Michał Górny2022-10-291-23/+17
| | | | | Reverts: 55a495ad71b0ce1620488f389baddeebc787ee64 Signed-off-by: Michał Górny <mgorny@gentoo.org>
* kernel-build.eclass: Revert "Respect KV_FULL"Michał Górny2022-10-291-3/+3
| | | | | Reverts: 27eaf5e24de59baadb8f6042085af172cd56de5d Signed-off-by: Michał Górny <mgorny@gentoo.org>
* elisp.eclass: Drop EAPI 6 supportUlrich Müller2022-10-281-6/+3
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* eclass/tests/scons-utils.sh: Fake python-r1 to fix failureMichał Górny2022-10-281-0/+1
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* llvm.org.eclass: Add 16.0.0_pre20221023 snapshotMichał Górny2022-10-231-0/+3
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* llvm.org.eclass: Clean old snapshot supportMichał Górny2022-10-231-15/+0
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* go-module.eclass: run "go mod verify" on modules from dependency tarballWilliam Hubbs2022-10-211-0/+4
| | | | | | | It appears that go build does not completely detect whether a module has been modified since it was downloaded, so we need this step. Signed-off-by: William Hubbs <williamh@gentoo.org>
* desktop.eclass: Add EAPI guardUlrich Müller2022-10-201-0/+6
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* desktop.eclass: Install files as foo.desktop rather than foo-foo.desktopUlrich Müller2022-10-201-9/+8
| | | | | Bug: https://bugs.gentoo.org/771708#c14 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* acct-user.eclass: add myself as a maintainerMike Gilbert2022-10-192-0/+2
| | | | | | For bug visibility. Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* acct-user.eclass: drop elockuser and eunlockuserMike Gilbert2022-10-191-106/+0
| | | | Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* acct-user.eclass: inline useradd and usermodMike Gilbert2022-10-191-34/+87
| | | | Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* acct-user.eclass: respect ACCT_USER_NO_MODIFY in pkg_prermMike Gilbert2022-10-191-12/+19
| | | | Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* acct-user.eclass: support user override of commentMike Gilbert2022-10-191-3/+17
| | | | Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* acct-group.eclass: inline groupaddMike Gilbert2022-10-191-3/+25
| | | | Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* user.eclass: mark @DEADMike Gilbert2022-10-191-0/+1
| | | | Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* acct-group.eclass: Revert "inline groupadd"Michał Górny2022-10-191-27/+3
| | | | | Reverts: acd0e195b2fba241d5eac52e34676a4a00493c2b Signed-off-by: Michał Górny <mgorny@gentoo.org>
* acct-user.eclass: Revert "support user override of comment"Michał Górny2022-10-191-14/+3
| | | | | Reverts: 140f92c2b8a15e7e5c28a343a8b289b3d766e143 Signed-off-by: Michał Górny <mgorny@gentoo.org>
* acct-user.eclass: Revert "respect ACCT_USER_NO_MODIFY in pkg_prerm"Michał Górny2022-10-191-19/+12
| | | | | Reverts: 720c70288cf15946f2560af7d104e1b3f34f9dd9 Signed-off-by: Michał Górny <mgorny@gentoo.org>
* acct-user.eclass: Revert "inline useradd and usermod"Michał Górny2022-10-191-84/+29
| | | | | Reverts: 308c02b897fa7fba442441fd3a7da17ce07ec8ee Signed-off-by: Michał Górny <mgorny@gentoo.org>
* acct-user.eclass: Revert "drop elockuser and eunlockuser"Michał Górny2022-10-191-0/+106
| | | | | Reverts: bde2856fc6bcc73d55dbf481a156805f06510a12 Signed-off-by: Michał Górny <mgorny@gentoo.org>
* user.eclass: Revert "remove"Michał Górny2022-10-191-0/+684
| | | | | Reverts: 4c41709a9e9af1ba6753c61fbc68d49930725e6c Signed-off-by: Michał Górny <mgorny@gentoo.org>
* user.eclass: removeMike Gilbert2022-10-191-684/+0
| | | | | | Signed-off-by: Mike Gilbert <floppym@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/27825 Signed-off-by: Michał Górny <mgorny@gentoo.org>
* acct-user.eclass: drop elockuser and eunlockuserMike Gilbert2022-10-191-106/+0
| | | | | Signed-off-by: Mike Gilbert <floppym@gentoo.org> Signed-off-by: Michał Górny <mgorny@gentoo.org>