summaryrefslogtreecommitdiff
path: root/eclass
Commit message (Collapse)AuthorAgeFilesLines
* eclass/ada.eclass: removing support for gnat_2016Alfredo Tupone2021-06-111-7/+3
| | | | Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
* eclass/kernel-2: fix USE=symlinkTill Schäfer2021-06-091-1/+1
| | | | | | | | | | | | | the symlink to /usr/src/linux is longer removed bofore linking (see 7446cb850c5e0412e4d88b3aa5d207751241fb02). the latter ln -sf does not replace existing symlinks, since destination is a directory. Closes: https://bugs.gentoo.org/795057 Signed-off-by: Till Schäfer <till2.schaefer@uni-dortmund.de> Closes: https://bugs.gentoo.org/795057 Closes: https://github.com/gentoo/gentoo/pull/21171 Signed-off-by: Mike Pagano <mpagano@gentoo.org>
* multilib.eclass: Default values, not fixed values, for risc-v libdirAndreas K. Hüttel2021-06-081-6/+6
| | | | Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
* sys-libs/glibc: fix ld.so symlink for ppc64 LEAlexei Colin2021-06-071-1/+4
| | | | | | | | | | | | From https://sourceware.org/glibc/wiki/ABIList#powerpc glibc supports two dynamic linker paths: - 64-bit ELFv1 BE: /lib64/ld64.so.1 (ELFv2 BE is not supported) - 64-bit ELFv2 LE: /lib64/ld64.so.2 (ELFv1 LE is not supported) Bug: https://bugs.gentoo.org/755551 Signed-off-by: Alexei Colin <ac@alexeicolin.com> Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* eclass/lua-utils.eclass: remove EPREFIX from exported pathsWilliam Hubbs2021-06-071-1/+6
| | | | | | Closes: https://bugs.gentoo.org/768909 Signed-off-by: William Hubbs <williamh@gentoo.org> Signed-off-by: Marek Szuba <marecki@gentoo.org>
* eclass/kernel-2: respect USE=symlinkBertrand Jacquin2021-06-071-9/+3
| | | | | | | | | | | | | | | | | | | | | | | kernel-2 eclass postinst_sources() creates /usr/usr/linux symlink regardless of USE=symlink. MAKELINK variable controls the creation of /usr/src/linux, however MAKELINK is always set to 1 only if /usr/src/linux does not currently exist with no consideration for USE=symlink. This change simplify the whole /usr/usr/linux symlink creation to instead depend on K_SYMLINK which is set if USE=symlink. This change also refuse to remove existing /usr/usr/linux if it currently exist while not being a symlink Note that this is broken since 906501be57c0 ("adding symlink use flag support") Bug: https://bugs.gentoo.org/695592 Signed-off-by: Bertrand Jacquin <bertrand@jacquin.bzh> Closes: https://bugs.gentoo.org/695592 Closes: https://github.com/gentoo/gentoo/pull/13031 Signed-off-by: Mike Pagano <mpagano@gentoo.org>
* meson-multilib.eclass: Add new eclassMatt Turner2021-06-031-0/+131
| | | | Signed-off-by: Matt Turner <mattst88@gentoo.org>
* meson.eclass: Run einstalldocs from ${S}Matt Turner2021-06-031-0/+3
| | | | | | | | This is how cmake.eclass works, and it will allow easy use by meson-multilib.eclass. Closes: https://github.com/gentoo/gentoo/pull/20986 Signed-off-by: Matt Turner <mattst88@gentoo.org>
* eclass/kernel-install.eclass: omit some dracut modules for testsGeorgy Yakovlev2021-06-031-0/+14
| | | | | | | some modules slow down or even fail to boot in our test environment force qemu dracut module while at it. Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
* multilib-minimal.eclass: Make myself the maintainerMichał Górny2021-06-031-2/+2
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* multilib-build.eclass: Make myself the maintainerMichał Górny2021-06-031-1/+1
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* cmake-multilib.eclass: Make myself the maintainerMichał Górny2021-06-031-1/+1
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* vala.eclass: raise VALA_MAX_API_VERSION to 0.44Matt Turner2021-06-011-1/+1
| | | | | Closes: https://bugs.gentoo.org/793755 Signed-off-by: Matt Turner <mattst88@gentoo.org>
* distutils-r1.eclass: Introduce dift --via-venv install modeMichał Górny2021-06-021-34/+62
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* toolchain.eclass: add -march=znver3 manglingSergei Trofimovich2021-06-012-0/+2
| | | | | | Noticed as a gcc-9 build failure as it does not support -march=znver3. Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* rebar.eclass: add support for EAPI 7Florian Schmaus2021-06-011-10/+15
| | | | | | | | | Thanks To Sam James for reviewing this and providing feedback. Closes: https://bugs.gentoo.org/770283 Signed-off-by: Florian Schmaus <flo@geekplace.eu> Closes: https://github.com/gentoo/gentoo/pull/20424 Signed-off-by: Sam James <sam@gentoo.org>
* rebar.eclass: s,$1,${1},Florian Schmaus2021-06-011-2/+2
| | | | | Signed-off-by: Florian Schmaus <flo@geekplace.eu> Signed-off-by: Sam James <sam@gentoo.org>
* rebar.eclass: fix @RETURN argumentFlorian Schmaus2021-06-011-3/+1
| | | | | | | | | | | Previously "pkgcheck scan rebar.class" would complain about EclassDocError: rebar: failed parsing eclass docs: '@RETURN:', line 61: non-inline arg Thanks to Ulrich Müller for providing feedback. Signed-off-by: Florian Schmaus <flo@geekplace.eu> Signed-off-by: Sam James <sam@gentoo.org>
* python-utils-r1.eclass: Disable python3_7Michał Górny2021-06-011-2/+2
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* gstreamer-meson.eclass: Fix cycle dependency on gstreamerHaelwenn (lanodan) Monnier2021-05-311-1/+7
| | | | | | | Closes: https://bugs.gentoo.org/793032 Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me> Closes: https://github.com/gentoo/gentoo/pull/21052 Signed-off-by: Sam James <sam@gentoo.org>
* nsplugins.eclass: Remove last-rited eclassAndreas Sturmlechner2021-05-311-80/+0
| | | | | Closes: https://bugs.gentoo.org/671680 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* ada.eclass: SLOT has changed for gcc-10 and so for gnat-gpl-2021Alfredo Tupone2021-05-301-1/+9
| | | | Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
* gstreamer-meson.eclass: New eclass required for gstreamer-1.18.0+Haelwenn (lanodan) Monnier2021-05-301-0/+367
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Gstreamer switched to meson in 1.16.0 and removed autotools support in 1.18.0, this eclass is an update of gstreamer.eclass. One significant change is that we lost the gstreamer_system_link function. Differences from version 1: - Move to EAPI-7, including moving deps from DEPEND to BDEPEND when appropriate - Port python script to perl, this allows to avoid having to add PYTHON_COMPAT into a python-unrelated eclass - Drop errorneous MULTILIB_USEDEP on virtual/pkgconfig - Fix running tests: defining multilib_src_test, media-libs/gstreamer[test] dep - Fix ebuild emesonargs being ignored - Remove legacy prune_libtool_files - virtualx wrapped for testing Differences from version 2: - Get list of plugins from meson_options.txt instead of hard-coding them, this adds GST_PLUGINS_NOAUTO for ones managed by the ebuild - Fix @AUTHOR order - Sort inherits - remove stray semicolon in test - Add virtx to tests - Remove gstreamer_environment_reset - Put GST_ORG_MODULE conditions into gstreamer_multilib_src_{compile,install} - QA warn when IUSE=orc is defined but the option is absent - Pass gst_debug/examples/nls/tests options only when declared - Use code similar to orc for introspection Closes: https://bugs.gentoo.org/690468 Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me> Signed-off-by: Sam James <sam@gentoo.org>
* eclass: ada.eclass add gnat_2021Alfredo Tupone2021-05-291-3/+6
| | | | Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
* common-lisp-3.eclass: Don't run sbcl interactivelyMarco Sirabella2021-05-291-0/+1
| | | | | | | Closes: https://bugs.gentoo.org/777153 Signed-off-by: Marco Sirabella <marco@sirabella.org> Closes: https://github.com/gentoo/gentoo/pull/20150 Signed-off-by: Sam James <sam@gentoo.org>
* kernel-2.eclass: Drop `|| die` in install_universalDavid Seifert2021-05-281-2/+2
| | | | | | | * Breaks unprivileged install Acked-by: Sam James <sam@gentoo.org> Signed-off-by: David Seifert <soap@gentoo.org>
* kernel-2.eclass: drop additional unused 2.4 and 2.6 functionsDavid Michael2021-05-271-16/+0
| | | | | | | | * Invoking maintainer timeout after 14 days. Closes: https://github.com/gentoo/gentoo/pull/20639 Signed-off-by: David Michael <fedora.dm0@gmail.com> Signed-off-by: David Seifert <soap@gentoo.org>
* kernel-2.eclass: Remove deprecated code around 2.4, 2.6 and fbcondecorMike Pagano2021-05-271-70/+0
| | | | | Signed-off-by: Mike Pagano <mpagano@gentoo.org> Signed-off-by: David Seifert <soap@gentoo.org>
* kernel-2.eclass: drop EAPIs 2-5David Michael2021-05-271-12/+6
| | | | | Signed-off-by: David Michael <fedora.dm0@gmail.com> Signed-off-by: David Seifert <soap@gentoo.org>
* kernel-2.eclass: use consistent bash syntaxDavid Michael2021-05-271-79/+82
| | | | | Signed-off-by: David Michael <fedora.dm0@gmail.com> Signed-off-by: David Seifert <soap@gentoo.org>
* kernel-2.eclass: remove echoes for loggingDavid Michael2021-05-271-23/+6
| | | | | Signed-off-by: David Michael <fedora.dm0@gmail.com> Signed-off-by: David Seifert <soap@gentoo.org>
* kernel-2.eclass: die on command failuresDavid Michael2021-05-271-29/+21
| | | | | Signed-off-by: David Michael <fedora.dm0@gmail.com> Signed-off-by: David Seifert <soap@gentoo.org>
* kernel-2.eclass: fix whitespace problemsDavid Michael2021-05-271-13/+8
| | | | | Signed-off-by: David Michael <fedora.dm0@gmail.com> Signed-off-by: David Seifert <soap@gentoo.org>
* kernel-2.eclass: EAPI 7 supportDavid Michael2021-05-271-24/+23
| | | | | | | | | | | | | | | | | This converts installation paths prefixed with EROOT or ED to have a leading slash, switches DEPEND to BDEPEND for EAPI 7 so tools are installed in BROOT and natively executable, and makes eapply_user the default src_prepare behavior for EAPIs since 6. It also drops the binutils build-time dependency since it was added in the original kernel.eclass implementation ~20 years ago to enforce a minimum version to avoid old assembly bugs. All affected versions are long gone, and it isn't required to install sources anyway, so skip building the unused binutils dependency. Closes: https://bugs.gentoo.org/702280 Signed-off-by: David Michael <fedora.dm0@gmail.com> Signed-off-by: David Seifert <soap@gentoo.org>
* go-module.eclass: add go-module_setup_proxy functionWilliam Hubbs2021-05-251-0/+41
| | | | | | | This function is to be used in an ebuild that uses EGO_SUM and defines src_unpack. Signed-off-by: William Hubbs <williamh@gentoo.org>
* go-module.eclass: fix GOPROXY exportWilliam Hubbs2021-05-251-2/+4
| | | | | | | This variable should be exported in the go-module_set_globals function since it is not needed unless EGO_SUM is used. Signed-off-by: William Hubbs <williamh@gentoo.org>
* meson.eclass: move compiler flags to [built-in options]Mike Gilbert2021-05-221-3/+7
| | | | | | | Resolves deprecation notices since meson 0.56.0. Closes: https://bugs.gentoo.org/738710 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* nvidia-driver.eclass: drop last-rited eclassIonen Wolkens2021-05-211-222/+0
| | | | | Signed-off-by: Ionen Wolkens <sudinave@gmail.com> Signed-off-by: David Seifert <soap@gentoo.org>
* */*: Update my email addressAndrew Ammerlaan2021-05-191-2/+2
| | | | Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
* perl-functions.eclass: Add perl-fix_permissionsAndreas K. Hüttel2021-05-171-0/+10
| | | | | Bug: https://bugs.gentoo.org/554346 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
* readme.gentoo.eclass: Remove last-rited eclassAndreas Sturmlechner2021-05-151-140/+0
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* eclass/ruby-fakegem.eclass: remove duplicate / in pathHans de Graaff2021-05-151-1/+1
| | | | Signed-off-by: Hans de Graaff <graaff@gentoo.org>
* rust: enable support for ARCH=riscv, only for riscv64/lp64dYixun Lan2021-05-131-0/+2
| | | | | Bug: https://bugs.gentoo.org/747460 Signed-off-by: Yixun Lan <dlan@gentoo.org>
* eclass/tests: eat optional arguments passed to has_versionMike Gilbert2021-05-121-0/+3
| | | | | | | | | portageq has_version does not understand arguments like -b or --host-root. This fixes tests for autotools.eclass. Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* eclass/tests: Add EAPI decls to fix running testsMichał Górny2021-05-122-2/+6
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* eclass/ada.eclass: adding gnat_2020Alfredo Tupone2021-05-121-1/+11
| | | | Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
* eclass: reassign dotnet@g.o's eclasses to m-nJoonas Niilola2021-05-123-5/+5
| | | | Signed-off-by: Joonas Niilola <juippis@gentoo.org>
* python-utils-r1.eclass: Grab paths from sysconfig moduleMichał Górny2021-05-121-5/+2
| | | | | | | | | Grab site-packages and includedir paths from sysconfig rather than distutils.sysconfig, as the latter module is deprecated. The new method results in the same paths for all supported implementations, as confirmed by the tests. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* eclass/cargo.eclass: disable incremental buildsGeorgy Yakovlev2021-05-101-0/+1
| | | | | | | This should not affect us, but can trigger if running tests Upstream issue: https://github.com/rust-lang/rust/issues/84970 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
* base.eclass: remove last-rited eclassSam James2021-05-091-216/+0
| | | | | Closes: https://bugs.gentoo.org/497022 Signed-off-by: Sam James <sam@gentoo.org>