commit:     e7341cf8c7b18b1d2288a690636b912fe7dd8870
Author:     Martin Mokrejš <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
AuthorDate: Wed Mar 11 20:25:51 2015 +0000
Commit:     Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
CommitDate: Wed Mar 11 20:25:51 2015 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=e7341cf8

ebuild cleanup; the git clone --recursive flag does not work

Package-Manager: portage-2.2.15

 sci-biology/freebayes/ChangeLog             |  6 +++++-
 sci-biology/freebayes/freebayes-9999.ebuild | 18 ++++++++++++------
 2 files changed, 17 insertions(+), 7 deletions(-)

diff --git a/sci-biology/freebayes/ChangeLog b/sci-biology/freebayes/ChangeLog
index 9374edf..8915dfe 100644
--- a/sci-biology/freebayes/ChangeLog
+++ b/sci-biology/freebayes/ChangeLog
@@ -1,7 +1,11 @@
 # ChangeLog for sci-biology/freebayes
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  11 Mar 2015; Martin Mokrejs <[email protected]>
+  freebayes-9999.ebuild:
+  ebuild cleanup; the git clone --recursive flag does not work
+
   16 Sep 2014; Christoph Junghans <[email protected]> freebayes-9999.ebuild:
   fixed DESCRIPTION
 

diff --git a/sci-biology/freebayes/freebayes-9999.ebuild 
b/sci-biology/freebayes/freebayes-9999.ebuild
index 3d40b37..f43e1d2 100644
--- a/sci-biology/freebayes/freebayes-9999.ebuild
+++ b/sci-biology/freebayes/freebayes-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
@@ -10,18 +10,24 @@ inherit eutils
 
 DESCRIPTION="Bayesian gen. variant detector to find small polymorphisms: SNPs, 
indels, MNPs and complex events"
 HOMEPAGE="https://github.com/ekg/freebayes";
-EGIT_REPO_URI="git://github.com/ekg/freebayes.git"
 
-# need top checkout vcflib/ as well
-#
+if [ "$PV" == "9999" ]; then
+       EGIT_REPO_URI="git://github.com/ekg/freebayes.git"
+       EGIT_OPTIONS="--recursive --recurse-submodules"
+       KEYWORDS=""
+else
+       EGIT_REPO_URI="git://github.com/ekg/freebayes.git"
+       EGIT_OPTIONS="--recursive --recurse-submodules"
+       EGIT_BRANCH="v0.9.21"
+       KEYWORDS=""
+fi
+
 # To build freebayes you must use git to also download its submodules.
 #   Do so by downloading freebayes again using this command (note --recursive 
flag):
 #   git clone --recursive git://github.com/ekg/freebayes.git
-#
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS=""
 IUSE=""
 
 DEPEND=""

Reply via email to