From 33b2f46fa052a64043440a5581937ba3e099db2a Mon Sep 17 00:00:00 2001 From: Petteri Räty Date: Sat, 27 Sep 2008 13:49:44 +0000 Subject: Use EAPI 2 use dependencies instead of built_with_use. Package-Manager: portage-2.2_rc11/cvs/Linux 2.6.26-gentoo-r1 i686 --- dev-util/svnmailer/ChangeLog | 6 +++++- dev-util/svnmailer/svnmailer-1.0.8-r2.ebuild | 16 ++++------------ 2 files changed, 9 insertions(+), 13 deletions(-) (limited to 'dev-util/svnmailer') diff --git a/dev-util/svnmailer/ChangeLog b/dev-util/svnmailer/ChangeLog index a0874b7f9bc1..b7da3c7e3c26 100644 --- a/dev-util/svnmailer/ChangeLog +++ b/dev-util/svnmailer/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-util/svnmailer # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/svnmailer/ChangeLog,v 1.7 2008/09/27 13:48:16 betelgeuse Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/svnmailer/ChangeLog,v 1.8 2008/09/27 13:49:44 betelgeuse Exp $ + + 27 Sep 2008; Petteri Räty + svnmailer-1.0.8-r2.ebuild: + Use EAPI 2 use dependencies instead of built_with_use. 27 Sep 2008; Petteri Räty -svnmailer-1.0.8.ebuild, -svnmailer-1.0.8-r1.ebuild: diff --git a/dev-util/svnmailer/svnmailer-1.0.8-r2.ebuild b/dev-util/svnmailer/svnmailer-1.0.8-r2.ebuild index f6b6cc9d9cb2..db90fe263cf7 100644 --- a/dev-util/svnmailer/svnmailer-1.0.8-r2.ebuild +++ b/dev-util/svnmailer/svnmailer-1.0.8-r2.ebuild @@ -1,6 +1,8 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/svnmailer/svnmailer-1.0.8-r2.ebuild,v 1.1 2008/04/06 13:41:20 hanno Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/svnmailer/svnmailer-1.0.8-r2.ebuild,v 1.2 2008/09/27 13:49:44 betelgeuse Exp $ + +EAPI=2 inherit distutils eutils @@ -15,21 +17,11 @@ LICENSE="Apache-2.0" DEPEND=">=dev-lang/python-2.3" RDEPEND="${DEPEND} - dev-util/subversion + dev-util/subversion[python] virtual/mta" DOCS="CHANGES NOTICE CREDITS" -pkg_setup() { - if ! built_with_use dev-util/subversion python ; then - eerror "This package requires dev-util/subversion to be built with python support." - eerror "Please enable the python USE flag and remerge subversion." - elog "USE flags can be enabled globally in /etc/make.conf," - elog "or for specific packages in /etc/portage/package.use." - die "dev-utils/subversion was built without python support" - fi -} - src_unpack() { unpack ${A} cd "${S}" -- cgit v1.2.3-65-gdbad