public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Justin Lecher (jlec)" <jlec@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in sci-biology/consed: ChangeLog consed-27.ebuild consed-19-r1.ebuild
Date: Sun, 26 Oct 2014 16:13:23 +0000 (UTC)	[thread overview]
Message-ID: <20141026161323.D06B68CBE@oystercatcher.gentoo.org> (raw)

jlec        14/10/26 16:13:23

  Modified:             ChangeLog
  Added:                consed-27.ebuild
  Removed:              consed-19-r1.ebuild
  Log:
  sci-biology/consed: Import to tree; drop old EPAI=1 version, #526742
  
  (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!)

Revision  Changes    Path
1.8                  sci-biology/consed/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/consed/ChangeLog?rev=1.8&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/consed/ChangeLog?rev=1.8&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/consed/ChangeLog?r1=1.7&r2=1.8

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-biology/consed/ChangeLog,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- ChangeLog	11 Mar 2013 15:00:03 -0000	1.7
+++ ChangeLog	26 Oct 2014 16:13:23 -0000	1.8
@@ -1,6 +1,12 @@
 # ChangeLog for sci-biology/consed
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-biology/consed/ChangeLog,v 1.7 2013/03/11 15:00:03 jlec Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/consed/ChangeLog,v 1.8 2014/10/26 16:13:23 jlec Exp $
+
+*consed-27 (26 Oct 2014)
+
+  26 Oct 2014; Justin Lecher <jlec@gentoo.org> -consed-19-r1.ebuild,
+  +consed-27.ebuild:
+  Import to tree; drop old EPAI=1 version, #526742
 
   11 Mar 2013; Justin Lecher <jlec@gentoo.org> metadata.xml:
   Drop Andrey as maintainer so that bugs get assigned to sci-biology directly



1.1                  sci-biology/consed/consed-27.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/consed/consed-27.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/consed/consed-27.ebuild?rev=1.1&content-type=text/plain

Index: consed-27.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-biology/consed/consed-27.ebuild,v 1.1 2014/10/26 16:13:23 jlec Exp $

EAPI=5

inherit eutils toolchain-funcs

DESCRIPTION="A genome sequence finishing program"
HOMEPAGE="http://bozeman.mbt.washington.edu/consed/consed.html"
SRC_URI="
	${P}-sources.tar.gz
	${P}-linux.tar.gz"

LICENSE="phrap"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

DEPEND=">=x11-libs/motif-2.3:0"
RDEPEND="${DEPEND}
	sci-biology/samtools
	>=sci-biology/phred-000925
	>=sci-biology/phrap-1.080721
	dev-lang/perl"

S="${WORKDIR}"

RESTRICT="fetch"

pkg_nofetch() {
	einfo "Please visit ${HOMEPAGE} and obtain the file"
	einfo "\"sources.tar.gz\", then rename it to \"${P}-sources.tar.gz\""
	einfo "and place it in ${DISTDIR},"
	einfo "obtain the file"
	einfo "\"consed_linux.tar.gz\", then rename it to \"${P}-linux.tar.gz\""
	einfo "and place it in ${DISTDIR}"
}

src_prepare() {
	sed -i '/#include/ s/<new.h>/<new>/' "${S}/main.cpp" || die
	sed -i \
		-e '/CLIBS=/ s/$/ -lXm -lXt -lSM -lICE -lXext -lXmu -lXp -lm -lbam -lz/' \
		-e 's/ARCHIVES=/ARCHIVES=\n_ARCHIVES=/' \
		-e 's/CFLGS=/CFLGS= ${CFLAGS} /' \
		-e 's#/me1/gordon/samtools/samtools-0.1.18#/usr/include/bam/#' "${S}/makefile" || die
	sed -i -e 's/CFLAGS=/CFLAGS += /' "${S}"/misc/*/Makefile || die
	sed \
		-e 's!\($szPhredParameterFile =\).*!\1 $ENV{PHRED_PARAMETER_FILE} || "'${EPREFIX}'/usr/share/phred/phredpar.dat";!' \
		-i "${S}"/scripts/* || die
}

src_compile() {
	emake
	emake -C misc/mktrace
	emake -C misc/phd2fasta
	(cd misc/454; $(tc-getCC) ${CFLAGS} ${LDFLAGS} sff2scf.c -o sff2scf) || die
}

src_install() {
	dobin consed misc/{mktrace/mktrace,phd2fasta/phd2fasta,454/sff2scf}
	dobin scripts/* contributions/*
	insinto /usr/lib/screenLibs
	doins misc/*.{fa*,seq}
	insinto /usr/share/${PN}/examples
	doins -r \
		standard polyphred autofinish assembly_view 454_newbler \
		align454reads align454reads_answer solexa_example \
		solexa_example_answer selectRegions selectRegionsAnswer
	echo 'CONSED_HOME="${EPREFIX}/usr"' > "${S}"/99consed || die
	echo 'CONSED_PARAMETERS="${EPREFIX}/etc/consedrc"' >> "${S}"/99consed || die
	mkdir -p "${ED}"/etc/consedrc || die
	touch "${ED}"/etc/consedrc || die
	doenvd "${S}/99consed" || die
	sed \
		-e "s#/usr/local/genome#${EPREFIX}/usr#" \
		-i "${ED}"/usr/bin/{*.perl,phredPhrap,phredPhrapWithPhdBalls} || die
	sed \
		-e 's#niceExe = "/bin/nice"#niceExe = "/usr/bin/nice"#' \
		-i "${ED}"/usr/bin/phredPhrap || die
	sed \
		-e 's#/wt1/gordon/genome#/usr/bin#' \
		-i "${ED}"/usr/bin/fastq2Phrap.perl || die
	dodoc README.txt *_announcement.txt || die
}

pkg_postinst() {
	einfo "Package documentation is available at"
	einfo "http://www.phrap.org/consed/distributions/README.${PV}.0.txt"
}





                 reply	other threads:[~2014-10-26 16:13 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20141026161323.D06B68CBE@oystercatcher.gentoo.org \
    --to=jlec@gentoo.org \
    --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