From 5d01ac9e03777cd4c4e778c0bb35153d3167c52b Mon Sep 17 00:00:00 2001 From: Thomas Raschbacher Date: Mon, 11 May 2009 08:19:49 +0000 Subject: using EAPI2 now for DEPEND in 1.0.2 instead of pkg_setup check (Portage version: 2.1.6.13/cvs/Linux x86_64) --- dev-python/pymssql/pymssql-1.0.2.ebuild | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'dev-python/pymssql/pymssql-1.0.2.ebuild') diff --git a/dev-python/pymssql/pymssql-1.0.2.ebuild b/dev-python/pymssql/pymssql-1.0.2.ebuild index 3957d68054da..56fff57520a1 100644 --- a/dev-python/pymssql/pymssql-1.0.2.ebuild +++ b/dev-python/pymssql/pymssql-1.0.2.ebuild @@ -1,9 +1,11 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pymssql/pymssql-1.0.2.ebuild,v 1.1 2009/05/11 06:26:01 lordvan Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pymssql/pymssql-1.0.2.ebuild,v 1.2 2009/05/11 08:19:49 lordvan Exp $ NEED_PYTHON=2.4 +EAPI="2" + inherit distutils DESCRIPTION="Simple MSSQL python extension module" @@ -15,11 +17,5 @@ SLOT="0" KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86" IUSE="" -DEPEND=">=dev-db/freetds-0.63" +RDEPEND=">=dev-db/freetds-0.63[mssql]" -pkg_setup() { - if ! built_with_use dev-db/freetds mssql ; then - eerror "Re-emerge freetds with USE=mssql" - die "Re-emerge freetds with USE=mssql" - fi -} -- cgit v1.2.3-65-gdbad