summaryrefslogtreecommitdiff
path: root/eclass
Commit message (Collapse)AuthorAgeFilesLines
* lua-utils.eclass: Add lua_get_shared_lib()Marek Szuba2020-10-151-0/+52
| | | | | | | For build systems which must be pointed directly to the relevant files, e.g. CMake. Signed-off-by: Marek Szuba <marecki@gentoo.org>
* lua-utils.eclass: Add lua_get_include_dir()Marek Szuba2020-10-151-0/+24
| | | | | | | For build systems which must be pointed directly to the relevant files, e.g. CMake. Signed-off-by: Marek Szuba <marecki@gentoo.org>
* pam.eclass: allow modules substackingMikle Kolyada2020-10-141-5/+1
| | | | Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
* verify-sig.eclass: allow .asc PGP signaturesJoonas Niilola2020-10-141-1/+1
| | | | Signed-off-by: Joonas Niilola <juippis@gentoo.org>
* eclass/dune.eclass: Add BDEPENDMark Wright2020-10-131-2/+5
| | | | Signed-off-by: Mark Wright <gienah@gentoo.org>
* eclass/opam.eclass: Changes from ml-overlayMark Wright2020-10-131-5/+17
| | | | | Co-Author: Alexis Ballier <aballier@gentoo.org> Signed-off-by: Mark Wright <gienah@gentoo.org>
* lua-utils.eclass: Support luajitMarek Szuba2020-10-121-4/+17
| | | | | | | | | | | | | | | According to discussions on IRC, luajit should work as a drop-in replacement for lua5.1 - and indeed, at least for x11-wm/awesome it has worked. Note that for the time being dev-lang/luajit uses the same module directories as dev-lang/lua:5.1, which may lead to weird behaviour in multi-impl ebuilds supporting both lua5-1 and luajit. Hopefully we will get luajit to use its own directories so that it is fully independent, same as we install pypy3 modules in their own directory hierarchy in spite of compatibility with cpython-3.6. Signed-off-by: Marek Szuba <marecki@gentoo.org>
* eclass/ros-catkin.eclass: Enable python 3.8Alexis Ballier2020-10-111-2/+2
| | | | Signed-off-by: Alexis Ballier <aballier@gentoo.org>
* verify-sig.eclass: Fix eclassdocMichał Górny2020-10-101-2/+0
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* verify-sig.eclass: New eclass to verify OpenPGP sigsMichał Górny2020-10-101-0/+177
| | | | | | | | | | | verify-sig eclass provides a streamlined approach to verifying upstream signatures on distfiles. Its primary purpose is to permit developers to easily verify signatures while bumping packages. The eclass removes the risk of developer forgetting to perform the verification, or performing it incorrectly, e.g. due to additional keys in the local keyring. It also permits users to verify the developer's work. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* kde.org.eclass: Drop obsolete KDE Frameworks 5.70 quirkAndreas Sturmlechner2020-10-091-4/+2
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* lua-single.eclass: new eclass for single-implementation Lua ebuildsMarek Szuba2020-10-051-0/+510
| | | | | | | With many thanks to Michał Górny and other authors of python-single-r1.eclass. Signed-off-by: Marek Szuba <marecki@gentoo.org>
* lua.eclass: die if lua-single.eclass has already been loadedMarek Szuba2020-10-051-0/+4
| | | | Signed-off-by: Marek Szuba <marecki@gentoo.org>
* lua.eclass: split some stuff out as lua-utils.eclassMarek Szuba2020-10-052-339/+379
| | | | | | These are the things that will be used by both lua and lua-single. Signed-off-by: Marek Szuba <marecki@gentoo.org>
* xorg-3.eclass: Require --disable-all-encodings for fontsMatt Turner2020-10-021-23/+5
| | | | | | | Presumably in the distant past all font packages did not support this option. They do today, so we can simplify our logic. Signed-off-by: Matt Turner <mattst88@gentoo.org>
* xorg-3.eclass: Drop font IUSE=nls handlingMatt Turner2020-10-021-2/+0
| | | | | | | | | | | | | The previous logic incorrectly added IUSE=nls for font-bitstream-100dpi, font-bitstream-75dpi, font-cronyx-cyrillic, font-misc-cyrillic, font-screen-cyrillic, and font-winitzki-cyrillic. This caused "QA Notice: Unrecognized configure options: ..." with USE=-nls. Instead, we'll simply have IUSE="nls" in the packages' ebuilds that need it. Closes: https://bugs.gentoo.org/745756 Signed-off-by: Matt Turner <mattst88@gentoo.org>
* apache-2.eclass: Removed EAPI-5 supportLars Wendler2020-10-011-23/+6
| | | | Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
* apache-2.eclass: Added missing "|| die" statementsLars Wendler2020-10-011-14/+21
| | | | Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
* apache-2.eclass: Mark some variables as localLars Wendler2020-10-011-2/+3
| | | | Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
* apache-2.eclass: Removed version specific suexec handlingLars Wendler2020-10-011-11/+6
| | | | Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
* apache-2.eclass: Drop apache-2.2 specific codeLars Wendler2020-10-011-7/+1
| | | | Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
* cmake.eclass: Reformat the cmake code we write to lowercase callsAndreas Sturmlechner2020-09-291-55/+51
| | | | | | | | Add some indendation, drop space between function name and brackets, cleanup old style if-else-endif. Bug: https://bugs.gentoo.org/739230 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* eclass/cargo.eclass: move cargo_gen_config definition to the topGeorgy Yakovlev2020-09-281-38/+38
| | | | Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
* eclass/cargo.eclass: require cargo_gen_config in cargo_src* functionsGeorgy Yakovlev2020-09-281-0/+10
| | | | | | | | | | | | | | cargo_gen_config sets required config values and env vars, which cargo_src_{compile,test,install} rely on. it should be called as last step of src_unpack normally, so check it did. Crate sources may have been vendored or cargo is wrapped by other build system and pre-fetched, so cargo_*unpack may not have been used. In that case our config does not work for external build system, our cargo_src_ functions should not be used. Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
* eclass/cargo.eclass: support cached downloads for live ebuildsGeorgy Yakovlev2020-09-281-7/+106
| | | | | | | Also honor ECARGO_OFFLINE/EVCS_OFFLINE Good portion of the code/logic inspired by git-r3.eclass. Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
* Remove unused private eclassesMichał Górny2020-09-252-652/+0
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* elisp-common.eclass: Fix QA warning in elisp-site-file-install.Ulrich Müller2020-09-251-3/+6
| | | | | | Thanks to ago for pointing this out. Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* eclass/cargo.eclass: add cargo_src_configure (revised)Georgy Yakovlev2020-09-221-16/+87
| | | | | | | | simple src_configure implementation inspired by cmake.eclass plus some nice improvements to eclass. Closes: https://bugs.gentoo.org/721936 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
* distutils-r1.eclass: Remove obsolete DISTUTILS_USE_SETUPTOOLS checkMichał Górny2020-09-211-42/+0
| | | | | | | The DISTUTILS_USE_SETUPTOOLS check is now done in install-qa-check.d, so remove the duplicate. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* multilib-build.eclass: Drop ABI_RISCV multilib overkillAndreas K. Hüttel2020-09-181-18/+0
| | | | Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
* python-utils-r1.eclass: Make python_optimize fail if -x $PYTHONMichał Górny2020-09-171-0/+1
| | | | | | | | | | | Make python_optimize() fail if the expected Python interpreter is not executable. Since some errors are expected during Python byte-compilation (e.g. CPython includes test .py modules with syntax errors), we can't rely on compileall result. However, this will catch at least the very bad mistake of wrong ${PYTHON} that affects e.g. dev-python/pypy*. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* elisp-common.eclass: Avoid @ character at beginning of comment.Ulrich Müller2020-09-171-3/+3
| | | | | | Bug: https://github.com/mgorny/eclass-to-manpage/issues/3 Reported-by: John Helmert III <jchelmert3@posteo.net> Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* eclass/go-module.eclass: add a missing die callWilliam Hubbs2020-09-141-1/+1
| | | | Signed-off-by: William Hubbs <williamh@gentoo.org>
* ltprune.eclass: update find command per qa policy-guideJoonas Niilola2020-09-131-1/+1
| | | | | | - policy-guide/commit/2ab9dac1a436e8698963da0aa0a00c978611a747 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
* ltprune.eclass: match removing libtool files command with policy guideJoonas Niilola2020-09-131-2/+2
| | | | | | - https://projects.gentoo.org/qa/policy-guide/installed-files.html#pg0303 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
* multilib-build.eclass: Fix riscv abi conditionals in pseudo-headerAndreas K. Hüttel2020-09-131-5/+5
| | | | Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
* eutils.eclass: Add a global deprecation warning.Ulrich Müller2020-09-121-0/+4
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* eutils.eclass: Deprecate use_if_iuse().Ulrich Müller2020-09-125-39/+51
| | | | | | | | The function is not called from any ebuilds in the gentoo repository. Inline it as "in_iuse foo && use foo" in other eclasses, or define it as a local function when it is called multiple times. Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* eutils.eclass: Deprecate emktemp().Ulrich Müller2020-09-121-2/+4
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* l10n.eclass: strip-linguas() moved from eutils to here.Ulrich Müller2020-09-122-51/+49
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* l10n.eclass: Add conditional to prevent multiple inclusion.Ulrich Müller2020-09-121-1/+6
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* wrapper.eclass: Do not use emktemp.Ulrich Müller2020-09-121-3/+1
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* wrapper.eclass: New eclass, split off from eutils.Ulrich Müller2020-09-122-49/+63
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* edos2unix.eclass: New eclass, split off from eutils.Ulrich Müller2020-09-122-15/+24
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* eutils.eclass: Specify supported EAPIs.Ulrich Müller2020-09-121-4/+7
| | | | | | Proactively deprecate in future EAPIs, as requested by soap. Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* eutils.eclass: Remove optfeature()David Seifert2020-09-121-46/+1
| | | | | | | | * optfeature() is now defined in optfeature.eclass since e9caee95d9c7ec69a8b8a12be2ae9bcd98c46e2d. Signed-off-by: David Seifert <soap@gentoo.org> Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* multilib*.eclass: Add support for rv32 abiAndreas K. Hüttel2020-09-112-6/+38
| | | | Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
* systemd.eclass: deprecate tmpfiles functionsMike Gilbert2020-09-091-0/+6
| | | | | Bug: https://bugs.gentoo.org/740638 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* systemd.eclass: fix systemd_tmpfiles_create under EAPI 7Mike Gilbert2020-09-091-1/+1
| | | | | Closes: https://bugs.gentoo.org/740586 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* eclass: Add first version of lua.eclassMarek Szuba2020-09-081-0/+710
| | | | | | | | | | | | | | | | | This eclass should be to Lua what python-r1 is to Python. Indeed, most of the plumbing has been shamelessly stolen from that eclass. What works: - support for slotted dev-lang/lua - building and installing Lua modules, for multiple Lua implementations - dependencies on other Lua modules What doesn't work yet: - support for dev-lang/luajit (not in the least because the versions currently in the tree share module directories with dev-lang/lua) - proper support for building against a single Lua target Signed-off-by: Marek Szuba <marecki@gentoo.org>