summaryrefslogtreecommitdiff
path: root/eclass
Commit message (Collapse)AuthorAgeFilesLines
* eclass/acct-user.eclass: disable pkg_* on Prefix.Benda Xu2020-02-211-0/+10
| | | | | | | | Gentoo Prefix runs with a normal user and cannot manage any other user. Exit gracefully with a message. Closes: https://bugs.gentoo.org/709570 Signed-off-by: Benda Xu <heroxbd@gentoo.org>
* distutils-r1.eclass: Add pyproject.toml supportMichał Górny2020-02-201-0/+29
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* eclass/postgres{,-multi}.eclass: Note EAPI7 supportAaron W. Swenson2020-02-182-2/+2
| | | | | | Forgot comment noting EAPI7 support Signed-off-by: Aaron W. Swenson <titanofold@gentoo.org>
* eclass/postgres{,multi}.eclass: Allow EAPI7Aaron W. Swenson2020-02-182-5/+5
| | | | | | Minor change to allow EAPI7. Signed-off-by: Aaron W. Swenson <titanofold@gentoo.org>
* portability.eclass: avoid lexicographic number comparison, bug #705250Sergei Trofimovich2020-02-181-2/+2
| | | | | Closes: https://bugs.gentoo.org/705250 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* toolchain.eclass: don't strip EPREFIX in dosymSergei Trofimovich2020-02-161-2/+2
| | | | | | | | | | This reverts 'dosym' part of "toolchain.eclass: Prepend/strip EPREFIX" patch. portage-2.3.85 and above contains "dosym: revert deprecated prefix compat (bug 615594)" patch. That effectively breaks gcc's /usr/bin/ symlinks. Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* gstreamer.eclass: [QA] inherit ltprune.eclass directlyDavid Seifert2020-02-151-2/+2
| | | | Signed-off-by: David Seifert <soap@gentoo.org>
* gnome2.eclass: [QA] inherit ltprune.eclass directlyDavid Seifert2020-02-151-2/+2
| | | | Signed-off-by: David Seifert <soap@gentoo.org>
* autotools-multilib.eclass: [QA] inherit ltprune.eclass directlyDavid Seifert2020-02-151-2/+2
| | | | Signed-off-by: David Seifert <soap@gentoo.org>
* latex-package.eclass: improve files searchMikle Kolyada2020-02-141-20/+20
| | | | Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
* ant-tasks.eclass: Use standard copyright/license header.Ulrich Müller2020-02-141-2/+2
| | | | | | | | | | | | | | As decided by the council in its 2020-02-09 meeting, ebuilds and eclasses in the Gentoo repository must be licensed under GPL-2. Note that stripping out the "or later" clause is possible without asking authors for their permission: https://www.gnu.org/licenses/gpl-faq.en.html#AllCompatibility Restore the original start year 2007, which is also the year when the eclass was first committed. Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* kde.org.eclass: Support kde-plasma unstable point release tarballsAndreas Sturmlechner2020-02-141-2/+2
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* linux-mod.eclass: [QA] inherit toolchain-funcs.eclass directlyDavid Seifert2020-02-131-2/+2
| | | | | Closes: https://github.com/gentoo/gentoo/pull/14646 Signed-off-by: David Seifert <soap@gentoo.org>
* libretro-core.eclass: [QA] inherit toolchain-funcs.eclass directlyDavid Seifert2020-02-131-2/+2
| | | | Signed-off-by: David Seifert <soap@gentoo.org>
* mount-boot.eclass: Make awk expression work with mawk.Ulrich Müller2020-02-131-3/+3
| | | | | | | | | | gensub() is a GNUism and doesn't exist in all awk variants. Use a loop instead. Tested with gawk, nawk, mawk, and busybox awk. Closes: https://bugs.gentoo.org/709322 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* readme.gentoo.eclass: [QA] inherit estack.eclass directlyDavid Seifert2020-02-121-2/+2
| | | | | Closes: https://github.com/gentoo/gentoo/pull/14645 Signed-off-by: David Seifert <soap@gentoo.org>
* golang-vcs.eclass: [QA] inherit estack.eclass directlyDavid Seifert2020-02-121-2/+2
| | | | Signed-off-by: David Seifert <soap@gentoo.org>
* Revert "epatch.eclass: drop 'estack.eclass' usage"Ulrich Müller2020-02-121-5/+6
| | | | | | | | | | estack.eclass is needed for evar_push/evar_pop. The issue mentioned in bug 662586 was fixed indenpendently in estack.eclass, so there is no longer any need for the workaround (see comment #27 of that bug). This reverts commit b21e386a064e1ed49981d9527f968ddc5e1eeb86. Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* vala.eclass: raise VALA_MAX_API_VERSION to 0.48Mart Raudsepp2020-02-121-1/+1
| | | | Signed-off-by: Mart Raudsepp <leio@gentoo.org>
* */*: Bump copyright on files touched this yearMichał Górny2020-02-1121-21/+21
| | | | | | | Update the copyright notice on all files that were touched since January 1st but did not have the notice updated. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* mozconfig-v6.60.eclass: Remove @DEAD eclassDavid Seifert2020-02-101-441/+0
| | | | Signed-off-by: David Seifert <soap@gentoo.org>
* epunt-cxx.eclass: Mark @DEAD for removalDavid Seifert2020-02-101-0/+4
| | | | Signed-off-by: David Seifert <soap@gentoo.org>
* fox.eclass: Remove @DEAD eclassMichał Górny2020-02-101-232/+0
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* git-2.eclass: Remove @DEAD eclassMichał Górny2020-02-101-613/+0
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* python-single-r1.eclass: Remove unused PYTHON_TARGETSMichał Górny2020-02-101-27/+8
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* python-single-r1.eclass: Remove deprecated PYTHON_USEDEP APIMichał Górny2020-02-101-110/+16
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* rpm.eclass: Fix for EAPI 7David Seifert2020-02-101-1/+1
| | | | Signed-off-by: David Seifert <soap@gentoo.org>
* eclass/tests/distutils-r1.sh: Update post eclass changesMichał Górny2020-02-091-6/+6
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* scons-utils.eclass: Migrate to PYTHON_MULTI_USEDEPMichał Górny2020-02-091-3/+4
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* distutils-r1.eclass: Switch test deps to PYTHON_MULTI_USEDEPMichał Górny2020-02-091-6/+16
| | | | | Closes: https://bugs.gentoo.org/704522 Signed-off-by: Michał Górny <mgorny@gentoo.org>
* distutils-r1.eclass: Switch setuptools dep to PYTHON_MULTI_USEDEPMichał Górny2020-02-091-4/+12
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* toolchain.eclass: assert GCC_RELEASE_VER to match gcc/BASE-VERSergei Trofimovich2020-02-091-3/+1
| | | | | Bug: https://bugs.gentoo.org/706588 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* toolchain.eclass: drop GCC_A_FAKEIT and gcc_quick_unpack()Sergei Trofimovich2020-02-091-54/+1
| | | | | | | | | gnal-gpl was the only user of GCC_A_FAKEIT as it provided modified gcc tarballs. It was migrated to GCC_TARBALL_SRC_URI to override default tarball. Bug: https://bugs.gentoo.org/706588 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* toolchain.eclass: don't allow overriding GCC_CONFIG_VERSergei Trofimovich2020-02-091-6/+11
| | | | | | | dev-lang/gnat-gpl migrated from GCC_CONFIG_VER to TOOLCHAIN_GCC_PV. Bug: https://bugs.gentoo.org/706588 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* texlive-common.eclass: kill POSIXismMikle Kolyada2020-02-091-36/+42
| | | | | | Reviewed-by: David Saifert <soap@gentoo.org> Reviewed-by: Michał Górny <mgorny@gentoo.org> Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
* texlive-module.eclass: kill POSIXismMikle Kolyada2020-02-091-72/+104
| | | | | | Reviewed-by: David Saifert <soap@gentoo.org> Reviewed-by: Michał Górny <mgorny@gentoo.org> Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
* latex-package: kill POSIX and old EAPIMikle Kolyada2020-02-091-72/+64
| | | | | | Reviewed-by: David Saifert <soap@gentoo.org> Reviewed-by: Michał Górny <mgorny@gentoo.org> Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
* user-info.eclass: fix function name in die messageMike Gilbert2020-02-071-1/+1
| | | | | Reported-by: Tomáš Mózes <hydrapolic@gmail.com> Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* user.eclass: move read-only functionality to user-info.eclassMike Gilbert2020-02-062-146/+161
| | | | | | | The new eclass can be used by ebuilds to look up user information without triggering a deprecation warning from repoman and pkgcheck. Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* toolchain-binutils.eclass: drop unused eclassSergei Trofimovich2020-02-021-505/+0
| | | | | Closes: https://bugs.gentoo.org/637886 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* toolchain.eclass: make toolchain_src_unpack() a default_src_unpack()Sergei Trofimovich2020-02-011-16/+19
| | | | | | | | | | | | | | | | | | Before tha change toolchain_src_unpack() did not unpack every SRC_URI entry and instead relied on toolchain_src_unpack() to unpack only needed tarballs. Any special handling was only needed for old USE=d versions of gcc. This change moves all source code mangling to src_prepare() and makes toolchain_src_unpack() a default_src_unpack(). The only exception is ebuild users of 'GCC_A_FAKEIT' (dev-lang/gnat-gpl) who have to use it to workaround non-standard behaviour of toolchain_src_unpack() The change will allow dev-lang/gnat-gpl to migrate to default_src_unpack(). Bug: https://bugs.gentoo.org/706588 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* toolchain.eclass: provide a way to override gcc tarball pathSergei Trofimovich2020-02-011-0/+7
| | | | | | | | | To ease gnal-gpl packaging allow external user to override SRC_URI for main gcc tarball. gnal-gpl uses gcc small fork, but otherwise looks like a gcc tarball. Bug: https://bugs.gentoo.org/706588 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* ghc-package.eclass: Handle missing ghc in lookupsBenjamin Gordon2020-01-291-2/+8
| | | | | | | | | | | | | | | | | | ghc-getghc() and ghc-getghcpkg() both assume that they can find an installed binary. If ghc isn't installed (e.g., because it's being being rebuilt or has been unmerged), there is no such binary. This causes the intended arguments to be run as a command, which produces "command not found" QA Notices. If ghc can't be found, return "false" instead. The false command will harmlessly absorb the other command-line arguments. This doesn't produce any difference in the final result because the invalid commands were failing anyway. Closes: https://bugs.gentoo.org/683144 Signed-off-by: Benjamin Gordon <bmgordon@chromium.org> Closes: https://github.com/gentoo/gentoo/pull/14499 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* rust-toolchain.eclass: add basic musl support on amd64Georgy Yakovlev2020-01-281-2/+4
| | | | Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
* flag-o-matic.eclass: fix probe file extensionSergei Trofimovich2020-01-261-1/+1
| | | | | | A cosmetic fix as we rely on -x ${lang} to detect correct language. Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* flag-o-matic.eclass: fix probe when CC points to absolute pathSergei Trofimovich2020-01-262-2/+8
| | | | Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* toolchain.eclass: make ${GCC_CONFIG_VER} != ${GCC_RELEASE_VER} nonfatalSergei Trofimovich2020-01-261-1/+3
| | | | | | | dev-lang/gnat-gpl uses ${GCC_CONFIG_VER} to override exposed gcc version. Let's keep it nonfatal until ada ebuilds are fixed. Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* toolchain.eclass: fix typo in GCC_CONFIG_VER assignmentSergei Trofimovich2020-01-261-1/+1
| | | | Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* toolchain.eclass: restore an option to override GCC_CONFIG_VERSergei Trofimovich2020-01-261-1/+3
| | | | | | | | dev-lang/gnat-gpl ebuilds override this option and affect at least default slot installed. Let's partially revert the behaviour until ada is migrated. Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* toolchain.eclass: don't add _pre suffixes to toolsSergei Trofimovich2020-01-261-3/+4
| | | | | | | | | | ${GCC_CONFIG_VER} != ${GCC_RELEASE_VER} does not really work today. We don't override enough paths and don't rename tool versions. Let's keep thins simpler and stick to upstream versioning. Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>