summaryrefslogtreecommitdiff
path: root/eclass
Commit message (Collapse)AuthorAgeFilesLines
* kernel-install.eclass: Restrict tests on arm&arm64Michał Górny2020-08-131-1/+5
| | | | | | Restrict tests on arches that currently lack a test image. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* eclass/texlive-common.eclass: fix texlive-common_is_file_present_in_texmf.Alexis Ballier2020-08-121-0/+1
| | | | | | | | | Function was not returning if the file was found or not. Always returned true. Fixes: [dcfc5829e7c027057d8] texlive-common.eclass: kill POSIXism Closes: https://bugs.gentoo.org/736872 Signed-off-by: Alexis Ballier <aballier@gentoo.org>
* flag-o-matic.eclass: fix '-gstabs' filtering (allow '-gstabs')Sergei Trofimovich2020-08-101-1/+1
| | | | | | 'gstabs' is not a valid compiler flag. '-gstabs' is valid. Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* flag-o-matic.eclass: allow -gdwarf (we already allow -gdwarf-*)Sergei Trofimovich2020-08-101-1/+1
| | | | | | Reported-by: Guilherme Amadio Suggested-by: Arfrever Frehtes Taifersar Arahesis Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* flag-o-matic.eclass: add whitespace around -g* optionsSergei Trofimovich2020-08-101-1/+8
| | | | | | No functional change. Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* distutils-r1.eclass: Set PATH in distutils_install_for_testingMichał Górny2020-08-091-0/+6
| | | | | | | | Make distutils_install_for_testing set PATH so that newly-installed scripts are available in the testing environment. Make PATH local in all sub-phases to make modifications safe. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* kde.org.eclass: Switch EGIT_MIRROR to https://invent.kde.org/kdeAndreas Sturmlechner2020-08-081-1/+1
| | | | | | | | | | | Upstream did a mass-import to KDE group first, and those links persist even after the move into subgroups, so for now we can use it as flat structure fallback URI, coming from cgit.kde.org. See also: https://mail.kde.org/pipermail/kde-community/2020q2/006241.html See also: https://mail.kde.org/pipermail/kde-cvs-announce/2020/000198.html Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* ecm.eclass: Drop duplicate local lang declarationAndreas Sturmlechner2020-08-081-1/+0
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* eclass/linux-mod: migrate to sys-apps/kmodMikle Kolyada2020-08-081-1/+1
| | | | Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
* toolchain.eclass: raise minimum gcc-config up to 2.3Sergei Trofimovich2020-08-071-1/+1
| | | | | | | | | | In #736040 gcc-config-1.9 was not able to handle gcc-10 paths. Let's raise lower bound to minimum stable version currently in ::gentoo. Reported-by: Dennis Nezic Bug: https://bugs.gentoo.org/736040 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* xorg-3.eclass: Add missing spaceMatt Turner2020-08-071-1/+1
| | | | Signed-off-by: Matt Turner <mattst88@gentoo.org>
* xorg-3.eclass: Fix inherits and BDEPENDMike Lothian2020-08-071-2/+2
| | | | | | | | | | Remove duplicate flag-o-matic and re-add ${GIT_ECLASS} to allow xorg-3 git ebuilds to work again Don't overwrite BDEPEND variable Signed-off-by: Mike Lothian <mike@fireburn.co.uk> Closes: https://github.com/gentoo/gentoo/pull/17043 Signed-off-by: Matt Turner <mattst88@gentoo.org>
* python*-r1.eclass: Check for invalid impl patternsMichał Górny2020-08-073-0/+44
| | | | | | | | | | | | | Check for invalid implementation patterns passed to python_gen* functions, python_setup, etc. Currently the functions silently ignore pattern mismatches which is fine for patterns matching historical implementations but also hides errors in patterns. After this change, each pattern must match at least one current or historical implementation. If no match is found, the function dies indicating developer's mistake. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* eclass/ruby-{ng,utils}.eclass: mark ruby24 as removedHans de Graaff2020-08-072-3/+3
| | | | Signed-off-by: Hans de Graaff <graaff@gentoo.org>
* xorg-3.eclass: Add support for handling fontsHenrik Pihl2020-08-061-4/+172
| | | | | Signed-off-by: Henrik Pihl <ahvenas@gmail.com> Signed-off-by: Matt Turner <mattst88@gentoo.org>
* cuda.eclass: adopt it on behalf of Science Project.Benda Xu2020-08-051-1/+1
| | | | | | Signed-off-by: Benda Xu <heroxbd@gentoo.org> Reference: https://archives.gentoo.org/gentoo-dev/message/d693da42b93e7bf016a44b3ae3752b9f
* */*: reassign jlec's packagesMichał Górny2020-08-053-5/+3
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* elisp-common.eclass: Support installation of dynamic modules.Ulrich Müller2020-08-031-6/+36
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* kernel-install.eclass: Pass '-cpu max' on amd64 onlyMichał Górny2020-08-011-1/+3
| | | | | | It seems to break testing on 32-bit x86. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* toolchain.eclass: drop java binary renames for <gcc-4Sergei Trofimovich2020-07-311-41/+0
| | | | Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* toolchain.eclass: drop --as-needed spec workaround for <gcc-3.4.4Sergei Trofimovich2020-07-311-7/+0
| | | | Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* toolchain.eclass: always validate gcc/BASE-VER (assume >=gcc-4.1)Sergei Trofimovich2020-07-311-6/+4
| | | | Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* toolchain.eclass: drop fixheadtails.eclass use for <gcc-4.3Sergei Trofimovich2020-07-311-10/+1
| | | | Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* toolchain.eclass: drop tweak for pythondir for gcc-{4.5..4.7}Sergei Trofimovich2020-07-311-8/+0
| | | | Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* toolchain.eclass: drop support for standalone lang=dSergei Trofimovich2020-07-311-16/+0
| | | | | | | 'd' is merged and maintained upstream. Dropped support for external patches. No ::gentoo ebuilds are using it. Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* toolchain.eclass: drop IUSE=boundschecking supportSergei Trofimovich2020-07-311-29/+1
| | | | | | boundschecking patch is superseded by IUSE=sanitize Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* toolchain.eclass: simplify LICENSE= by leaving >=gcc-4.6 caseSergei Trofimovich2020-07-311-14/+1
| | | | Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* toolchain.eclass: drop handling of /usr/lib/gcc-lib for gcc-3.3Sergei Trofimovich2020-07-311-5/+1
| | | | Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* toolchain.eclass: drop IUSE=mudflap handlingSergei Trofimovich2020-07-311-7/+0
| | | | | | mudflap was removed in favour of sanitizers. Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* toolchain.eclass: avoid libquadmath in stage1-gccSergei Trofimovich2020-07-301-0/+3
| | | | | | | | | | | | | | libquadmath relies on libc presence (sqrt symbols). When initial toolchain is bootstrapped libc is not available yet. The change disables libquadmath for bootstrap cases when libc is not installed yet. gcc-stage2 still uses platform defaults for libquadmath. Reported-by: Andrew Aladjev Closes: https://bugs.gentoo.org/734820 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* toolchain.eclass: also delete /usr/bin/fix_libtool_files.shSergei Trofimovich2020-07-301-0/+1
| | | | | | Reported-by: Silvio Closes: https://bugs.gentoo.org/734008 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* ruby-ng-gnome2.eclass: drop non-necessary dieNaohiro Aota2020-07-301-2/+2
| | | | | | We don't need to die explicitly for ebuild helpers. Drop useless dies. Signed-off-by: Naohiro Aota <naota@gentoo.org>
* ruby-ng-gnome2.eclass: add support for 3.4.xNaohiro Aota2020-07-301-3/+9
| | | | | | Update SRC_URI since the primary release site is moved to github. Signed-off-by: Naohiro Aota <naota@gentoo.org>
* ruby-ng-gnome2.eclass: fold common all_ruby_prepareNaohiro Aota2020-07-301-0/+22
| | | | Signed-off-by: Naohiro Aota <naota@gentoo.org>
* ruby-ng-gnome2.eclass: support non-build packagesNaohiro Aota2020-07-301-4/+10
| | | | | | | | Some ruby-gnome2 ebuild does not build C bindings, so there is no need to call each_ruby_{configure,compile} and emake install of this eclass. Check if "extconf.rb" and "Makefile" to decide what to do. Signed-off-by: Naohiro Aota <naota@gentoo.org>
* ruby-ng-gnome2.eclass: implement common test codeNaohiro Aota2020-07-301-0/+23
| | | | | | | | Fold common test code from runy-gnome2 ebuild to this eclass. To support test under virtx, introduce RUBY_GNOME2_NEED_VIRTX variable. Signed-off-by: Naohiro Aota <naota@gentoo.org>
* ruby-ng-gnome2.eclass: add test dependencyNaohiro Aota2020-07-301-2/+5
| | | | Signed-off-by: Naohiro Aota <naota@gentoo.org>
* ruby-ng-gnome2.eclass: Use [[ instead of [Naohiro Aota2020-07-301-1/+1
| | | | Signed-off-by: Naohiro Aota <naota@gentoo.org>
* ruby-ng-gnome2.eclass: drop subbinding variableNaohiro Aota2020-07-301-3/+1
| | | | | | | Since we can set RUBY_S only from RUBY_FAKEGEM_NAME, we no longer need $subbinding. Signed-off-by: Naohiro Aota <naota@gentoo.org>
* ruby-ng-gnome2.eclass: fix LICENSENaohiro Aota2020-07-301-1/+1
| | | | | | All ruby-gnome2 packages in the tree is now licensed under LGPL-2.1+. Signed-off-by: Naohiro Aota <naota@gentoo.org>
* ruby-ng-gnome2.eclass: drop support for <EAPI=6Naohiro Aota2020-07-301-11/+4
| | | | | | | | All users of ruby-ng-gnome2 in the official tree are on EAPI=6, so we can drop old EAPI support to reduce "if" branches and make the feature updates simple. Signed-off-by: Naohiro Aota <naota@gentoo.org>
* ruby-ng-gnome2.eclass: drop support for 0.19.xNaohiro Aota2020-07-301-9/+5
| | | | | | | The official tree no longer have ruby-gnome2 packages with 0.19.x. Drop support for them. Signed-off-by: Naohiro Aota <naota@gentoo.org>
* toolchain.eclass: install libquadmath by defaultSergei Trofimovich2020-07-301-6/+0
| | | | | | | | | | libquadmath is a small support runtime library for _Float128 types. sci-libs/fftw happens to use it and expects it to be provided by gcc. Let's provide it unconditionally. Reported-by: Fredric Johansson Closes: https://bugs.gentoo.org/608990 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* eclass/ros-catkin.eclass: Export ROS_PYTHON_VERSION when building.Alexis Ballier2020-07-291-0/+2
| | | | | | | Fixes e.g. dev-ros/test_tf2 tests. Closes: https://bugs.gentoo.org/624756 Signed-off-by: Alexis Ballier <aballier@gentoo.org>
* 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>