summaryrefslogtreecommitdiff
path: root/eclass
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* toolchain.eclass: don't override release vesion, assert it insteadSergei Trofimovich2020-01-261-3/+5
| | | | | Closes: https://bugs.gentoo.org/706240 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* bazel.eclass: Fix copyright lineMichał Górny2020-01-261-1/+1
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* go-module.eclass: Fix case in copyrightMichał Górny2020-01-261-1/+1
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* toolchain.eclass: use ${GCC_CONFIG_VER} in snapshot, don't mangle ${PV}Sergei Trofimovich2020-01-261-5/+1
| | | | Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* toolchain.eclass: drop PRERELEASE supportSergei Trofimovich2020-01-261-37/+17
| | | | | | | | | | | | gcc's mirrors don't have prerelrease directories anymore and only have weekly snapshots and release candidates. Those now are covered by the following version schema: 1.0.0_pre9999: live ebuild 1.2.3_alphaYYYYMMDD: weekly snapshots 1.2.3_rcYYYYMMDD: release candidates Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* toolchain.eclass: hide '${PV} == *9999*' to tc_is_live helperSergei Trofimovich2020-01-261-8/+16
| | | | Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* llvm.eclass: Permit LLVM 11Michał Górny2020-01-251-1/+1
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* kernel-install.eclass: Remove initramfs in postrmMichał Górny2020-01-251-1/+7
| | | | | Closes: https://bugs.gentoo.org/706332 Signed-off-by: Michał Górny <mgorny@gentoo.org>
* vdr-plugin-2.eclass: ls: cannot access /.../po : No such file or directory fixedJoerg Bornkessel2020-01-231-5/+8
| | | | | | | | | | | portage complain about this behavior on old media-plugins/vdr-* they are not converted to gettext language handling. the small fix will detect and surpress this messsage. add detailed description for this helper function. whitespace Closes: Signed-off-by: Joerg Bornkessel <hd_brummy@gentoo.org>
* ros-catkin.eclass: Fix EAPI-7 support, support cmake.eclassAndreas Sturmlechner2020-01-211-9/+24
| | | | | | | Use of EAPI-7 was broken so far because cmake-utils_use is banned. Closes: https://bugs.gentoo.org/705798 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* Revert "latex-package: remove old EAPIs support"Mikle Kolyada2020-01-201-20/+35
| | | | | | This reverts commit 487a775183d1f62734c80d67e9e49a21292adab7. Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>