From: "Martin Mokrejs" <mmokrejs@fold.natur.cuni.cz>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-biology/staden/
Date: Mon, 12 Dec 2011 14:01:39 +0000 (UTC) [thread overview]
Message-ID: <af67cc9273a5089c2c01aba5dc8cf8eed7d5aa3b.mmokrejs@gentoo> (raw)
commit: af67cc9273a5089c2c01aba5dc8cf8eed7d5aa3b
Author: Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
AuthorDate: Mon Dec 12 14:01:34 2011 +0000
Commit: Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
CommitDate: Mon Dec 12 14:01:34 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=af67cc92
fix determination of svn-based checkout number required for building
(Portage version: 2.1.10.38/git/Linux i686, unsigned Manifest commit)
---
sci-biology/staden/ChangeLog | 4 ++++
sci-biology/staden/staden-9999.ebuild | 11 +++++++++--
2 files changed, 13 insertions(+), 2 deletions(-)
diff --git a/sci-biology/staden/ChangeLog b/sci-biology/staden/ChangeLog
index 243d4e7..e98e9ca 100644
--- a/sci-biology/staden/ChangeLog
+++ b/sci-biology/staden/ChangeLog
@@ -2,6 +2,10 @@
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 12 Dec 2011; Martin Mokrejs <mmokrejs@fold.natur.cuni.cz> staden-9999.ebuild:
+ fix determination of svn-based checkout number required for building
+ staden-9999.ebuild
+
08 Jul 2011; Martin Mokrejs <mmokrejs@fold.natur.cuni.cz>
staden-2.0.0_beta8.ebuild, staden-9999.ebuild:
Documented that we have to install somehow
diff --git a/sci-biology/staden/staden-9999.ebuild b/sci-biology/staden/staden-9999.ebuild
index 8fc8b94..175b343 100644
--- a/sci-biology/staden/staden-9999.ebuild
+++ b/sci-biology/staden/staden-9999.ebuild
@@ -6,6 +6,10 @@ EAPI=3
inherit base eutils flag-o-matic fortran-2 multilib subversion
+if [ "$PV" == "9999" ]; then
+ inherit autotools
+fi
+
DESCRIPTION="DNA sequence assembly (gap4, gap5), editing and analysis tools (Spin)"
HOMEPAGE="http://sourceforge.net/projects/staden/"
# https://staden.svn.sourceforge.net/svnroot/staden staden
@@ -17,7 +21,7 @@ fi
LICENSE="staden"
SLOT="0"
-KEYWORDS=""
+KEYWORDS="~amd64"
IUSE="curl debug fortran png tcl tk X zlib"
# either g77 or gfortran must be available
@@ -63,11 +67,14 @@ src_configure() {
use debug && append-cflags "-DCACHE_REF_DEBUG"
use debug && append-cxxflags "-DCACHE_REF_DEBUG"
econf ${myconf}
+ # edit system.mk to place there proper version number of the svn-controlled checkout
+ SVNVERSION=`svnversion ${ESVN_STORE_DIR}/${ESVN_PROJECT}/${ESVN_REPO_URI##*/}`
+ sed -e "s/^SVNVERS.*/SVNVERS = "${SVNVERSION}"/" -i system.mk
}
src_install() {
# TODO: dodoc /usr/share/doc/staden/manual/gap4.index ?
- emake install DESTDIR="${D}" || die "make install failed"
+ emake install DESTDIR="${D}" SVN_VERSION="${SVNVERSION}" || die "make install failed"
cat >> "${S}"/99staden <<- EOF
STADENROOT="${EPREFIX}"/usr/share/staden
next reply other threads:[~2011-12-12 14:01 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-12 14:01 Martin Mokrejs [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-02-03 8:24 [gentoo-commits] proj/sci:master commit in: sci-biology/staden/ Andrew Ammerlaan
2021-01-18 15:32 Andrew Ammerlaan
2019-10-22 10:52 Martin Mokrejs
2016-04-01 14:19 Marius Brehler
2016-04-01 14:19 Marius Brehler
2016-03-25 17:28 Martin Mokrejs
2016-03-25 16:39 Martin Mokrejs
2016-03-23 19:04 Martin Mokrejs
2015-08-07 13:01 Justin Lecher
2015-05-02 16:29 Martin Mokrejs
2015-05-02 16:29 Martin Mokrejs
2014-03-24 13:30 Martin Mokrejs
2014-01-06 17:41 Justin Lecher
2011-12-12 14:02 Martin Mokrejs
2011-07-08 14:09 Martin Mokrejs
2011-06-23 9:31 Justin Lecher
2011-06-23 9:31 Justin Lecher
2011-06-21 11:54 Justin Lecher
2011-03-06 21:20 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=af67cc9273a5089c2c01aba5dc8cf8eed7d5aa3b.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