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: Wed, 23 Mar 2016 19:04:21 +0000 (UTC)	[thread overview]
Message-ID: <1458759854.694eb11ff758972f56126f309b9ed3663eef7f0f.mmokrejs@gentoo> (raw)

commit:     694eb11ff758972f56126f309b9ed3663eef7f0f
Author:     Martin Mokrejš <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
AuthorDate: Wed Mar 23 19:04:14 2016 +0000
Commit:     Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
CommitDate: Wed Mar 23 19:04:14 2016 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=694eb11f

sci-biology/staden: version bump; remove unused USE=curl, introduce USE=doc for a separate package

Package-Manager: portage-2.2.26

 ...en-2.0.0_beta9.ebuild => staden-2.0.0_beta10.ebuild} | 17 ++++++-----------
 sci-biology/staden/staden-9999.ebuild                   |  9 ++++-----
 2 files changed, 10 insertions(+), 16 deletions(-)

diff --git a/sci-biology/staden/staden-2.0.0_beta9.ebuild b/sci-biology/staden/staden-2.0.0_beta10.ebuild
similarity index 76%
rename from sci-biology/staden/staden-2.0.0_beta9.ebuild
rename to sci-biology/staden/staden-2.0.0_beta10.ebuild
index 7f86914..b9cfef0 100644
--- a/sci-biology/staden/staden-2.0.0_beta9.ebuild
+++ b/sci-biology/staden/staden-2.0.0_beta10.ebuild
@@ -9,15 +9,13 @@ AUTOTOOLS_AUTORECONF=yes
 inherit autotools-utils eutils flag-o-matic fortran-2 multilib
 
 DESCRIPTION="DNA sequence assembly (gap4, gap5), editing and analysis tools (Spin)"
-HOMEPAGE="http://sourceforge.net/projects/staden/"
-SRC_URI="
-	http://downloads.sourceforge.net/staden/staden-${PV/_beta/b}-src.tar.gz
-	http://sourceforge.net/projects/staden/files/staden/${PV/_beta/b}/staden_doc-${PV/_beta/b}-src.tar.gz"
+HOMEPAGE="http://sourceforge.net/projects/staden"
+SRC_URI="http://downloads.sourceforge.net/staden/staden-${PV/_beta/b}-src.tar.gz"
 
 LICENSE="staden"
 SLOT="0"
 KEYWORDS="~x86 ~amd64"
-IUSE="curl debug fortran png tcl tk X zlib"
+IUSE="debug doc fortran png tcl tk X zlib"
 
 # either g77 or gfortran must be available
 # edit src/mk/linux.mk accordingly
@@ -37,7 +35,9 @@ DEPEND="
 RDEPEND="${DEPEND}
 	>=dev-tcltk/iwidgets-4.0
 	tcl? ( >=dev-tcltk/itcl-3.2 )
-	tk? ( >=dev-tcltk/itk-3.2 )"
+	tk? ( >=dev-tcltk/itk-3.2 )
+	net-misc/curl
+	doc? ( sci-biology/staden_doc )"
 
 S="${WORKDIR}"/staden-${PV/_beta/b}-src
 
@@ -69,10 +69,6 @@ src_configure(){
 
 src_install() {
 	autotools-utils_src_install
-	# TODO: dodoc /usr/share/doc/staden/manual/gap4.index ?
-	#cd "${WORKDIR}"/staden_doc-${PV/_beta/b}-src || die "failed to cd "${WORKDIR}"/staden_doc-${PV/_beta/b}-src"
-	#make install prefix="${D}"/usr || die "failed to install pre-created docs from upstream"
-
 	# install the LDPATH so that it appears in /etc/ld.so.conf after env-update
 	# subsequently, apps linked against /usr/lib/staden can be run because
 	# loader can find the library (I failed to use '-Wl,-rpath,/usr/lib/staden'
@@ -81,6 +77,5 @@ src_install() {
 	STADENROOT="${EPREFIX}"/usr/share/staden
 	LDPATH="${EPREFIX}/usr/$(get_libdir)/staden"
 	EOF
-
 	doenvd "${T}"/99staden
 }

diff --git a/sci-biology/staden/staden-9999.ebuild b/sci-biology/staden/staden-9999.ebuild
index ef3a752..58e92e9 100644
--- a/sci-biology/staden/staden-9999.ebuild
+++ b/sci-biology/staden/staden-9999.ebuild
@@ -16,7 +16,7 @@ ESVN_REPO_URI="https://staden.svn.sourceforge.net/svnroot/staden/staden/trunk/sr
 LICENSE="staden"
 SLOT="0"
 KEYWORDS=""
-IUSE="curl debug fortran png tcl tk X zlib"
+IUSE="debug doc fortran png tcl tk X zlib"
 
 # either g77 or gfortran must be available
 # edit src/mk/linux.mk accordingly
@@ -36,7 +36,9 @@ DEPEND="
 RDEPEND="${DEPEND}
 	>=dev-tcltk/iwidgets-4.0
 	tcl? ( >=dev-tcltk/itcl-3.2 )
-	tk? ( >=dev-tcltk/itk-3.2 )"
+	tk? ( >=dev-tcltk/itk-3.2 )
+	net-misc/curl
+	doc? ( sci-biology/staden_doc )"
 
 AUTOTOOLS_IN_SOURCE_BUILD=1
 
@@ -62,13 +64,10 @@ src_configure() {
 }
 
 src_install() {
-	# TODO: dodoc /usr/share/doc/staden/manual/gap4.index ?
 	autotools-utils_src_install SVN_VERSION="${ESVN_REVISION}"
-
 	cat >> "${T}"/99staden <<- EOF
 	STADENROOT="${EPREFIX}"/usr/share/staden
 	LDPATH="${EPREFIX}/usr/$(get_libdir)/staden"
 	EOF
-
 	doenvd "${T}"/99staden
 }


             reply	other threads:[~2016-03-23 19:04 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-23 19:04 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
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=1458759854.694eb11ff758972f56126f309b9ed3663eef7f0f.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