summaryrefslogtreecommitdiff
path: root/eclass
Commit message (Collapse)AuthorAgeFilesLines
* x11-libs/fox: bump versionsJason A. Donenfeld2019-12-161-1/+1
| | | | | Package-Manager: Portage-2.3.82, Repoman-2.3.20 Signed-off-by: Jason A. Donenfeld <zx2c4@gentoo.org>
* qt5-build.eclass: Disable zstd for Qt5 >=5.13.2 RCC compressionAndreas Sturmlechner2019-12-161-0/+3
| | | | | Closes: https://bugs.gentoo.org/699248 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* fox.eclass: Mark @DEAD for removalMichał Górny2019-12-161-0/+3
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* git-2.eclass: Mark @DEAD for removalMichał Górny2019-12-161-0/+3
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* xemacs-elisp{,-common}.eclass: Mark as @DEAD for removal.Ulrich Müller2019-12-162-0/+10
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* obs-download.eclass: Mark @DEAD for removalMichał Górny2019-12-151-0/+3
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* obs-service.eclass: Mark @DEAD for removalMichał Górny2019-12-151-0/+3
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* git-r3.eclass: Remove SGR control sequences from messages.Ulrich Müller2019-12-151-9/+9
| | | | | | | These prevent NOCOLOR in make.conf or emerge --color=n from working correctly, and may also be problematic for accessibility. Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* elisp-common.eclass: Drop support for EAPIs 0 to 3.Ulrich Müller2019-12-151-7/+10
| | | | | | | This goes along with a small code simplification, since doins will die by itself in EAPI 4 or later. Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* elisp.eclass: Fix initial copyright year.Ulrich Müller2019-12-151-1/+1
| | | | | | The eclass was initially committed on 2002-10-29. Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* ecm.eclass: Fix kde-frameworks/ minimum to major.minor of PVAndreas Sturmlechner2019-12-151-1/+1
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* ecm.eclass: Set correct KFMIN default for kde-frameworks/*Andreas Sturmlechner2019-12-151-2/+7
| | | | | Closes: https://bugs.gentoo.org/703006 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* eclass/tests/toolchain-funcs.sh: fix gold tests, bug #700812Sergei Trofimovich2019-12-131-9/+9
| | | | | | | | | | | | | | | | | As written tests assumed that $CC always called ld.bfd as a linker. The assumption fails when default linker is not ld.bfd, (for example sys-devel/binutils[default-gold]). The change uses LDFLAGS=-fuse-ld=bfd explicitly. Fixes the following tests: * Testing tc-ld-is-gold (bfd selected) ... [ !! ] * Testing tc-ld-disable-gold (bfd selected) ... [ !! ] Reported-by: Michał Górny Closes: https://bugs.gentoo.org/700812 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* *.eclass: Reassign ml@ eclassesMichał Górny2019-12-133-5/+5
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* bsdmk.eclass: Last riteDavid Seifert2019-12-131-0/+3
| | | | | Acked-by: Michał Górny <mgorny@gentoo.org> Signed-off-by: David Seifert <soap@gentoo.org>
* ecm.eclass: cmake-utils_use_find_package -> cmake_use_find_packageAndreas Sturmlechner2019-12-121-1/+1
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* kde.org.eclass: Extend KDE_RELEASE_SERVICE support to stable branchesAndreas Sturmlechner2019-12-121-1/+1
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* kde.org.eclass: Introduce KDE_RELEASE_SERVICEAndreas Sturmlechner2019-12-121-10/+24
| | | | | | Experiment with non-kde-apps category handling. Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* kde.org.eclass: Add release-service SRC_URIAndreas Sturmlechner2019-12-121-1/+2
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* kde.org.eclass: Drop KDE Frameworks 5.60 conditionalAndreas Sturmlechner2019-12-121-3/+1
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* oasis.eclass: Add RESTRICT="!test? ( test )"Michał Górny2019-12-121-2/+5
| | | | | | This fixes 30 cases of MissingTestRestrict. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* java-utils-2.eclass: Add RESTRICT="!test? ( test )"Michał Górny2019-12-121-0/+2
| | | | | | | Add RESTRICT="!test? ( test )" when the ebuild specified JAVA_PKG_IUSE="test". This fixes further 100 MissingTestRestrict cases. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* eclass/ros-catkin.eclass: Switch the entire ROS stack to python 3.6Alexis Ballier2019-12-121-1/+1
| | | | Signed-off-by: Alexis Ballier <aballier@gentoo.org>
* haskell-cabal.eclass: Fix MissingTestRestrictMichał Górny2019-12-111-1/+2
| | | | | | | | | This fixes 564 cases of MissingTestRestrict. According to md5-cache inspection, no other changes in metadata occur. Signed-off-by: Michał Górny <mgorny@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/13945 Signed-off-by: Michał Górny <mgorny@gentoo.org>
* virtualx.eclass: Append RESTRICT="!test? ( test )" by defaultMichał Górny2019-12-111-0/+2
| | | | | | | | Append RESTRICT="!test? ( test )" in the default case when virtualx is conditional to USE=test. This fixes 440 MissingTestRestrict warnings. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* font.eclass: Ban EAPIs < 5David Seifert2019-12-111-27/+15
| | | | | | | | * Add inherit guard like all modern eclasses Closes: https://bugs.gentoo.org/679658 Closes: https://github.com/gentoo/gentoo/pull/13360 Signed-off-by: David Seifert <soap@gentoo.org>
* mount-boot.eclass: Check if /boot is sane, but don't try to mount it.Ulrich Müller2019-12-111-96/+48
| | | | | | | | | | | | | | | | | | | The eclass failed to remount a read-only mounted /boot, because package collision sanity checks in recent Portage versions prevented it from reaching pkg_preinst() at all. Furthermore, with the "mount-sandbox" feature enabled, the mount won't be propagated past pkg_preinst() and installed files would end up under the (shadowed) mount point. Therefore don't even attempt to mount /boot ourselves, but error out if it isn't mounted read/write and ask the user to mount /boot. Also clean up and simplify. (For example, awk is a grown-up program which doesn't need any help from egrep or sed. :-) Closes: https://bugs.gentoo.org/532264 See-also: https://bugs.gentoo.org/274130#c5 Acked-by: Jaco Kroon <jaco@uls.co.za> Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* eclass/ros-catkin.eclass: add RESTRICT for testsAaron Bauman2019-12-101-0/+1
| | | | | | | * Eclass is inherited only by dev-ros/* and ros-meta/* consumers which do not set any RESTRICT in ebuilds. Signed-off-by: Aaron Bauman <bman@gentoo.org>
* gnustep-2.eclass: drop obsolete gdb blockerBernard Cafarelli2019-12-101-2/+1
| | | | Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
* sgml-catalog.eclass: Last riteDavid Seifert2019-12-101-0/+3
| | | | Signed-off-by: David Seifert <soap@gentoo.org>
* mozconfig-v6.60.eclass: Last riteDavid Seifert2019-12-101-0/+3
| | | | | Acked-by: Jory Pratt <anarchy@gentoo.org> Signed-off-by: David Seifert <soap@gentoo.org>
* games-mods.eclass: Last riteDavid Seifert2019-12-101-0/+4
| | | | | Bug: https://bugs.gentoo.org/156882 Signed-off-by: David Seifert <soap@gentoo.org>
* eclass/tests/distutils-r1.sh: Disable setuptools depMichał Górny2019-12-071-0/+1
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* python-single-r1.eclass: Revert "Remove deprecated PYTHON_USEDEP..."Michał Górny2019-12-071-13/+109
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* python-single-r1.eclass: Revert "Remove unused PYTHON_TARGETS"Michał Górny2019-12-071-8/+27
| | | | | | Pushed too many commits. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* distutils-r1.eclass: Depend on setuptools by defaultMichał Górny2019-12-071-6/+76
| | | | | | | | | | | | Add a new DISTUTILS_USE_SETUPTOOLS top variable, and make it default to BDEPEND-ing on dev-python/setuptools (which should be correct for the majority of packages). Packages that either need RDEPEND or no dependency at all can override it. Also add a check for correct value in esetup.py. This should make it easy for developers to adjust the new variable in their packages. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* python-single-r1.eclass: Remove unused PYTHON_TARGETSMichał Górny2019-12-071-27/+8
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* python-single-r1.eclass: Remove deprecated PYTHON_USEDEP APIMichał Górny2019-12-071-109/+13
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* python-single-r1.eclass: Use new-style flags for python-exec depMichał Górny2019-12-071-7/+8
| | | | | | | Depend on PYTHON_TARGETS directly in dev-lang/python-exec dep, instead of relying on old-style PYTHON_USEDEP. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* python-single-r1.eclass: Introduce PYTHON_{SINGLE,MULTI}_USEDEP APIMichał Górny2019-12-071-16/+93
| | | | | | | | | | | | | Introduce a new API that replaces PYTHON_USEDEP with PYTHON_SINGLE_USEDEP variable and PYTHON_MULTI_USEDEP placeholder. The former can be used directly (or via python_gen_cond_dep) when depending on other python-single-r1 packages, the latter can be used via python_gen_cond_dep when depending on python-r1 packages. Long term, the new API will enable us to remove redundant PYTHON_TARGETS flags from python-single-r1 packages. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* python*r1.eclass: Remove python-exec:0 leftoverMichał Górny2019-12-072-10/+2
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* python*r1.eclass: Reliably allow empty <pattern>s to gen funcsMichał Górny2019-12-073-14/+14
| | | | | | | | | Reliably allow empty pattern lists (equivalent to no restrictions) in all pattern-based generator functions, notably python_gen_cond_dep. Previously, only some of the functions accepted them while others failed via _python_impl_matches function. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* python-single-r1.eclass: Restore PYTHON_SINGLE_TARGET for one implMichał Górny2019-12-071-94/+49
| | | | | | | | | | | | | | Undo the hack that removes PYTHON_SINGLE_TARGET (in favor of plain PYTHON_TARGETS) when the package supports only one target. Instead, output both kinds of flags consistently for all packages, and use IUSE defaults to enable them when only one interpreter is supported. This should give similar end results without creating unnecessary differences between ebuilds with one and multiple implementations. It will make future API changes easier, as well as simplify tooling used to detect eclass type. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* python*-r1.eclass: Deprecate python_gen_usedepMichał Górny2019-12-072-32/+90
| | | | | | | | | | | | | | | | | | | | | | | | | | Deprecate python_gen_usedep() in favor of python_gen_cond_dep(). The latter is a newer API that generates full USE-conditional blocks rather than pure USE-dependency strings. As such, it can replace all uses of the former, and is safer to use in general. In particular: dev-python/foo[$(python_gen_usedep -2)] dev-python/bar[$(python_gen_usedep -2)] installs the dependency (with no implementation match enforced) even if there's no python2 implementation enabled, while: $(python_gen_cond_dep ' dev-python/foo[${PYTHON_USEDEP}] dev-python/bar[${PYTHON_USEDEP}] ' -2) installs it only if there's at least one implementation requiring it. Since the functions are used in global scope only, a deprecation warning is emitted only once, during the sourcing for pkg_setup phase. This avoids having it output during metadata cache regeneration. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* git-r3.eclass: Explicitly disable password promptsMichał Górny2019-12-071-0/+3
| | | | | Closes: https://bugs.gentoo.org/701276 Signed-off-by: Michał Górny <mgorny@gentoo.org>
* haskell-cabal.eclass: add a variable to disable verbose build failuresSergei Trofimovich2019-12-071-0/+12
| | | | Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* haskell-cabal.eclass: pass _EXTRA variables after "$@".Sergei Trofimovich2019-12-071-5/+5
| | | | | | That way user's override has highest precedence. Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* cargo.eclass: use verbose cargo invocationsGeorgy Yakovlev2019-12-061-3/+3
| | | | | | | Default output just prints crate name. With -vv we can see all cargo options and rustc args. Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
* cargo.eclass: fix cargo_src_install() on prefixGeorgy Yakovlev2019-12-061-2/+2
| | | | | | Closes: https://bugs.gentoo.org/702168 Closes: https://bugs.gentoo.org/702042 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
* kernel-2.eclass: update HOMEPAGEJoonas Niilola2019-12-051-1/+1
| | | | | | Signed-off-by: Joonas Niilola <juippis@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/13866 Signed-off-by: Alice Ferrazzi <alicef@gentoo.org>