From: "Justin Lecher" <jlec@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-biology/bambus/
Date: Wed, 23 Sep 2015 10:19:56 +0000 (UTC) [thread overview]
Message-ID: <1443003357.f5615b674dcdbddefac76b816a12458dd895fcb6.jlec@gentoo> (raw)
commit: f5615b674dcdbddefac76b816a12458dd895fcb6
Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 23 10:15:57 2015 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Wed Sep 23 10:15:57 2015 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=f5615b67
sci-biology/bambus: Drop unnecessary dep on python
Package-Manager: portage-2.2.21
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
sci-biology/bambus/bambus-2.33.ebuild | 58 ++++++++++++++++++-----------------
1 file changed, 30 insertions(+), 28 deletions(-)
diff --git a/sci-biology/bambus/bambus-2.33.ebuild b/sci-biology/bambus/bambus-2.33.ebuild
index d5b7c7f..13b7b62 100644
--- a/sci-biology/bambus/bambus-2.33.ebuild
+++ b/sci-biology/bambus/bambus-2.33.ebuild
@@ -8,10 +8,12 @@ PERL_EXPORT_PHASE_FUNCTIONS=no
inherit perl-module eutils toolchain-funcs
DESCRIPTION="Scaffolding Polymorphic Genomes and Metagenomes, a part of AMOS bundle"
-HOMEPAGE="http://sourceforge.net/apps/mediawiki/amos/index.php?title=AMOS
- http://sourceforge.net/projects/amos/files/bambus
- http://www.tigr.org/software/bambus"
-SRC_URI="http://sourceforge.net/projects/amos/files/bambus/${PV}/${P}.tar.gz
+HOMEPAGE="
+ http://sourceforge.net/apps/mediawiki/amos/index.php?title=AMOS
+ http://sourceforge.net/projects/amos/files/bambus
+ http://www.tigr.org/software/bambus"
+SRC_URI="
+ http://sourceforge.net/projects/amos/files/bambus/${PV}/${P}.tar.gz
http://mira-assembler.sourceforge.net/docs/scaffolding_MIRA_BAMBUS.pdf"
LICENSE="Artistic"
@@ -19,25 +21,25 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
-DEPEND="sci-biology/tigr-foundation-libs"
-RDEPEND="${DEPEND}
- dev-lang/perl
- dev-lang/python
- dev-perl/XML-Parser
- dev-perl/Config-IniFiles
- dev-perl/GraphViz"
+RDEPEND="
+ sci-biology/tigr-foundation-libs
+ dev-lang/perl
+ dev-perl/XML-Parser
+ dev-perl/Config-IniFiles
+ dev-perl/GraphViz"
+DEPEND="${RDEPEND}"
src_prepare() {
# epatch "${FILESDIR}"/amos-2.0.8-gcc44.patch
sed -e 's:BASEDIR = /usr/local/packages/bambus:BASEDIR = /usr:' -i Makefile || die
sed -e 's:PERL = /usr/local/bin/perl:PERL = /usr/bin/perl:' -i Makefile || die
- sed -e 's:INSTDIR:DESTDIR:g' -i Makefile || die
- sed -e 's:INSTDIR:DESTDIR:g' -i src/Makefile || die
- sed -e 's:INSTDIR:DESTDIR:g' -i doc/Makefile || die
+ sed \
+ -e 's:INSTDIR:DESTDIR:g' \
+ -i Makefile src/Makefile doc/Makefile || die
sed -e 's:make all;:make all || exit 255;:' -i src/Makefile || die
- sed -e 's:INSTDIR:DESTDIR:g' -i src/IO/Makefile || die
- sed -e 's:INSTDIR:DESTDIR:g' -i src/DotLib/Makefile || die
- sed -e 's:INSTDIR:DESTDIR:g' -i src/grommit/Makefile || die
+ sed \
+ -e 's:INSTDIR:DESTDIR:g' \
+ -i src/IO/Makefile src/DotLib/Makefile src/grommit/Makefile || die
sed -e "s:^CC\t=:CC=$(tc-getCXX):" -i Makefile || die
sed -e "s:^CXX\t=:CXX=$(tc-getCXX):" -i Makefile || die
sed -e "s:^LD\t:LD=$(tc-getCXX):" -i Makefile || die
@@ -70,7 +72,7 @@ src_prepare() {
}
src_compile() {
- emake DESTDIR="${D}/usr" || die "emake failed"
+ emake DESTDIR="${D}/usr"
# TODO:
#ld -L../TIGR_Foundation_CC/ -shared -fPIC -o grommit grommit.o -L. -lgraph -lTigrFoundation
@@ -87,7 +89,7 @@ src_compile() {
}
src_install() {
- emake DESTDIR="${D}/usr" install || die "emake install failed"
+ emake DESTDIR="${D}/usr" install
# cvs HEAD of amos now contains even more updated files: /usr/bin/printScaff /usr/bin/untangle /usr/lib/TIGR/AsmLib.pm
for f in FASTArecord.pm FASTAreader.pm Foundation.pm FASTAgrammar.pm AsmLib.pm; do rm "${D}"/usr/lib/TIGR/$f; done || die
for f in printScaff untangle; do rm "${D}"/usr/bin/$f; done || die
@@ -96,18 +98,18 @@ src_install() {
# link against the libTigrFoundation.a provided by sci-biology/tigr-foundation-libs package
for f in CategoryInformation.hh MessageLevel.hh ConfigFile.hh LogCategory.hh \
ConfigSection.hh TIGR_Foundation.hh OptionResult.hh Exceptions.hh \
- LogMsg.hh Options.hh Logger.hh FileSystem.hh; do \
- rm "${D}"/usr/include/$f; \
- done || die
- rm "${D}"/usr/lib/libTigrFoundation.a || die
+ LogMsg.hh Options.hh Logger.hh FileSystem.hh; do
+ rm "${ED}"/usr/include/$f || die
+ done
+ rm "${ED}"/usr/lib/libTigrFoundation.a || die
- mkdir -p "${D}"/usr/share/doc/"${P}" || die
- mv "${D}"/usr/doc/* "${D}"/usr/share/doc/"${P}" || die
- rmdir "${D}"/usr/doc || die
+ dodir /usr/share/doc/${P}
+ mv "${ED}"/usr/doc/* "${ED}"/usr/share/doc/${PF} || die
+ rmdir "${ED}"/usr/doc || die
- dobin "${FILESDIR}"/goBambus.pl || die "Failed to install the alternative of goBambus.py written in perl"
+ dobin "${FILESDIR}"/goBambus.pl
dodoc "${DISTDIR}"/scaffolding_MIRA_BAMBUS.pdf
- rm -rf "${D}"/usr/lib
+ rm -rf "${ED}"/usr/lib || die
}
pkg_postinst(){
next reply other threads:[~2015-09-23 10:20 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-23 10:19 Justin Lecher [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-02-17 20:48 [gentoo-commits] proj/sci:master commit in: sci-biology/bambus/ Horea Christian
2022-01-26 10:17 Andrew Ammerlaan
2022-01-25 19:15 Andrew Ammerlaan
2017-02-22 2:05 Martin Mokrejs
2016-09-01 15:29 Martin Mokrejs
2016-09-01 15:16 Martin Mokrejs
2015-04-17 23:56 Martin Mokrejs
2015-04-17 23:56 Martin Mokrejs
2015-03-31 20:26 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=1443003357.f5615b674dcdbddefac76b816a12458dd895fcb6.jlec@gentoo \
--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