summaryrefslogtreecommitdiff
path: root/eclass
Commit message (Collapse)AuthorAgeFilesLines
* llvm.org.eclass: Enable manpages for 15.0.2Michał Górny2022-10-041-1/+1
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* xdg-utils.eclass: reset XDG_STATE_HOMESam James2022-10-041-2/+3
| | | | | | | | | | | XDG_STATE_HOME is defined in the basedir spec just like XDG_DATA_HOME and XDG_CONFIG_HOME, so we should cover it. We have to set in eclass because we still have < EAPI 7 ebuilds in tree (no ENV_UNSET). Closes: https://bugs.gentoo.org/873802 Signed-off-by: Sam James <sam@gentoo.org>
* Revert "toolchain.eclass: allow fixincludes for >= GCC 13"Sam James2022-10-041-14/+10
| | | | | | | | This reverts commit 4505e063f64a7539222d0ccb224f6fa6b1832fc8. Didn't mean to push yet. Signed-off-by: Sam James <sam@gentoo.org>
* toolchain.eclass: allow fixincludes for >= GCC 13Sam James2022-10-041-10/+14
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* java-pkg-simple.eclass: improve test selection for multi-jar packagesVolkmar W. Pogatzki2022-10-031-13/+15
| | | | | | | | | Testing multi-jar packages was not properly supported. With this change the tests_to_run are selected per module. Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Closes: https://github.com/gentoo/gentoo/pull/27491 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
* java-pkg-simple.eclass: allow JAVA_MAIN_CLASS _and_ MANIFEST.MFVolkmar W. Pogatzki2022-10-031-8/+9
| | | | | | | | | | | The eclass did not handle JAVA_MAIN_CLASS if there was also a given META-INF/MANIFEST.MF. This change allows adding JAVA_AUTOMATIC_MODULE_NAME and/or JAVA_MAIN_CLASS to the MANIFEST.MF file if it exists or creates one if not. Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
* eclass/tests/unpacker.sh: Add online tests for makeselfMichał Górny2022-10-011-0/+105
| | | | | Closes: https://github.com/gentoo/gentoo/pull/27507 Signed-off-by: Michał Górny <mgorny@gentoo.org>
* unpacker.eclass: Check makeself compression without a tempfileMichał Górny2022-10-011-3/+2
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* eclass/tests/unpacker.sh: Add tests for makeselfMichał Górny2022-10-011-0/+29
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* unpacker.eclass: Support all makeself "compression" methodsMichał Górny2022-10-011-0/+12
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* unpacker.eclass: Reuse _unpacker_get_decompressor for makeselfMichał Górny2022-10-011-8/+10
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* unpacker.eclass: Add support for makeself 2.4.5Michał Górny2022-10-011-0/+8
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* perl-module.eclass: fix src_test docsSam James2022-10-011-1/+1
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* llvm.org.eclass: Remove verify-sig inherit for non-releasesMichał Górny2022-09-301-1/+1
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* llvm.org.eclass: Add 16.0.0_pre20220930 snapshotMichał Górny2022-09-301-0/+3
| | | | Signed-off-by: Michał Górny <mgorny@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>
* unpacker.eclass: Workaround zstd refusing to process symlinksMichał Górny2022-09-282-3/+8
| | | | | Closes: https://bugs.gentoo.org/873352 Signed-off-by: Michał Górny <mgorny@gentoo.org>
* unpacker.eclass: Unpack .deb packages on-the-fly as wellMichał Górny2022-09-271-27/+33
| | | | | Closes: https://github.com/gentoo/gentoo/pull/27431 Signed-off-by: Michał Górny <mgorny@gentoo.org>
* unpacker.eclass: Fix handling GNU ar archives in handwoven implMichał Górny2022-09-272-0/+6
| | | | | | | | Fix the hand-weaved implementation of ar unpacking that is used on Prefix to handle slash-terminated filenames of GNU ar format correctly. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* unpacker.eclass: Support lbzip2 as parallel bz2 decompressorMichał Górny2022-09-271-2/+5
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* unpacker.eclass: decompress xz in parallelSam James2022-09-271-2/+2
| | | | | | | | | | >= xz 5.3.3_alpha supports parallel decompression, so let's use it. As recently added to Portage (see https://github.com/gentoo/portage/commit/48d107e5c1a103d59a053aebeefa9a5aac5c32ff). Signed-off-by: Sam James <sam@gentoo.org> Signed-off-by: Michał Górny <mgorny@gentoo.org>
* unpacker.eclass: Add on-the-fly .gpkg.tar unpacking supportMichał Górny2022-09-272-0/+85
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* unpacker.eclass: Add support for .lz4 and .lzo compressionMichał Górny2022-09-272-0/+15
| | | | | | | Add support for .lz4 and .lzo formats that can be used for .tar.gpkg compression. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* unpacker.eclass: Move decompressor recognition into a functionMichał Górny2022-09-271-18/+26
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* unpacker.eclass: Remove uppercase RAR/LHA variantsMichał Górny2022-09-271-4/+4
| | | | | | | | Remove the uppercase variants of RAR/LHA that were copied from Portage implementation. The functions always convert filenames to lowercase, so accounting for them is redundant. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* unpacker.eclass: Use lowercase in unpacker_src_uri_dependsMichał Górny2022-09-271-1/+2
| | | | | | | Transform the URIs to lowercase in unpacker_src_uri_depends() for consistency with the behavior of _unpacker(). Signed-off-by: Michał Górny <mgorny@gentoo.org>
* unpacker.eclass: Use bash substitution instead of tr for lowercaseMichał Górny2022-09-271-1/+1
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* unpacker.eclass: Remove support for EAPI 5Michał Górny2022-09-271-3/+3
| | | | | | | There are no ebuilds using it in EAPI 5 anymore, and it is the last EAPI requiring support for bash 3.2. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* unpacker.eclass: Fix unpack_7z to respect the exit statusMichał Górny2022-09-271-1/+4
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* unpacker.eclass: Remove `-f` from zstd argumentsMichał Górny2022-09-271-1/+1
| | | | | | | | | Remove `-f` from zstd arguments. This option causes zstd to ignore input errors, notably causing it to pass invalid files through rather than returning an error. Closes: https://bugs.gentoo.org/872662 Signed-off-by: Michał Górny <mgorny@gentoo.org>
* eclass/tests: Add tests for unpacker.eclassMichał Górny2022-09-272-0/+240
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* llvm.org.eclass: Revert "Enable 16.0.0_pre20220926 snap"Michał Górny2022-09-261-3/+0
| | | | | | | The 16.x is far too broken right now for this to be usable. Reverts: de4df136bfa2fd8b1b28e9137991d1d95057a873 Signed-off-by: Michał Górny <mgorny@gentoo.org>
* llvm.org.eclass: Enable 16.0.0_pre20220926 snapMichał Górny2022-09-261-0/+3
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* eclass/ruby-fakegem.eclass: turn off minitest pluginsHans de Graaff2022-09-251-1/+1
| | | | | | | | | By default dev-ruby/minitest loads all plugins that are installed in the system. Most of these are harmless, but some cause issues with dependencies and versions. None of these plugins are needed for tests to pass so we can avoid issues by not loading them. Signed-off-by: Hans de Graaff <graaff@gentoo.org>
* go-module.eclass: suggest XZ options and preferences for compressionSam James2022-09-251-2/+4
| | | | | | | | | | | | | | - Set XZ_OPT='-T0 -9' in the example tar call which: * uses threads to compress (and this will, with newer xz (>= 5.3.3 alpha), allow parallel decompression) * sets a higher compression level (default is -6) - Mention preferences for choice of compression method: developers should choose a method which supports parallel decompression if possible, and also choose a higher compression level given the size of these tarballs. Signed-off-by: Sam James <sam@gentoo.org>
* llvm.org.eclass: Enable manpage dist for 15.0.1Michał Górny2022-09-201-1/+1
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* llvm.org.eclass: Add a new snapshotMichał Górny2022-09-191-0/+3
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* Revert "toolchain.eclass: fix building Clang on pure LLVM profiles"Sam James2022-09-171-11/+0
| | | | | | | | This reverts commit 7011340a0f13dcada6f3be48054957035bc6e01a. This ended up being insufficient. Signed-off-by: Sam James <sam@gentoo.org>
* toolchain.eclass: fix building Clang on pure LLVM profilesSam James2022-09-171-0/+11
| | | | | | | | | | | | | | | The features/clang profile sets AS="clang -c". 1. We can't use llvm-as because it's essentially for internal use and isn't compatible anyway with cmdline args. 2. "clang -c" doesn't recognise --64 which configure tries to add. So, fake nothing to avoid configure trying to add that in. See: 59d666d032353b054e3cdf4f18ad55e3346e73ca Signed-off-by: Sam James <sam@gentoo.org>
* ada.eclass: add gcc_12_2_0 handlingAlfredo Tupone2022-09-161-3/+21
| | | | Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
* vala.eclass: Raise minimum supported version to 0.56Matt Turner2022-09-161-3/+3
| | | | | | | | No packages in tree are incompatible with 0.56, so by raising the requirement we can drop old vala slots from the tree and avoid a stream of bugs about packages not building with older slots. Signed-off-by: Matt Turner <mattst88@gentoo.org>
* llvm.org.eclass: Introduce snapshot supportMichał Górny2022-09-161-57/+95
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* haskell-cabal.eclass: synchronize with gentoo-haskell overlayMiezhiko2022-09-151-2/+49
| | | | | Closes: https://github.com/gentoo/gentoo/pull/27252 Signed-off-by: Sam James <sam@gentoo.org>
* rebar.eclass: add support for EAPI=8Arthur Zamarin2022-09-121-10/+4
| | | | | Closes: https://github.com/gentoo/gentoo/pull/27123 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* myspell-r2.eclass: improve code examples formatArthur Zamarin2022-09-121-0/+6
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* myspell-r2.eclass: drop support for EAPI<7Arthur Zamarin2022-09-121-11/+6
| | | | | | | | - No consumers for EAPI<7 remain in ::gentoo tree - Simplifies dependency logic - fix UnquotedVariable of DISTDIR Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* kodi-addon.eclass: drop support for EAPI<7Arthur Zamarin2022-09-121-16/+10
| | | | | | | | | | - No consumers for EAPI<7 remain in ::gentoo tree - For those EAPIs, it tries to inherit cmake-utils eclass, which doesn't exist, so it would just fail! - Simplify the eclass logic - Fix UnquotedVariable for EPREFIX Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* udev.eclass: simplify EPREFIX usageArthur Zamarin2022-09-121-1/+1
| | | | | | EPREFIX is never slash terminated, in all EAPIs. Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* rebar.eclass: simplify EPREFIX usageArthur Zamarin2022-09-121-4/+4
| | | | | | EPREFIX is never slash terminated, in all EAPIs. Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* bazel.eclass: simplify EPREFIX usageArthur Zamarin2022-09-121-1/+1
| | | | | | EPREFIX is never slash terminated, in all EAPIs. Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>