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/consed/
Date: Fri, 18 Mar 2016 16:33:59 +0000 (UTC)	[thread overview]
Message-ID: <1458318798.2cf8dc31a6d127404c269bcd56d5e3ae96f823e2.mmokrejs@gentoo> (raw)

commit:     2cf8dc31a6d127404c269bcd56d5e3ae96f823e2
Author:     Martin Mokrejš <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
AuthorDate: Fri Mar 18 16:33:18 2016 +0000
Commit:     Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
CommitDate: Fri Mar 18 16:33:18 2016 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=2cf8dc31

sci-biology/consed: fix the autogenerated /etc/env.d/ file and make sure the EPREFIX is expanded in it (should be also fixed in consed-27 in the main gentoo repo), check yourself 'printenv | grep CONSED' and do not forger env-update && . /etc/profile before re-testing; the first part of the patch now properly edits the variable in perl-based scripts/*; however, I am still getting some issue with 'consed -ace 454Contigs.ace.1 -fixContigEnds' giving me:\nabout to run: /usr/bin/fixContigEnd.perl right_contig00004|m.2.ref_160318.171619.fasta right_contig00004|m.2.ref_160318.171619.fixConsensusEndAceFile.fof\nUse of uninitialized value [1] in string eq at /usr/bin/fixContigEnd.perl line 21.\nsh: m.2.ref_160318.171619.fasta: command not found\nsh: m.2.ref_160318.171619.fixConsensusEndAceFile.fof: command not found\n

Package-Manager: portage-2.2.26

 sci-biology/consed/consed-29.ebuild | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/sci-biology/consed/consed-29.ebuild b/sci-biology/consed/consed-29.ebuild
index 4614477..0a8387c 100644
--- a/sci-biology/consed/consed-29.ebuild
+++ b/sci-biology/consed/consed-29.ebuild
@@ -48,12 +48,12 @@ src_prepare() {
 		-e 's#/me1/gordon/samtools/samtools-0.1.18#/usr/include/bam/ -I/usr/include/htslib/#' "${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";!' \
+		-e "s!\$szPhredParameterFile = .*!\$szPhredParameterFile = \$ENV{'PHRED_PARAMETER_FILE'} || \'"${EPREFIX}"/usr/share/phred/phredpar.dat\';!" \
 		-i "${S}"/scripts/* || die
 }
 
 src_compile() {
-	einfo "consed does not compile with sys-devel/gcc-4.6:* or newer (but 4.4.7 works)"
+	einfo "consed does not compile with >=sys-devel/gcc-4.6:* but 4.4.7 works"
 	default
 	emake -C misc/mktrace
 	emake -C misc/phd2fasta
@@ -70,8 +70,8 @@ src_install() {
 		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
+	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"


             reply	other threads:[~2016-03-18 16:34 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-18 16:33 Martin Mokrejs [this message]
  -- strict thread matches above, loose matches on Subject: below --
2016-10-12  6:30 [gentoo-commits] proj/sci:master commit in: sci-biology/consed/ Marius Brehler
2016-10-04  8:10 Martin Mokrejs
2016-03-24 21:05 Martin Mokrejs
2016-03-20 17:42 Martin Mokrejs
2015-07-23  0:14 Martin Mokrejs
2014-04-05 13:21 Martin Mokrejs
2014-04-05 11:39 Martin Mokrejs
2014-04-02  9:32 Martin Mokrejs
2014-03-23 15:49 Martin Mokrejs
2012-10-31  9:48 Martin Mokrejs
2011-06-24 17:09 Justin Lecher
2011-05-18  9:27 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=1458318798.2cf8dc31a6d127404c269bcd56d5e3ae96f823e2.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