commit:     73e1b2f7e9caa1684ab9c9dc8f778523fc7e1c8c
Author:     Martin Mokrejš <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
AuthorDate: Thu Mar  5 09:52:13 2015 +0000
Commit:     Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
CommitDate: Thu Mar  5 09:52:13 2015 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=73e1b2f7

updated ebuild to github URLs; version bump but does not compile for me

Package-Manager: portage-2.2.15

 sci-biology/igv/ChangeLog                          |  6 ++++++
 .../igv/{igv-2.0.35.ebuild => igv-2.3.40.ebuild}   | 25 ++++++++++++++++------
 2 files changed, 25 insertions(+), 6 deletions(-)

diff --git a/sci-biology/igv/ChangeLog b/sci-biology/igv/ChangeLog
index 8fe0e05..457a903 100644
--- a/sci-biology/igv/ChangeLog
+++ b/sci-biology/igv/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*igv-2.3.40 (05 Mar 2015)
+
+  05 Mar 2015; Martin Mokrejs <mmokr...@fold.natur.cuni.cz> +igv-2.3.40.ebuild,
+  -igv-2.0.35.ebuild:
+  updated ebuild to github URLs; version bump but does not compile for me
+
   18 Feb 2015; Justin Lecher <j...@gentoo.org> -igv-2.0.32.ebuild,
   igv-2.0.35.ebuild, metadata.xml:
   sci-biology/igv: fix SLOT operators; drop KEYWORDS for live ebuilds

diff --git a/sci-biology/igv/igv-2.0.35.ebuild 
b/sci-biology/igv/igv-2.3.40.ebuild
similarity index 82%
rename from sci-biology/igv/igv-2.0.35.ebuild
rename to sci-biology/igv/igv-2.3.40.ebuild
index e5d4e93..3ed561b 100644
--- a/sci-biology/igv/igv-2.0.35.ebuild
+++ b/sci-biology/igv/igv-2.3.40.ebuild
@@ -4,24 +4,35 @@
 
 EAPI=5
 
-#ESVN_REPO_URI="http://igv.googlecode.com/svn/trunk";
-ESVN_REPO_URI="http://igv.googlecode.com/svn/tags/Version_${PV}";
+inherit java-pkg-2 java-ant-2
+
+[ "$PV" == "9999" ] && inherit subversion
+
+if [ "$PV" == "9999" ]; then
+       #ESVN_REPO_URI="http://igv.googlecode.com/svn/trunk";
+       #ESVN_REPO_URI="http://igv.googlecode.com/svn/tags/Version_${PV}";
+       EGIT_REPO_URI="https://github.com/broadinstitute/IGV.git";
+       KEYWORDS=""
+else
+       SRC_URI="https://github.com/broadinstitute/IGV/archive/v"${PV}".zip";
+       KEYWORDS=""
+       # binaries
+       # http://www.broadinstitute.org/igv/projects/downloads/IGV_2.3.40.zip
+       # 
http://www.broadinstitute.org/igv/projects/downloads/igvtools_2.3.40.zip
+fi
 
 EANT_BUILD_TARGET="all"
 JAVA_ANT_REWRITE_CLASSPATH="true"
 EANT_NEEDS_TOOLS="true"
 WANT_ANT_TASKS="ant-apache-bcel"
 
-inherit subversion java-pkg-2 java-ant-2
-
 DESCRIPTION="Integrative Genomics Viewer"
 HOMEPAGE="http://www.broadinstitute.org/igv/";
-SRC_URI=""
 
 LICENSE="LGPL-2.1"
 SLOT="0"
 IUSE=""
-KEYWORDS=""
+KEYWORDS="~amd64"
 
 COMMON_DEPS="
        dev-java/batik
@@ -45,6 +56,8 @@ DEPEND=">=virtual/jdk-1.6:*
 RDEPEND=">=virtual/jre-1.6:*
        ${COMMON_DEPS}"
 
+S="${WORKDIR}"/IGV-"${PV}"
+
 src_install() {
        java-pkg_newjar igv.jar
 

Reply via email to