public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Martin Mokrejs" <mmokrejs@fold.natur.cuni.cz>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-biology/picard/
Date: Thu, 12 Apr 2018 11:22:20 +0000 (UTC)	[thread overview]
Message-ID: <1523532121.32cd1f6f1c693d74575f0c0b5be30bf4d61c1999.mmokrejs@gentoo> (raw)

commit:     32cd1f6f1c693d74575f0c0b5be30bf4d61c1999
Author:     Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
AuthorDate: Thu Apr 12 11:22:01 2018 +0000
Commit:     Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
CommitDate: Thu Apr 12 11:22:01 2018 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=32cd1f6f

sci-biology/picard: version bump (not working yet)

Bug: https://github.com/broadinstitute/picard/issues/605
Bug: https://bugs.gentoo.org/653012
Package-Manager: Portage-2.3.27, Repoman-2.3.9

 sci-biology/picard/picard-2.10.2.ebuild  | 58 ------------------------------
 sci-biology/picard/picard-2.17.11.ebuild | 61 ++++++++++++++++++++++++++++++++
 2 files changed, 61 insertions(+), 58 deletions(-)

diff --git a/sci-biology/picard/picard-2.10.2.ebuild b/sci-biology/picard/picard-2.10.2.ebuild
deleted file mode 100644
index bddadedbb..000000000
--- a/sci-biology/picard/picard-2.10.2.ebuild
+++ /dev/null
@@ -1,58 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-JAVA_PKG_IUSE="doc source"
-
-inherit java-pkg-2 java-ant-2
-
-DESCRIPTION="Java-based command-line utilities that manipulate SAM/BAM/CRAM/VCF files"
-HOMEPAGE="http://picard.sourceforge.net
-	http://broadinstitute.github.io/picard"
-SRC_URI="https://github.com/broadinstitute/picard/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-IUSE=""
-KEYWORDS=""
-
-CDEPEND="dev-java/snappy:1.1
-	dev-java/cofoja:0
-	dev-java/commons-jexl:2
-	dev-java/ant-core:0
-	dev-java/htsjdk:0"
-
-DEPEND=">=virtual/jdk-1.8
-	${CDEPEND}"
-
-RDEPEND=">=virtual/jre-1.8
-	${CDEPEND}"
-
-EANT_BUILD_TARGET="all"
-EANT_NEEDS_TOOLS="true"
-JAVA_ANT_REWRITE_CLASSPATH="true"
-EANT_GENTOO_CLASSPATH="snappy-1.1,cofoja,commons-jexl-2,ant-core,htsjdk"
-
-java_prepare() {
-	default
-	rm -r src/java/picard/util/TestNGUtil.java src/tests/java/* || die
-	epatch "${FILESDIR}"/${PV}-build.xml.patch
-}
-
-src_compile(){
-	# work around gradle writing $HOME/.gradle and requiring $HOME/.git
-	# https://github.com/samtools/htsjdk/issues/660#issuecomment-232155965
-	GRADLE_USER_HOME="${WORKDIR}" ./gradlew --stacktrace --debug || die
-}
-
-#src_install() {
-#	cd dist || die
-#	java-pkg_dojar ${PN}.jar
-#	java-pkg_dojar ${PN}-lib.jar
-#
-#	java-pkg_dolauncher ${PN} --main picard.cmdline.PicardCommandLine
-#
-#	use source && java-pkg_dosrc "${S}"/src/java/*
-#	use doc && java-pkg_dojavadoc "${S}"/javadoc
-#}

diff --git a/sci-biology/picard/picard-2.17.11.ebuild b/sci-biology/picard/picard-2.17.11.ebuild
new file mode 100644
index 000000000..636bf879c
--- /dev/null
+++ b/sci-biology/picard/picard-2.17.11.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+#JAVA_PKG_IUSE="doc source"
+JAVA_PKG_IUSE=""
+
+inherit git-r3 java-pkg-2
+
+DESCRIPTION="Java-based command-line utilities that manipulate SAM/BAM/CRAM/VCF files"
+HOMEPAGE="http://picard.sourceforge.net
+	http://broadinstitute.github.io/picard"
+EGIT_REPO_URI="https://github.com/broadinstitute/picard.git"
+EGIT_BRANCH="${PV}"
+# building outside of git is not possible,
+# see https://github.com/broadinstitute/picard/issues/605
+#SRC_URI="https://github.com/broadinstitute/picard/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+IUSE=""
+KEYWORDS=""
+
+CDEPEND="dev-java/snappy:1.1
+	dev-java/cofoja:0
+	dev-java/commons-jexl:2
+	dev-java/htsjdk:0"
+
+DEPEND=">=virtual/jdk-1.8
+	${CDEPEND}"
+
+RDEPEND=">=virtual/jre-1.8
+	${CDEPEND}"
+
+EANT_BUILD_TARGET="all"
+EANT_NEEDS_TOOLS="true"
+JAVA_ANT_REWRITE_CLASSPATH="true"
+EANT_GENTOO_CLASSPATH="snappy-1.1,cofoja,commons-jexl-2,htsjdk"
+
+src_prepare() {
+	default
+}
+
+src_compile(){
+	# work around gradle writing $HOME/.gradle, requiring $HOME/.git and $HOME/.m2/
+	# https://github.com/samtools/htsjdk/issues/660#issuecomment-232155965
+	# make jure SDK-1.8 is available, JRE-1.8 is not enough
+	GRADLE_USER_HOME="${WORKDIR}" ./gradlew --stacktrace --debug || die
+}
+
+src_install() {
+	cd build/libs || die
+	java-pkg_dojar "${PN}".jar
+	java-pkg_dojar "${PN}"-*-SNAPSHOT.jar
+
+	java-pkg_dolauncher ${PN} --main picard.cmdline.PicardCommandLine
+
+	#use source && java-pkg_dosrc "${S}"/src/java/*
+	#use doc && java-pkg_dojavadoc "${S}"/javadoc
+}


             reply	other threads:[~2018-04-12 11:22 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-12 11:22 Martin Mokrejs [this message]
  -- strict thread matches above, loose matches on Subject: below --
2018-04-12 15:18 [gentoo-commits] proj/sci:master commit in: sci-biology/picard/ Martin Mokrejs
2018-04-12 11:51 Martin Mokrejs
2018-04-12 11:33 Martin Mokrejs
2017-07-28 20:05 Martin Mokrejs
2017-02-23 22:23 Martin Mokrejs
2017-01-24 19:04 Martin Mokrejs
2017-01-24 18:48 Martin Mokrejs
2017-01-24 18:45 Martin Mokrejs
2017-01-24 18:35 Martin Mokrejs
2017-01-20 23:24 Martin Mokrejs
2017-01-20 12:04 Martin Mokrejs
2017-01-11 23:27 Martin Mokrejs
2017-01-11 23:27 Martin Mokrejs
2016-04-22 14:08 Martin Mokrejs

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1523532121.32cd1f6f1c693d74575f0c0b5be30bf4d61c1999.mmokrejs@gentoo \
    --to=mmokrejs@fold.natur.cuni.cz \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox