summaryrefslogtreecommitdiff
path: root/eclass
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* Revert "texlive-common: kill POSIXism"Mikle Kolyada2020-01-201-12/+12
| | | | | | This reverts commit 9eee03a809d88c230e2a57c72e69323dc7493b93. Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
* Revert "texlive-module: kill POSIXism"Mikle Kolyada2020-01-202-47/+47
| | | | | | This reverts commit e31f7a975a787a5236c38a3c5b8462e6a2d2b922. Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
* Revert "texlive-common.eclass: fix a typo"Mikle Kolyada2020-01-201-1/+1
| | | | | | This reverts commit eb69a2821a19ee58b99c8d41a741362826c1e226. Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
* Revert "texlive-common.eclass: kill even more POSIXism"Mikle Kolyada2020-01-201-1/+2
| | | | | | This reverts commit 57e379ccf655a2c767260f3c298a9c7edf290d52. Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
* Revert "texlive-module.eclass: fix a typo"Mikle Kolyada2020-01-201-1/+1
| | | | | | This reverts commit 41395781bdd5273180dab60e24240cdc806f53fd. Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
* texlive-module.eclass: fix a typoMikle Kolyada2020-01-201-1/+1
| | | | Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
* texlive-common.eclass: kill even more POSIXismMikle Kolyada2020-01-201-2/+1
| | | | Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
* texlive-common.eclass: fix a typoMikle Kolyada2020-01-201-1/+1
| | | | Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
* texlive-module: kill POSIXismMikle Kolyada2020-01-202-47/+47
| | | | Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
* texlive-common: kill POSIXismMikle Kolyada2020-01-201-12/+12
| | | | Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
* latex-package: remove old EAPIs supportMikle Kolyada2020-01-201-35/+20
| | | | Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
* rust-toolchain.eclass: fix whitespaceGeorgy Yakovlev2020-01-181-35/+35
| | | | Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
* llvm.org.eclass: Master is now 11.xMichał Górny2020-01-181-2/+2
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* toolchain.eclass: include commit into gcc version for live ebuildsSergei Trofimovich2020-01-181-0/+4
| | | | Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* qmail.eclass: fix bad variable referenceRolf Eike Beer2020-01-171-2/+2
| | | | | | | This only worked by accident as it called from a loop with that variable. Signed-off-by: Rolf Eike Beer <eike@sf-mail.de> Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* obs-service.eclass: Remove last rited eclassMichał Górny2020-01-171-115/+0
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* distutils-r1.eclass: Look for entry_points in setup.cfgMichał Górny2020-01-171-0/+2
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* xemacs-elisp-common.eclass: Remove last-rited eclassDavid Seifert2020-01-161-315/+0
| | | | Signed-off-by: David Seifert <soap@gentoo.org>
* xemacs-elisp.eclass: Remove last-rited eclassDavid Seifert2020-01-161-59/+0
| | | | Signed-off-by: David Seifert <soap@gentoo.org>
* sgml-catalog.eclass: Remove last-rited eclassDavid Seifert2020-01-161-106/+0
| | | | Signed-off-by: David Seifert <soap@gentoo.org>
* obs-download.eclass: Remove last-rited eclassDavid Seifert2020-01-161-45/+0
| | | | Signed-off-by: David Seifert <soap@gentoo.org>
* games-mods.eclass: Remove last-rited eclassDavid Seifert2020-01-161-324/+0
| | | | Signed-off-by: David Seifert <soap@gentoo.org>
* bsdmk.eclass: Remove last-rited eclassDavid Seifert2020-01-161-89/+0
| | | | Signed-off-by: David Seifert <soap@gentoo.org>
* eclass/mozconfig-v6.52: Update x11-libs/cairo dependencyMatt Turner2020-01-141-1/+1
| | | | Signed-off-by: Matt Turner <mattst88@gentoo.org>
* distutils-r1.eclass: Fix detection of setuptools entry_pointsSebastian Pipping2020-01-131-1/+1
| | | | | | Closes: https://bugs.gentoo.org/705362 Signed-off-by: Michał Górny <mgorny@gentoo.org> Signed-off-by: Sebastian Pipping <sping@gentoo.org>
* toolchain.eclass: fix arch downgrade for gcc-10Sergei Trofimovich2020-01-112-9/+20
| | | | | | The bug is in lexical comparison instead of version compare. Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* toolchain.eclass: allow applying patchsets to live ebuildsSergei Trofimovich2020-01-111-2/+4
| | | | Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* vala.eclass: Drop EOL 0.42 series from considerationMart Raudsepp2020-01-111-1/+2
| | | | Signed-off-by: Mart Raudsepp <leio@gentoo.org>
* Revert "vala.eclass: Drop EOL 0.42 series from consideration"Mart Raudsepp2020-01-111-2/+1
| | | | | | This reverts commit 8e8736590012ce2d956b398217dd6296a5294900. Signed-off-by: Mart Raudsepp <leio@gentoo.org>
* vala.eclass: Drop EOL 0.42 series from considerationMart Raudsepp2020-01-111-1/+2
| | | | Signed-off-by: Mart Raudsepp <leio@gentoo.org>
* git-r3.eclass: Handle recursive submodules in EGIT_SUBMODULESMichał Górny2020-01-101-8/+19
| | | | | | | | Match recursive submodules using their full paths rather than path relatively to the parent submodule. Closes: https://bugs.gentoo.org/694494 Signed-off-by: Michał Górny <mgorny@gentoo.org>