From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-874356-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 7387059CAF for <garchives@archives.gentoo.org>; Sun, 3 Apr 2016 16:14:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E865621C013; Sun, 3 Apr 2016 16:14:49 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 736F021C013 for <gentoo-commits@lists.gentoo.org>; Sun, 3 Apr 2016 16:14:49 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 72AB9340B9B for <gentoo-commits@lists.gentoo.org>; Sun, 3 Apr 2016 16:14:48 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 42A6782 for <gentoo-commits@lists.gentoo.org>; Sun, 3 Apr 2016 16:14:47 +0000 (UTC) From: "David Seifert" <soap@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Seifert" <soap@gentoo.org> Message-ID: <1459700080.bed71574b0b2911b0e667931508bb5b069883b64.soap@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-biology/cufflinks/files/, sci-biology/cufflinks/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-biology/cufflinks/cufflinks-2.2.1-r2.ebuild sci-biology/cufflinks/files/cufflinks-2.2.1-samtools-legacy.patch X-VCS-Directories: sci-biology/cufflinks/files/ sci-biology/cufflinks/ X-VCS-Committer: soap X-VCS-Committer-Name: David Seifert X-VCS-Revision: bed71574b0b2911b0e667931508bb5b069883b64 X-VCS-Branch: master Date: Sun, 3 Apr 2016 16:14:47 +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 X-Archives-Salt: a8ba8e62-7158-43b6-9438-3399513a06e0 X-Archives-Hash: 0114df0cda2881b0b0deab04d6a65934 commit: bed71574b0b2911b0e667931508bb5b069883b64 Author: David Seifert <soap <AT> gentoo <DOT> org> AuthorDate: Sun Apr 3 16:14:04 2016 +0000 Commit: David Seifert <soap <AT> gentoo <DOT> org> CommitDate: Sun Apr 3 16:14:40 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bed71574 sci-biology/cufflinks: Depend only on sci-biology/samtools:0.1-legacy Gentoo-Bug: 535716 * EAPI=6 * Updated boost in tree has fixed serialization for boost::shared_ptr * Build system is now orthogonal to sci-biology/samtools:0 and does not block updating to latest samtools Package-Manager: portage-2.2.28 sci-biology/cufflinks/cufflinks-2.2.1-r2.ebuild | 39 +++++++++++++++++++ .../files/cufflinks-2.2.1-samtools-legacy.patch | 44 ++++++++++++++++++++++ 2 files changed, 83 insertions(+) diff --git a/sci-biology/cufflinks/cufflinks-2.2.1-r2.ebuild b/sci-biology/cufflinks/cufflinks-2.2.1-r2.ebuild new file mode 100644 index 0000000..2ccac30 --- /dev/null +++ b/sci-biology/cufflinks/cufflinks-2.2.1-r2.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit autotools flag-o-matic toolchain-funcs + +DESCRIPTION="Transcript assembly and differential expression/regulation for RNA-Seq" +HOMEPAGE="http://cufflinks.cbcb.umd.edu/" +SRC_URI="http://cufflinks.cbcb.umd.edu/downloads/${P}.tar.gz" + +SLOT="0" +LICENSE="Artistic" +IUSE="debug" +KEYWORDS="~amd64 ~x86" + +DEPEND="sci-biology/samtools:0.1-legacy + >=dev-libs/boost-1.59.0:= + dev-cpp/eigen:3" +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}"/${P}-samtools-legacy.patch + "${FILESDIR}"/${P}-flags.patch +) + +src_prepare() { + default + eautoreconf + append-cppflags $($(tc-getPKG_CONFIG) --cflags eigen3) +} + +src_configure() { + econf --disable-optim \ + --with-boost-libdir="${EPREFIX}/usr/$(get_libdir)/" \ + --with-bam="${EPREFIX}/usr/" \ + $(use_enable debug) +} diff --git a/sci-biology/cufflinks/files/cufflinks-2.2.1-samtools-legacy.patch b/sci-biology/cufflinks/files/cufflinks-2.2.1-samtools-legacy.patch new file mode 100644 index 0000000..374ce51 --- /dev/null +++ b/sci-biology/cufflinks/files/cufflinks-2.2.1-samtools-legacy.patch @@ -0,0 +1,44 @@ +Modify the buildsystem to work with the legacy version of samtools, +which can coexist with the most recent version of samtools. +See also: https://bugs.gentoo.org/show_bug.cgi?id=577854 + +--- cufflinks-2.2.1/ax_bam.m4 ++++ cufflinks-2.2.1/ax_bam.m4 +@@ -102,7 +102,7 @@ + + AC_LANG_PUSH(C++) + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ +- @%:@include <bam/bam.h> ++ @%:@include <bam-0.1-legacy/bam.h> + ]], [[ + ]])],[ + AC_MSG_RESULT(yes) +@@ -171,7 +171,7 @@ + + AC_LANG_PUSH(C++) + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ +- @%:@include <bam/version.hpp> ++ @%:@include <bam-0.1-legacy/version.hpp> + ]], [[ + ]])],[ + AC_MSG_RESULT(yes) +@@ -189,7 +189,7 @@ + AC_MSG_NOTICE([Your bam libraries seem too old (version $_version).]) + fi + else +- BAM_LIB="-lbam" ++ BAM_LIB="-lbam-0.1-legacy" + AC_SUBST(BAM_CPPFLAGS) + AC_SUBST(BAM_LDFLAGS) + AC_SUBST(BAM_LIB) +--- cufflinks-2.2.1/src/hits.h ++++ cufflinks-2.2.1/src/hits.h +@@ -18,7 +18,7 @@ + + #include <boost/shared_ptr.hpp> + +-#include <bam/sam.h> ++#include <bam-0.1-legacy/sam.h> + + #include "common.h" + #include "multireads.h"