From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-commits+bounces-324218-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1Pxl7O-0001HP-LQ
	for garchives@archives.gentoo.org; Thu, 10 Mar 2011 19:01:50 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id DB1B8E06F3;
	Thu, 10 Mar 2011 19:00:30 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	by pigeon.gentoo.org (Postfix) with ESMTP id AA31CE06C8
	for <gentoo-commits@lists.gentoo.org>; Thu, 10 Mar 2011 19:00:30 +0000 (UTC)
Received: from pelican.gentoo.org (unknown [66.219.59.40])
	(using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 4148C1BC0D8
	for <gentoo-commits@lists.gentoo.org>; Thu, 10 Mar 2011 19:00:29 +0000 (UTC)
Received: from localhost.localdomain (localhost [127.0.0.1])
	by pelican.gentoo.org (Postfix) with ESMTP id AAC8E8006E
	for <gentoo-commits@lists.gentoo.org>; Thu, 10 Mar 2011 19:00:28 +0000 (UTC)
From: "Justin Lecher" <jlec@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Justin Lecher" <jlec@gentoo.org>
Message-ID: <77ef4fd5852d3310f173871ac4b4a6ce6d4cd319.jlec@gentoo>
Subject: [gentoo-commits] proj/sci:master commit in: eclass/
X-VCS-Repository: proj/sci
X-VCS-Files: eclass/embassy-ng.eclass
X-VCS-Directories: eclass/
X-VCS-Committer: jlec
X-VCS-Committer-Name: Justin Lecher
X-VCS-Revision: 77ef4fd5852d3310f173871ac4b4a6ce6d4cd319
Date: Thu, 10 Mar 2011 19:00:28 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: quoted-printable
X-Archives-Salt: 
X-Archives-Hash: e2ac307f82d80631fb8fe0fbfbf87c4b

commit:     77ef4fd5852d3310f173871ac4b4a6ce6d4cd319
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 10 18:59:26 2011 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Thu Mar 10 18:59:26 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=3Dproj/sci.git;a=3Dc=
ommit;h=3D77ef4fd5

embassy-ng.eclass respects DOCS

---
 eclass/embassy-ng.eclass |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/eclass/embassy-ng.eclass b/eclass/embassy-ng.eclass
index 951e5eb..ff137a3 100644
--- a/eclass/embassy-ng.eclass
+++ b/eclass/embassy-ng.eclass
@@ -16,7 +16,7 @@
 # @DESCRIPTION:
 # The inheriting ebuild should provide EBOV, EBO_DESCRIPTION and "KEYWOR=
DS",
 # before the inherit line.
-# Additionally "(R|P)DEPEND"encies and other standard ebuild Variables c=
an be set.
+# Additionally "(R|P)DEPEND"encies and other standard ebuild Variables c=
an be extended (FOO+=3D"BAR").
 # The inheriting ebuild's name must begin by "embassy-" and must be EAPI=
=3D4 conform.
=20
 # @ECLASS-VARIABLE: EBOV
@@ -83,6 +83,10 @@ DEPEND=3D"
=20
 RDEPEND=3D"${DEPEND}"
=20
+DOCS=3D"AUTHORS ChangeLog NEWS README"
+
+[[ -z ${EBOV} ]] && die "You must set EBOV in the ebuild!"
+
 if [[ ${PN} =3D=3D "emboss" ]] ; then
 	DESCRIPTION=3D"The European Molecular Biology Open Software Suite - A s=
equence analysis package"
 	SRC_URI=3D"ftp://emboss.open-bio.org/pub/EMBOSS/EMBOSS-${EBOV}.tar.gz"
@@ -99,6 +103,7 @@ if [[ ${PN} =3D=3D "emboss" ]] ; then
 				sci-biology/transfac
 				)"
 	S=3D"${WORKDIR}/EMBOSS-${EBOV}"
+	DOCS+=3D" FAQ THANKS"
 else
 	# The EMBASSY package name, retrieved from the inheriting ebuild's name
 	EN=3D${PN:8}
@@ -167,9 +172,4 @@ embassy-ng_src_configure() {
 		${EBO_ECONF}
 }
=20
-embassy-ng_src_install() {
-	emake DESTDIR=3D"${D}" install
-	nonfatal dodoc AUTHORS ChangeLog FAQ NEWS README THANKS
-}
-
-EXPORT_FUNCTIONS src_prepare src_configure src_install
+[[ ${PN} =3D=3D embassy ]] || EXPORT_FUNCTIONS src_prepare src_configure