summaryrefslogtreecommitdiff
path: root/eclass
Commit message (Collapse)AuthorAgeFilesLines
* eclass/ros-catkin.eclass: Drop eapi < 7Alexis Ballier2020-07-291-22/+8
| | | | Signed-off-by: Alexis Ballier <aballier@gentoo.org>
* eclass/ros-catkin.eclass: Convert to python-single-r1.Alexis Ballier2020-07-291-44/+17
| | | | | | | | Enable python3.7. Np 3.8 yet due to missing deps. Closes: https://bugs.gentoo.org/705526 Closes: https://bugs.gentoo.org/718112 Signed-off-by: Alexis Ballier <aballier@gentoo.org>
* eclass/sword-module.eclass: update SRC_URI, expand a bit, clean upMarek Szuba2020-07-291-15/+77
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. The old version expected versioned source archives to have been manually uploaded to the Gentoo mirror network by package maintainers. This is no longer allowed, or indeed possible for most Gentoo developers. Instead, use the SRC_URI arrow mechanism to version archives fetched directly from upstream. SWORD Project updates their modules quite infrequently so it isn't really necessary to worry the file having changed between looking the version number up on the module page and fetching the archive for digest generation, and while users who do not use Gentoo mirrors will see digest conflicts when an update does occur, this would effectively encourage them to notify maintainers whenever a new version is released; 2. If SWORD_MODULE is not set, attempt to generate it from PN by stripping the prefix 'sword-'. This will allow explicit declarations of SWORD_MODULE to be removed from all app-dicts/sword-* ebuilds currently in the tree; 3. Add the optional variable SWORD_MINIMUM_VERSION to specify the lowest version of app-text/sword supported by the module at hand; 4. Remove redundant declarations of HOMEPAGE and IUSE; 5. app-arch/unzip is now in BDEPEND rather than DEPEND; 6. As a consequence of the above, enforce the use of EAPI-7 in ebuilds inheriting this eclass. Those in the tree have all already been updated to that EAPI version; 7. Remove redundant references to ${S} from doins() calls; 8. Add eclassdoc blocks. No revision change in the end because all the changes should be backwards-compatible. Closes: https://bugs.gentoo.org/637882 Signed-off-by: Marek Szuba <marecki@gentoo.org>
* nvidia-driver.eclass: Call _check_kernel only when USE=driverJeroen Roovers2020-07-291-1/+1
| | | | Signed-off-by: Jeroen Roovers <jer@gentoo.org>
* */*: take over Project:Theology packages and eclassMarek Szuba2020-07-251-2/+2
| | | | | | As announced by mgorny on gentoo-dev, the Theology project is now empty. Signed-off-by: Marek Szuba <marecki@gentoo.org>
* cmake*.eclass: Hardcode CMAKE_FIND_LIBRARY_CUSTOM_LIB_SUFFIX for riscvAndreas K. Hüttel2020-07-252-0/+12
| | | | | Bug: https://bugs.gentoo.org/689410 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
* kernel-install.eclass: Run tests with '-cpu max'Michał Górny2020-07-181-1/+2
| | | | | | | | | Since dracut is using host system executables, qemu needs to be able to execute these executables independently of the CFLAGS used by the user. For this reason make sure to enable all supported instruction sets rather than the default. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* llvm.eclass: Add 12 to known slotsMichał Górny2020-07-151-1/+1
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* llvm.org.eclass: master is now LLVM 12Michał Górny2020-07-151-1/+1
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* eclass: remove dead netsurf eclass.Michael Orlitzky2020-07-151-179/+0
| | | | Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
* 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>