summaryrefslogtreecommitdiff
path: root/eclass
Commit message (Collapse)AuthorAgeFilesLines
* eclass: remove last-rited php-ext-source-r2.eclass #727472Joonas Niilola2020-07-081-379/+0
| | | | | Closes: https://bugs.gentoo.org/727472 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
* eclass/ruby-fakegem.eclass: add blocker for psychHans de Graaff2020-07-061-2/+4
| | | | | | | | | | dev-ruby/psych has been removed from the tree for some time but may still be installed, in which case it will cause errors when trying to read gemspec YAML metadata because it is no longer compatible with modern ruby versions. Block on it to ensure that dev-ruby/psych is actually uninstalled. Signed-off-by: Hans de Graaff <graaff@gentoo.org>
* toolchain.eclass: add USE=valgrind for annotations for valgrindSergei Trofimovich2020-07-061-0/+9
| | | | | | | This adds annotation hints to memory handling code into gcc to ease debugging it under valgrind. Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* meson.eclass: depend on >=dev-util/meson-0.54.0Mike Gilbert2020-07-041-15/+2
| | | | | | | Also remove compatibility code for earlier versions. Closes: https://bugs.gentoo.org/730650 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* php-ext-source-r3.eclass: Fix eclassdocMichał Górny2020-07-041-2/+2
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* mozcoreconf-v*.eclass: Fix eclassdocMichał Górny2020-07-043-12/+12
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* git-r3.eclass: Mark variable classes in eclassdocMichał Górny2020-07-041-0/+3
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* ada.eclass: Mark variable class in eclassdocMichał Górny2020-07-041-0/+1
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* scons-utils.eclass: Fix eclassdoc tag orderMichał Górny2020-07-041-1/+1
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* python-utils-r1.eclass: Fix eclassdoc tag orderMichał Górny2020-07-041-1/+1
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* python-single-r1.eclass: Fix eclassdocMichał Górny2020-07-041-2/+8
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* python-r1.eclass: Fix eclassdocMichał Górny2020-07-041-2/+8
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* python-any-r1.eclass: Mark variable classes in eclassdocMichał Górny2020-07-041-1/+4
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* multilib-build.eclass: Mark variable classes in eclassdocMichał Górny2020-07-041-1/+4
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* multibuild.eclass: Mark variable classes in eclassdocMichał Górny2020-07-041-0/+5
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* acct-user.eclass: Fix eclassdoc tag orderMichał Górny2020-07-041-3/+3
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* eclass/kernel-2.eclass: Add pkgconfig to RDPEND,needed for make menuconfigMike Pagano2020-07-031-0/+1
| | | | | | | Thanks to William Throwe for reporting Closes: https://bugs.gentoo.org/730622 Signed-off-by: Mike Pagano <mpagano@gentoo.org>
* eclass/tests/distutils-r1*.sh: Cover DISTUTILS_USE_SETUPTOOLSMichał Górny2020-07-022-1/+83
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* distutils-r1.eclass: Fix pyproject.toml w/ single-r1Michał Górny2020-07-021-17/+17
| | | | | Closes: https://bugs.gentoo.org/730426 Signed-off-by: Michał Górny <mgorny@gentoo.org>
* eclass/tests/distutils-r1:single.sh: Tests for d-r1 single impl modeMichał Górny2020-07-021-0/+81
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* eclass/tests/distutils-r1.sh: Normalize whitespaceMichał Górny2020-07-021-6/+9
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* eclass/tests/distutils-r1.sh: update for EAPI=7 / py3.8Michał Górny2020-07-021-8/+8
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* kernel-2.eclass: support gcc optimization patch for gcc 10.XMike Pagano2020-06-291-1/+11
| | | | Signed-off-by: Mike Pagano <mpagano@gentoo.org>
* kernel-{build,install}.eclass: support Kconfig LOCALVERSIONDavid GUGLIELMI2020-06-292-24/+41
| | | | | | Signed-off-by: David GUGLIELMI <david.guglielmi@gmail.com> Closes: https://bugs.gentoo.org/720930 Signed-off-by: Michał Górny <mgorny@gentoo.org>
* unpacker.eclass: call BUILD_AR when unpacking deb filesMike Gilbert2020-06-281-2/+3
| | | | | Closes: https://bugs.gentoo.org/722054 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* linux-info.eclass: Pass M=${T} to the Linux Makefile unconditionally.Ulrich Müller2020-06-261-6/+3
| | | | | | | | | | | | Using M="${S}" breaks in the pkg_setup phase where the S variable is not valid. Previous commit messages don't give any rationale why some phases would need the dir pointing to ${S}. Therefore, use ${T} in all phases unconditionally. Closes: https://bugs.gentoo.org/729178 Bug: https://bugs.gentoo.org/469210 Acked-by: Thomas Deutschmann <whissi@gentoo.org> Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* texlive-common.eclass: fix iteration optionsMikle Kolyada2020-06-261-1/+1
| | | | | | Thanks-To: Nuno Silva <njsg@iki.fi> Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
* qmail.eclass: clean up and make it work with upcoming notqmail changesRolf Eike Beer2020-06-251-28/+26
| | | | | | | | | | | | The split in the install functions was needed for packages like miniqmail, that only installed a subset of the functions. It has meanwhile been removed from tree. In turn notqmail is going to drop some obsolete programs from the installation. Most documentation files also have been renamed to *.md. Signed-off-by: Rolf Eike Beer <eike@sf-mail.de> Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* gnome-python-common-r1.eclass: Remove last-rited eclassAndreas Sturmlechner2020-06-251-107/+0
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* texlive-module: do not install texmf-var unconditionallyMikle Kolyada2020-06-251-2/+4
| | | | Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
* kernel-build.eclass: add req'd tools to BDEPENDmatoro2020-06-241-1/+3
| | | | | Closes: https://github.com/gentoo/gentoo/pull/16326 Signed-off-by: Michał Górny <mgorny@gentoo.org>
* dune.eclass: new eclassRafael Kitover2020-06-241-0/+65
| | | | | | | | | | | New eclass for the Dune build system for OCaml. https://github.com/ocaml/dune Based on oasis.eclass and opam.eclass for OCaml. Signed-off-by: Rafael Kitover <rkitover@gmail.com> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
* kernel-install.eclass: Warn about linux-firmware in pkg_pretend()Michał Górny2020-06-241-1/+24
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* kernel-install.eclass: Add pkg_config() to reinstallMichał Górny2020-06-241-0/+23
| | | | | | | Add a pkg_config() phase that can be used to rebuild the initramfs and reinstall the kernel without rebuilding the whole package. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* llvm.org.eclass: Add a helper function for common lit argsMichał Górny2020-06-231-0/+20
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* llvm.org.eclass: Declare CMAKE_BUILD_TYPEMichał Górny2020-06-231-0/+5
| | | | | | | Deduplicate CMAKE_BUILD_TYPE from most of the LLVM ebuilds to the eclass. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* llvm.org.eclass: Introduce llvm-project patch-friendly src_prepareMichał Górny2020-06-231-0/+23
| | | | | | | | | Introduce llvm.org_src_prepare() that calls appropriate src_prepare() implementation (either cmake or default), causing patch application to happen in ${WORKDIR} rather than ${S}. This makes it possible to use patches made against llvm-project git repository out of the box. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* eclass: mark netsurf.eclass @DEAD.Michael Orlitzky2020-06-221-1/+2
| | | | Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
* toolchain.eclass: drop fix_libtool_files.shSergei Trofimovich2020-06-191-31/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | fixlafiles.awk can mangle two things in .la fils: 1. patch reference 'from .../libstdc++.la' to '-lstdc++' 2. change ${CHOST} when user switches CHOST and rebuilds the system [1.] is not relevant since gcc-4 in Gentoo where we started deleting libstdc++.la on gcc installation. Nothing should embed libstdc++.la paths anymore. [2.] is a rare one-off step that has a lot more caveats than just .la file patching. Generally .la files are tracked by package manager and should not be changed after they are installed on disk. 'fix_libtool_files.sh' breaks that invariant. On top of that portage's FEATURES=fixlafiles removes nested .la files references. Let's remove 'fix_libtool_files.sh' and 'fixlafiles.awk' completely. If really needed we can reintroduce it as a separate tool. Closes: https://bugs.gentoo.org/722554 Closes: https://bugs.gentoo.org/657330 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* eclass/tests/distutils-r1.sh: update dep valuesMichał Górny2020-06-191-4/+4
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* distutils-r1.eclass: Set min nose/pytest versionsMichał Górny2020-06-191-2/+2
| | | | | | | Require minimum nose/pytest versions in distutils_enable_tests. This should save us some annoying bug reports from outdated systems. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* kde.org.eclass: kde-frameworks/kxmlrpcclient moved to portingAidsAndreas Sturmlechner2020-06-141-0/+3
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* multilib.eclass: populate STRINGSSergei Trofimovich2020-06-141-0/+4
| | | | | | | | | | | | | | | | For both multilib and non-multilib profiles binutils provides tools with native CHOST prefix only. For example on amd64 there is only 'x86_64-pc-linux-gnu-strings' and 'strings'. autoconf usually uses AC_CHECK_TOOL(STRINGS, strings) autodetection to discover either of these. The change overrides STRINGS and friends to 'x86_64-pc-linux-gnu-strings' for multilib setup similar to other environment variables. Tested on media-libs/x264 and x11-libs/cairo packages. Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* toolchain-funcs.eclass: export tc-get*STRINGS helpersSergei Trofimovich2020-06-141-0/+8
| | | | Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* multilib.eclass: export PKG_CONFIG in multilib_toolchain_setupMike Gilbert2020-06-131-0/+2
| | | | | | | | | This ensures that autoconf will not try to use a crossdev wrapper for non-native ABIs. Instead, we always use the native pkg-config, and override its behavior via PKG_CONFIG_LIBDIR and PKG_CONFIG_SYSTEM_LIBRARY_PATH. Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* multilib.eclass: export PKG_CONFIG_SYSTEM_LIBRARY_PATH in ↵Mike Gilbert2020-06-131-0/+2
| | | | | | | | | multilib_toolchain_setup This ensures pkg-config --libs will filter -L/usr/lib from its output for non-native ABIs. Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* Remove MULTILIB_USEDEP from all virtual/pkgconfig dependenciesMike Gilbert2020-06-133-13/+5
| | | | | Bug: https://bugs.gentoo.org/723112 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* meson.eclass: override 'nm' tool with tuple-prefixed oneSergei Trofimovich2020-06-131-0/+2
| | | | | | | | | | | | | | x11-libs/libdrm and media-libs/libglvnd fail to find 'nm' tool on sys-devel/binutils-config[-native-symlinks] system as: `meson.build:40:0: ERROR: Program(s) ['nm'] not found or not executable` It's caused by the code that locates the tool as: `prog_nm = find_program('nm')`. The change adds 'nm' tool along with other binutils tools. Closes: https://bugs.gentoo.org/720886 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* eclass/go-module.eclass: remove EGO_VENDOR supportWilliam Hubbs2020-06-121-75/+6
| | | | Signed-off-by: William Hubbs <williamh@gentoo.org>
* eclass/cargo.eclass: drop EAPI=6 supportGeorgy Yakovlev2020-06-121-1/+0
| | | | | | no consumers left in the tree Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>