From: "Justin Lecher" <jlec@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:fixing commit in: sci-biology/twinscan/
Date: Sun, 16 Jun 2013 20:19:03 +0000 (UTC) [thread overview]
Message-ID: <1371413913.c2ac84939cff29d46ec7657f1f55f9c37c31abfc.jlec@gentoo> (raw)
commit: c2ac84939cff29d46ec7657f1f55f9c37c31abfc
Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 16 20:18:33 2013 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sun Jun 16 20:18:33 2013 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=c2ac8493
sci-biology/twinscan: Bump to EAPI=5 and fix license
Package-Manager: portage-2.2.0_alpha180
---
sci-biology/twinscan/ChangeLog | 6 +++++-
sci-biology/twinscan/metadata.xml | 10 +++++-----
sci-biology/twinscan/twinscan-4.1.2.ebuild | 30 ++++++++++++++++++++----------
3 files changed, 30 insertions(+), 16 deletions(-)
diff --git a/sci-biology/twinscan/ChangeLog b/sci-biology/twinscan/ChangeLog
index 3914a60..fedf86e 100644
--- a/sci-biology/twinscan/ChangeLog
+++ b/sci-biology/twinscan/ChangeLog
@@ -1,7 +1,11 @@
# ChangeLog for sci-biology/twinscan
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 16 Jun 2013; Justin Lecher <jlec@gentoo.org> twinscan-4.1.2.ebuild,
+ metadata.xml:
+ Bump to EAPI=5 and fix license
+
07 Mar 2011; Justin Lecher <jlec@gentoo.org> twinscan-4.1.2.ebuild:
Correct Slots for gtk 3 introduction to tree
diff --git a/sci-biology/twinscan/metadata.xml b/sci-biology/twinscan/metadata.xml
index 3302123..fc7c769 100644
--- a/sci-biology/twinscan/metadata.xml
+++ b/sci-biology/twinscan/metadata.xml
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <maintainer>
- <email>weaver@gentoo.org</email>
- <name>Andrey Kislyuk</name>
- </maintainer>
- <herd>sci-biology</herd>
+ <maintainer>
+ <email>weaver@gentoo.org</email>
+ <name>Andrey Kislyuk</name>
+ </maintainer>
+ <herd>sci-biology</herd>
</pkgmetadata>
diff --git a/sci-biology/twinscan/twinscan-4.1.2.ebuild b/sci-biology/twinscan/twinscan-4.1.2.ebuild
index 96b1a04..516aec8 100644
--- a/sci-biology/twinscan/twinscan-4.1.2.ebuild
+++ b/sci-biology/twinscan/twinscan-4.1.2.ebuild
@@ -1,14 +1,16 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
-EAPI=2
+EAPI=5
+
+inherit toolchain-funcs
DESCRIPTION="TwinScan, N-SCAN, and Pairagon: A gene structure prediction pipeline"
HOMEPAGE="http://mblab.wustl.edu/software/twinscan"
-SRC_URI="http://mblab.wustl.edu/software/download/iscan-${PV}.tar_.gz"
+SRC_URI="http://mblab.wustl.edu/software/download/iscan-${PV}.tar_.gz -> ${P}.tar.gz"
-LICENSE="as-is"
+LICENSE="all-rights-reserved"
SLOT="0"
IUSE=""
KEYWORDS="~amd64 ~x86"
@@ -18,14 +20,21 @@ RDEPEND="${DEPEND}"
S="${WORKDIR}/N-SCAN"
-src_unpack() {
- unpack ${A}
- tar -C "${WORKDIR}" -xf iscan-${PV}.tar_
-}
-
src_prepare() {
sed -i "1 a use lib '/usr/share/${PN}/lib/perl5';" "${S}"/bin/*.pl || die
- sed -i '/my $blast_param/ s/#//' "${S}/bin/runTwinscan2.pl"
+ sed -i '/my $blast_param/ s/#//' "${S}/bin/runTwinscan2.pl" || die
+ tc-export CC AR RANLIB
+
+ sed \
+ -e 's:ar :$(AR) :g' \
+ -e 's:ranlib :$(RANLIB) :g' \
+ -e 's: -o : $(LDFLAGS) -o :g' \
+ -i Makefile || die
+
+ sed \
+ -e "/^GLIB_CFLAGS/s:=.*:=$($(tc-getPKG_CONFIG) --cflags glib-2.0) -DHAS_GLIB:g" \
+ -e "/^GLIB_LFLAGS/s:=.*:=$($(tc-getPKG_CONFIG) --libs glib-2.0)-DHAS_GLIB:g" \
+ -i Makefile.include || die
}
src_install() {
@@ -35,5 +44,6 @@ src_install() {
doins -r "${S}/lib" || die
echo "TWINSCAN=/usr" > "${S}"/99${PN}
doenvd "${S}"/99${PN} || die
+ rm -rf examples/tmp
dodoc examples/* README*
}
reply other threads:[~2013-06-16 20:20 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=1371413913.c2ac84939cff29d46ec7657f1f55f9c37c31abfc.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