From 3ec1f2dbb00367c123ea3a46098c5c9dbd12b063 Mon Sep 17 00:00:00 2001 From: Carsten Lohrke Date: Mon, 28 Jul 2008 22:10:16 +0000 Subject: Mark qt_min_version() and qt4_min_version() as deprecated. --- eclass/qt3.eclass | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'eclass/qt3.eclass') diff --git a/eclass/qt3.eclass b/eclass/qt3.eclass index f9946a26548d..07668599f4d7 100644 --- a/eclass/qt3.eclass +++ b/eclass/qt3.eclass @@ -1,6 +1,6 @@ # Copyright 2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/qt3.eclass,v 1.34 2008/07/26 23:13:30 carlo Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/qt3.eclass,v 1.35 2008/07/28 22:10:16 carlo Exp $ # @ECLASS: qt3.eclass # @MAINTAINER: @@ -10,7 +10,7 @@ # This eclass contains various functions that may be useful # when dealing with packages using Qt3 libraries. -inherit toolchain-funcs versionator +inherit toolchain-funcs versionator eutils QTPKG="x11-libs/qt-" QT3MAJORVERSIONS="3.3 3.2 3.1 3.0" @@ -26,11 +26,10 @@ addpredict "${QTDIR}/etc/settings" # @FUNCTION: qt_min_version # @USAGE: [minimum version] # @DESCRIPTION: -# This function is simple. In your depend, do something like this: -# DEPEND="$(qt_min_version 3.1)" -# and it handles the rest for you. Currently, the eclass assumes -# that a minimum version of Qt3 is not satisfied by Qt4. +# This function is deprecated. Use slot dependencies instead. qt_min_version() { + ewarn "qt_min_version() is deprecated. Use slot dependencies instead." + epause local list=$(qt_min_version_list "$@") if [[ ${list%% *} == "${list}" ]]; then echo "${list}" -- cgit v1.2.3-65-gdbad