commit:     25c135ab978c7af867351141b73f5a65e49b8aba
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Thu Oct  8 20:48:43 2020 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Thu Oct  8 21:06:07 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25c135ab

dev-util/catalyst: Drop IUSE=ccache

Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 dev-util/catalyst/catalyst-9999.ebuild | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/dev-util/catalyst/catalyst-9999.ebuild 
b/dev-util/catalyst/catalyst-9999.ebuild
index 3e307e5f833..2d78bcbe611 100644
--- a/dev-util/catalyst/catalyst-9999.ebuild
+++ b/dev-util/catalyst/catalyst-9999.ebuild
@@ -15,14 +15,14 @@ fi
 PYTHON_COMPAT=( python3_{7,8} )
 DISTUTILS_USE_SETUPTOOLS=no
 
-inherit distutils-r1 ${SRC_ECLASS}
+inherit distutils-r1 optfeature ${SRC_ECLASS}
 
 DESCRIPTION="Release metatool used for creating releases based on Gentoo Linux"
 HOMEPAGE="https://wiki.gentoo.org/wiki/Catalyst";
 
 LICENSE="GPL-2"
 SLOT="0"
-IUSE="ccache doc +iso kernel_linux system-bootloader"
+IUSE="doc +iso kernel_linux system-bootloader"
 
 COMMON_DEPEND="
        sys-apps/portage[${PYTHON_USEDEP}]
@@ -42,7 +42,6 @@ RDEPEND="
        dev-vcs/git
        sys-fs/dosfstools
        sys-fs/squashfs-tools-ng
-       ccache? ( dev-util/ccache )
 
        iso? (
                virtual/cdrtools
@@ -96,3 +95,7 @@ python_install_all() {
                dodoc files/HOWTO.html files/docbook-xsl.css
        fi
 }
+
+pkg_postinst() {
+       optfeature "ccache support" "dev-util/ccache"
+}

Reply via email to