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/staden/
Date: Tue, 22 Oct 2019 10:52:03 +0000 (UTC)	[thread overview]
Message-ID: <1571741506.cad3d25dae697461e1a6d295f2bdf99e9c2f626a.mmokrejs@gentoo> (raw)

commit:     cad3d25dae697461e1a6d295f2bdf99e9c2f626a
Author:     Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
AuthorDate: Tue Oct 22 10:51:46 2019 +0000
Commit:     Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
CommitDate: Tue Oct 22 10:51:46 2019 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=cad3d25d

sci-biology/staden: sourceforge moved SVN repo URL

Also, somehow I cannot set "${S}" to src because svn would checkout the
source tree there, so one would need ./src/src to access configure.in.
Overwriting "${S}" inside each function helps.

Package-Manager: Portage-2.3.75, Repoman-2.3.17
Signed-off-by: Martin Mokrejs <mmokrejs <AT> fold.natur.cuni.cz>

 sci-biology/staden/staden-9999.ebuild | 16 +++++++++++++---
 1 file changed, 13 insertions(+), 3 deletions(-)

diff --git a/sci-biology/staden/staden-9999.ebuild b/sci-biology/staden/staden-9999.ebuild
index 0253c9eb5..4be43217f 100644
--- a/sci-biology/staden/staden-9999.ebuild
+++ b/sci-biology/staden/staden-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -9,8 +9,7 @@ inherit autotools-utils flag-o-matic fortran-2 multilib subversion
 
 DESCRIPTION="DNA sequence assembly (gap4, gap5), editing and analysis tools (Spin)"
 HOMEPAGE="http://sourceforge.net/projects/staden/"
-SRC_URI=""
-ESVN_REPO_URI="https://staden.svn.sourceforge.net/svnroot/staden/staden/trunk/src"
+ESVN_REPO_URI="https://svn.code.sf.net/p/${PN}/code/${PN}/trunk"
 
 LICENSE="staden"
 SLOT="0"
@@ -42,6 +41,7 @@ RDEPEND="${DEPEND}
 AUTOTOOLS_IN_SOURCE_BUILD=1
 
 src_prepare() {
+	cd "${WORKDIR}"/"${P}"/src || die
 	sed \
 		-e 's:svnversion:false:' \
 		-i configure.in || die
@@ -50,6 +50,8 @@ src_prepare() {
 }
 
 src_configure() {
+	cd "${WORKDIR}"/"${P}"/src || die
+	S="${WORKDIR}"/"${P}"/src
 	local myeconfargs=()
 	use X && myeconfargs+=( --with-x )
 	myeconfargs+=(
@@ -62,7 +64,15 @@ src_configure() {
 	sed -e "s/^SVNVERS.*/SVNVERS = "${ESVN_REVISION}"/" -i system.mk || die
 }
 
+src_compile(){
+	cd "${WORKDIR}"/"${P}"/src || die
+	S="${WORKDIR}"/"${P}"/src
+	default
+}
+
 src_install() {
+	cd "${WORKDIR}"/"${P}"/src || die
+	S="${WORKDIR}"/"${P}"/src
 	autotools-utils_src_install SVN_VERSION="${ESVN_REVISION}"
 	cat >> "${T}"/99staden <<- EOF
 	STADENROOT="${EPREFIX}"/usr/share/staden


             reply	other threads:[~2019-10-22 10:52 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-22 10:52 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
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-12-12 14:01 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=1571741506.cad3d25dae697461e1a6d295f2bdf99e9c2f626a.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