diff options
author | Carsten Lohrke <carlo@gentoo.org> | 2008-07-28 22:10:16 +0000 |
---|---|---|
committer | Carsten Lohrke <carlo@gentoo.org> | 2008-07-28 22:10:16 +0000 |
commit | 3ec1f2dbb00367c123ea3a46098c5c9dbd12b063 (patch) | |
tree | 02feacb0f64c8fc4cebb751b05a4ea3254b9a4ec /eclass/qt3.eclass | |
parent | QA: Get rid of deprecated qt_min_version(). (diff) | |
download | historical-3ec1f2dbb00367c123ea3a46098c5c9dbd12b063.tar.gz historical-3ec1f2dbb00367c123ea3a46098c5c9dbd12b063.tar.bz2 historical-3ec1f2dbb00367c123ea3a46098c5c9dbd12b063.zip |
Mark qt_min_version() and qt4_min_version() as deprecated.
Diffstat (limited to 'eclass/qt3.eclass')
-rw-r--r-- | eclass/qt3.eclass | 11 |
1 files changed, 5 insertions, 6 deletions
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}" |