summaryrefslogtreecommitdiff
path: root/eclass
Commit message (Collapse)AuthorAgeFilesLines
* ros-catkin.eclass: enable py3.10Arthur Zamarin2021-10-271-1/+1
| | | | | | | | | - CI passes for this bump - Have ran all tests for packages depending on this eclass, all of them passed. Acked-by: Alexis Ballier <aballier@gentoo.org> Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* linux-mod.eclass: fix minor typo in eclass documentationAlfred Wingate2021-10-251-1/+1
| | | | | | Signed-off-by: Alfred Wingate <parona@protonmail.com> Closes: https://github.com/gentoo/gentoo/pull/22697 Signed-off-by: Mike Pagano <mpagano@gentoo.org>
* xorg-3.eclass: pass --with-fontrootdir to configureMike Gilbert2021-10-241-5/+10
| | | | | | | | | | | | | | The XORG_FONTROOTDIR autoconf macro calls pkg-config to obtain the fontrootdir path defined in fontutil.pc. pkgconf automatically prepends SYSROOT to variable values that start with a "/". For installation paths, we don't want SYSROOT prepended. Passing --with-fontrootdir bypasses the pkg-config call and avoids the problem with SYSROOT. Bug: https://bugs.gentoo.org/815520 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* meson.eclass: add EMESON_BUILDTYPE variableMike Gilbert2021-10-241-1/+9
| | | | | | | | | | | | | This allows the buildtype option to be overridden or omitted. This may be necessary if an ebuild makes use of the 'debug' built-in option control project-specific debug functionality. meson emits a warning if both buildtype and debug are specified, since the former overrides the latter. See discussion in https://github.com/gentoo/gentoo/pull/22574. Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* tree-sitter-grammar.eclass: InitMatt Smith2021-10-211-0/+96
| | | | | Signed-off-by: Matt Smith <matt@offtopica.uk> Signed-off-by: Nick Sarnie <sarnex@gentoo.org>
* linux-info.eclass: add --no-print-directory to emakeMike Pagano2021-10-181-1/+1
| | | | | | | | | | | | | | Thanks to Jocelyn Mayer for the report and the patch. When MAKEOPTS contains '-w' or '--print-directory', getfilevar echoed value contains make: Entering directory 'xxx' and make: Leaving directory 'xxx' which result in a wrong multiline version string thus making kernel versions comparisons always fail. Closes: https://bugs.gentoo.org/816888 Signed-off-by: Mike Pagano <mpagano@gentoo.org>
* eclass/ruby-fakegem.eclass: provide PKG_CONFIG to extensionsHans de Graaff2021-10-171-0/+1
| | | | | | Some extensions, e.g. dev-ruby/hiredis, require this to be present. Signed-off-by: Hans de Graaff <graaff@gentoo.org>
* qt5-build.eclass: Drop EAPI-7 support and obsolete quirksAndreas Sturmlechner2021-10-171-12/+8
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* toolchain.eclass: add sam to distfilesSam James2021-10-131-1/+1
| | | | | | | | slyfox has retired but I've got his distfiles mirrored in my devspace. Closes: https://bugs.gentoo.org/812278 Signed-off-by: Sam James <sam@gentoo.org>
* cvs.eclass: Fix eclass documentationUlrich Müller2021-10-041-1/+3
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* cvs.eclass: Don't rely on sandbox internalsUlrich Müller2021-10-041-4/+4
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* cvs.eclass: Support EAPI 8, drop EAPI 6 and olderUlrich Müller2021-10-041-9/+8
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* eclass/dune.eclass: build with release profileAlfredo Tupone2021-10-031-1/+1
| | | | Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
* gstreamer-meson.eclass: Fix eclass documentationUlrich Müller2021-10-021-1/+1
| | | | | Fixes: 0f014c97162ec8ee23f1355f00bf488c9178e6b9 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* autotools.eclass: mark AUTOTOOLS_DEPEND as an output variableMike Gilbert2021-10-011-1/+1
| | | | | | This variable is used in several ebuilds for optional dependencies. Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* eclass/postgresql.eclass: Support postgres14Patrick Lauer2021-09-301-1/+1
| | | | Signed-off-by: Patrick Lauer <patrick@gentoo.org>
* savedconfig.eclass: drop faulty permissions checkMike Gilbert2021-09-291-7/+3
| | | | | | | | | | | | | | | | | | | | | | | | | This check was meant to test if the user has accidentally restricted access to the /etc/portage/savedconfig directory. There are a few problems: 1. We don't actually need read access on the directory. We really need the execute bit set so that we can access files within the directory. 2. There may be permissions issues on subdirectories, and we would fail to detect them. 3. There is no easy way to distingish between EACCES and ENOENT using shell commands. We get an exit status of 1 from [[ -r ${path} ]] if there is a permissions problem or if some component of the path does not exist. This makes resolving problem 2 difficult without using a more robust language with direct access to errno. Instead of trying to detect a permissions problem, just output a warning telling the user to check permissions if we cannot find a config file. Bug: https://bugs.gentoo.org/289168 Bug: https://bugs.gentoo.org/814995 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* mozcoreconf-v6.eclass: Support EAPI-8Lars Wendler2021-09-281-3/+4
| | | | Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
* mozlinguas-v2.eclass: Support EAPI-8Lars Wendler2021-09-281-2/+2
| | | | Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
* mozextension.eclass: Drop eutils inheritLars Wendler2021-09-281-2/+0
| | | | Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
* distutils-r1.eclass: fix formattingArthur Zamarin2021-09-271-0/+4
| | | | | | | - mark _distutils-r1_check_all_phase_mismatch as @INTERNAL - fix list appearance for distutils_enable_tests options Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* bzr.eclass: Drop support for EBZR_INITIAL_URIUlrich Müller2021-09-271-24/+1
| | | | | | | This was historically used only for GNU Emacs, which had a slow original repository and a fast (but possibly out of date) mirror. Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* bzr.eclass: Don't rely on sandbox internalsUlrich Müller2021-09-271-10/+8
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* bzr.eclass: Fix EBZR_OFFLINE logicUlrich Müller2021-09-271-4/+3
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* bzr.eclass: Names of internal functions, eclassdoc, messagesUlrich Müller2021-09-271-22/+25
| | | | | | This should not make any functional difference. Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* bzr.eclass: Update for dev-vcs/breezy, support EAPIs 7 and 8Ulrich Müller2021-09-271-24/+15
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* bzr.eclass: Reinstate eclassUlrich Müller2021-09-271-0/+289
| | | | | | Taken from commit 320fcf034f5e860454e0d2a28ed405c5b843c60c. Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* 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>