summaryrefslogtreecommitdiff
path: root/eclass
Commit message (Collapse)AuthorAgeFilesLines
* toolchain.eclass: add USE=custom-cflags for gcc-11Sergei Trofimovich2020-11-081-6/+13
| | | | | | | | | | | | | Sometimes it's useful to build gcc quickly with CFLAGS=-O0 as a smoke test for sanity. CFLAGS=-O3 should also generally work as a code generation stres test. But not in general case. Some options like -flto would probably not work as is. Let's allow users to experiment with gcc flags if they really want to. Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* verify-sig.eclass: Support verifying checksum listsMichał Górny2020-11-081-1/+54
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* verify-sig.eclass: Add a function to verify PGP signed messagesMichał Górny2020-11-081-0/+36
| | | | | | | | Add a function to verify files containing PGP signed messages (i.e. not using detached signatures). This will be used for projects that publish signed checksum lists. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* virtualx.eclass: don't skip xvfb dependency on PrefixAlexey Sokolov2020-11-071-1/+1
| | | | | | Closes: https://bugs.gentoo.org/730190 Signed-off-by: Alexey Sokolov <alexey+gentoo@asokolov.org> Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* versionator.eclass: Fix eclassdoc tag orderMichał Górny2020-11-061-1/+1
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* eclass/*: Add @DEPRECATED tags, based on pkgcheck listMichał Górny2020-11-0611-8/+19
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* lua-single.eclass: fix typo in eclassdocMarek Szuba2020-11-061-1/+1
| | | | Signed-off-by: Marek Szuba <marecki@gentoo.org>
* kernel-2.eclass: Add support for patches that fail to apply with --dry-runMike Pagano2020-11-051-20/+24
| | | | Signed-off-by: Mike Pagano <mpagano@gentoo.org>
* lua-single.eclass: add an example to eclassdocMarek Szuba2020-11-051-2/+32
| | | | Signed-off-by: Marek Szuba <marecki@gentoo.org>
* lua.eclass: Fix eclassdoc indentationMarek Szuba2020-11-051-3/+3
| | | | | | | Must use spaces instead of tabs in code examples in order for them to be properly indented in generated man pages etc. Signed-off-by: Marek Szuba <marecki@gentoo.org>
* selinux-policy-2.eclass: drop EAPI 5David Michael2020-11-051-35/+12
| | | | | Signed-off-by: David Michael <fedora.dm0@gmail.com> Signed-off-by: Jason Zaman <perfinion@gentoo.org>
* selinux-policy-2.eclass: add EAPI 7David Michael2020-11-051-6/+12
| | | | | | Closes: https://bugs.gentoo.org/748483 Signed-off-by: David Michael <fedora.dm0@gmail.com> Signed-off-by: Jason Zaman <perfinion@gentoo.org>
* user.eclass: Deprecate general use for future EAPIs.Ulrich Müller2020-11-041-0/+13
| | | | | | | | | No functional difference for existing EAPIs. Reviewed-by: David Seifert <soap@gentoo.org> Reviewed-by: Michał Górny <mgorny@gentoo.org> Reviewed-by: Andreas K. Hüttel <dilfridge@gentoo.org> Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* eclass/nvidia-drivers.eclass: update copyright (fix OldGentooCopyright)Sam James2020-11-041-1/+1
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* nvidia-drivers.eclass: Reassign due to jer's retirementMichał Górny2020-11-031-2/+2
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* verify-sig.eclass: Account for verifying stdinMichał Górny2020-11-031-1/+3
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* fdo-mime.eclass: Mark @DEAD for removalDavid Seifert2020-11-031-0/+3
| | | | Signed-off-by: David Seifert <soap@gentoo.org>
* lua-single.eclass: fix copy-pastoMarek Szuba2020-11-021-1/+1
| | | | Signed-off-by: Marek Szuba <marecki@gentoo.org>
* verify-sig.eclass: Predict attempted writes to /run/userMichał Górny2020-10-311-0/+5
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* dune.eclass: pass --mandir to dune installRafael Kitover2020-10-311-0/+1
| | | | | | Closes: https://bugs.gentoo.org/749615 Signed-off-by: Rafael Kitover <rkitover@gmail.com> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
* llvm.org.eclass: Add manpage build/install utilitiesMichał Górny2020-10-261-0/+47
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* llvm.org.eclass: Always unpack all distfilesMichał Górny2020-10-261-0/+7
| | | | | | | Unpack all distfiles from SRC_URI, not only the primary LLVM tarball. This will be helpful in implementing manpage support. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* llvm.org.eclass: Remove support for pre-9.0.1 archivesMichał Górny2020-10-261-76/+8
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* leechcraft.eclass: RemoveMichał Górny2020-10-201-60/+0
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* qt5-build.eclass: Drop obsolete pre-Qt-5.15 quirksAndreas Sturmlechner2020-10-181-7/+2
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* qt5-build.eclass: Drop dev branch support, closing with 5.15.9999Andreas Sturmlechner2020-10-181-6/+1
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* 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>