summaryrefslogtreecommitdiff
path: root/eclass
Commit message (Collapse)AuthorAgeFilesLines
* go-modules.eclass: allow the module cache to be read/writeWilliam Hubbs2021-09-231-1/+1
| | | | | | | | | | | | | | | This allows the modules to be cleaned up on prefix systems. More information is available here: https://github.com/golang/go/issues/27161 I would like to thank Raffaele Spinelli <rafspiny@gmail.com> for the original patch this was based on. Closes: https://bugs.gentoo.org/812977 Closes: https://github.com/gentoo/gentoo/pull/22365 Signed-off-by: William Hubbs <williamh@gentoo.org>
* meson.eclass: depend in >=dev-util/meson-0.58.2-r1Mike Gilbert2021-09-211-1/+1
| | | | | Bug: https://bugs.gentoo.org/810655 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* toolchain.eclass: Add minimal eclassdoc to enable parsingMichał Górny2021-09-211-1/+4
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* stardict.eclass: Fix incorrect start tagMichał Górny2021-09-211-2/+6
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* java-utils-2.eclass: Fix incorrect multi-line @RETURN in docMichał Górny2021-09-211-2/+1
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* llvm.org.eclass: Add LLVM_TARGETS decl APIMichał Górny2021-09-201-0/+73
| | | | | | | | | Move the target declarations that are currently shared between multiple ebuilds (and there's more to come!) to the eclass to reduce duplication and ease maintenance. Add an API to add USE flags and dependencies on targets to packages. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* ada.eclass: BadDefaultUseFlagsAlfredo Tupone2021-09-201-1/+1
| | | | Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
* systemd.eclass: introduce systemd_get_systempresetdirMike Gilbert2021-09-191-0/+18
| | | | | Bug: https://bugs.gentoo.org/813639 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* udev.eclass: set PKG_CONFIG_FDO_SYSROOT_RULESMike Gilbert2021-09-191-0/+2
| | | | | | | This prevents pkgconf from prepending install paths with SYSROOT. Bug: https://bugs.gentoo.org/813639 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* systemd.eclass: set PKG_CONFIG_FDO_SYSROOT_RULESMike Gilbert2021-09-191-0/+3
| | | | | | | This prevents pkgconf from prepending install paths with SYSROOT. Bug: https://bugs.gentoo.org/813639 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* ada.eclass: drop support for <gnat_2019Alfredo Tupone2021-09-191-10/+2
| | | | Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
* kernel-2.eclass: Update PYTHON_COMPAT to drop python 3.7Alice Ferrazzi2021-09-171-1/+1
| | | | Signed-off-by: Alice Ferrazzi <alicef@gentoo.org>
* ssl-cert.eclass: add EAPI 8 supportEray Aslan2021-09-161-12/+10
| | | | | | | - drop support for EAPI < 6 - add guard Signed-off-by: Eray Aslan <eras@gentoo.org>
* linux-info.eclass: getfilevar: pass dot-config=0 to makeMike Gilbert2021-09-141-1/+2
| | | | | | | This disables the kernel config check for versions prior to 5.4. Closes: https://bugs.gentoo.org/811726 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* linux-info.eclass: rework get_running_versionMike Gilbert2021-09-141-27/+20
| | | | | | | | | | | | | | This function may fail if the version cannot be parsed from a Makefile found by following the /lib/modules/${KV_FULL}/{source,build} symlinks. Instead of failing, we should just split KV_FULL as a fallback. Also, simplify the existance checks for the kernel Makefile; if we can't find the kernel source directory, there is really no point in checking for the kernel build directory. The latter will probably contain a Makefile with no version information. Bug: https://bugs.gentoo.org/811726 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* distutils-r1.eclass: use _python_check_EPYTHONFlorian Schmaus2021-09-141-1/+7
| | | | | | | | Replace the existing EPYTHON check with _python_check_EPYTHON and use _python_check_EPYTHON in a few additional places. Signed-off-by: Florian Schmaus <flow@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/21610
* python-utils-r1.eclass: add and use _python_check_EPYTHONFlorian Schmaus2021-09-141-2/+12
| | | | Signed-off-by: Florian Schmaus <flow@gentoo.org>
* eclass/ruby-ng.eclass: ruby25 is no longer availableHans de Graaff2021-09-121-1/+1
| | | | Signed-off-by: Hans de Graaff <graaff@gentoo.org>
* mercurial.eclass: fix typo EGIT_CHECKOUT_DIR -> EHG_CHECKOUT_DIRArthur Zamarin2021-09-111-1/+1
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* ros-catkin.eclass: Set @PROVIDESMichał Górny2021-09-111-0/+1
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* php-ext-pecl-r3.eclass: Set @PROVIDESMichał Górny2021-09-111-0/+1
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* kodi-addon.eclass: Set @PROVIDESMichał Górny2021-09-111-1/+2
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* haskell-cabal.eclass: Set @PROVIDESMichał Górny2021-09-111-0/+1
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* Revert "go-module.eclass: Set @PROVIDES"Sam James2021-09-111-2/+1
| | | | | | | | This reverts commit 9f41c938a745479414544fa9c03aaa1b6d9b989b. Doesn't inherit it! Signed-off-by: Sam James <sam@gentoo.org>
* go-module.eclass: Set @PROVIDESMichał Górny2021-09-111-1/+2
| | | | | Signed-off-by: Michał Górny <mgorny@gentoo.org> Signed-off-by: Sam James <sam@gentoo.org>
* distutils-r1.eclass: Fix obsolete comment on DUSMichał Górny2021-09-091-1/+1
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* kernel-2.eclass: Remove < 2.6 support for kernel headersMike Pagano2021-09-091-107/+5
| | | | | | | | | | | | | | The functionality removed is only to support kernels < 2.6 These kernels have long been removed from the tree Detail: Remove the function compile_headers as it is not called for kernels > 2.6.18 because that's when the build target headers_install was introduced. Remove supporting function compile_headers_tweak_config. Additionally, remove 2.6 support from install_headers. Signed-off-by: Mike Pagano <mpagano@gentoo.org>
* qt5-build.eclass: Downpatch version of live to 5.15.2 tooAndreas Sturmlechner2021-09-081-3/+5
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* qt5-build.eclass: Introduce QT5_PV for intra-dev-qt depsAndreas Sturmlechner2021-09-081-2/+8
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* qt5-build.eclass: Always run qt5_tools_configure for QT5_MODULE=qttoolsAndreas Sturmlechner2021-09-081-5/+20
| | | | | | | | | | | Run qt5_qmake directly inside qt5_tools_configure(), copy the resulting qttools-config.pri into QT5_BUILD_DIR again. Add linguist-tools handling. Closes: https://bugs.gentoo.org/728278 Closes: https://bugs.gentoo.org/811147 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* linux-info.eclass : Remove log references to linux 2.4 and gcc 4Mike Pagano2021-09-081-15/+0
| | | | Signed-off-by: Mike Pagano <mpagano@gentoo.org>
* kde.org.eclass: Support different dev-qt stable branch PVAndreas Sturmlechner2021-09-071-1/+1
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* linux-mod.eclass: set CROSS_COMPILE in the environmentMike Gilbert2021-09-061-2/+6
| | | | | | | | This allows it to be overriden in local Makefiles. Closes: https://bugs.gentoo.org/550428 Closes: https://github.com/gentoo/gentoo/pull/22225 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* linux-info.eclass: getfilevar: pass need-config= to makeMike Gilbert2021-09-061-1/+2
| | | | | | | This bypasses the config check in the kernel Makefile. Closes: https://bugs.gentoo.org/811726 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* linux-info.eclass: Properly return when makefile foundMike Pagano2021-09-041-3/+3
| | | | Signed-off-by: Mike Pagano <mpagano@gentoo.org>
* Thanks to Sam, mgorny and Ulm for the review.Mike Pagano2021-09-041-4/+26
| | | | | | | | | | | | | | | Support the possibility that the Makefile could be one of the following and should be checked in the order described here: https://www.gnu.org/software/make/manual/make.html Order of checking and valid Makefiles names: GNUMakefile, makefile, Makefile Closes: https://bugs.gentoo.org/663368 Signed-off-by: Mike Pagano <mpagano@gentoo.org>
* postgres-multi.eclass: Set @PROVIDESMichał Górny2021-09-041-0/+1
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* mozcoreconf-v5.eclass: threads are always enabled for Python nowSam James2021-09-041-2/+2
| | | | | See: 742eeca02a0d06a56f6a69af55bcbcdf42f18ba1 Signed-off-by: Sam James <sam@gentoo.org>
* multilib.eclass: add OBJCOPY to exception listDavid Seifert2021-09-041-0/+2
| | | | Signed-off-by: David Seifert <soap@gentoo.org>
* subversion.eclass: Move EXPORT_FUNCTIONS below inheritUlrich Müller2021-09-031-12/+9
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* rpm.eclass: Move EXPORT_FUNCTIONS below inheritUlrich Müller2021-09-031-2/+2
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* php-ext-source-r3.eclass: Move EXPORT_FUNCTIONS below inheritUlrich Müller2021-09-031-2/+2
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* php-ext-pecl-r3.eclass: Move EXPORT_FUNCTIONS below inheritUlrich Müller2021-09-031-2/+2
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* mercurial.eclass: Move EXPORT_FUNCTIONS below inheritUlrich Müller2021-09-031-2/+2
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* linux-mod.eclass: Move EXPORT_FUNCTIONS below inheritUlrich Müller2021-09-031-2/+3
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* kernel-2.eclass: Move EXPORT_FUNCTIONS below inheritUlrich Müller2021-09-031-6/+8
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* java-virtuals.eclass: Move EXPORT_FUNCTIONS below inheritUlrich Müller2021-09-031-2/+2
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* java-pkg-simple.eclass: Move EXPORT_FUNCTIONS below inheritUlrich Müller2021-09-031-2/+2
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* java-pkg-opt-2.eclass: Move EXPORT_FUNCTIONS below inheritUlrich Müller2021-09-031-2/+2
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* java-pkg-2.eclass: Move EXPORT_FUNCTIONS below inheritUlrich Müller2021-09-031-2/+2
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>