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/sra_sdk/
Date: Thu, 15 Mar 2012 21:23:27 +0000 (UTC)	[thread overview]
Message-ID: <1331846577.129e2c6e82a71b4ae4894081ce2384f302f2d096.mmokrejs@gentoo> (raw)

commit:     129e2c6e82a71b4ae4894081ce2384f302f2d096
Author:     Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
AuthorDate: Thu Mar 15 21:22:57 2012 +0000
Commit:     Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
CommitDate: Thu Mar 15 21:22:57 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=129e2c6e

sci-biology/sra_sdk-2.1.9: use EAPI=4 hoping it will handle symlinks in bin/ and lib/ directories properly (but it does not, bug #408199

(Portage version: 2.1.10.49/git/Linux x86_64, unsigned Manifest commit)

---
 sci-biology/sra_sdk/ChangeLog            |    5 +++++
 sci-biology/sra_sdk/sra_sdk-2.1.9.ebuild |   22 ++++++++++++++++++----
 2 files changed, 23 insertions(+), 4 deletions(-)

diff --git a/sci-biology/sra_sdk/ChangeLog b/sci-biology/sra_sdk/ChangeLog
index 1a3a884..9b86b3a 100644
--- a/sci-biology/sra_sdk/ChangeLog
+++ b/sci-biology/sra_sdk/ChangeLog
@@ -2,6 +2,11 @@
 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  15 Mar 2012; Martin Mokrejs <mmokrejs@fold.natur.cuni.cz>
+  sra_sdk-2.1.9.ebuild:
+  use EAPI=4 hoping it will handle symlinks in bin/ and lib/ directories
+  properly (but it does not, bug #408199 sra_sdk-2.1.9.ebuild
+
 *sra_sdk-2.1.6 (17 Feb 2012)
 
   17 Feb 2012; Martin Mokrejs <mmokrejs@fold.natur.cuni.cz>

diff --git a/sci-biology/sra_sdk/sra_sdk-2.1.9.ebuild b/sci-biology/sra_sdk/sra_sdk-2.1.9.ebuild
index cf9c639..6baa61c 100644
--- a/sci-biology/sra_sdk/sra_sdk-2.1.9.ebuild
+++ b/sci-biology/sra_sdk/sra_sdk-2.1.9.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
-EAPI=3
+EAPI=4
 
 inherit eutils
 
@@ -72,14 +72,28 @@ src_install(){
 	mkdir "${D}"/usr/bin
 	mkdir -p "${D}"/usr/lib/ncbi
 	mkdir -p "${D}"/usr/ncbi/schema
-	# dobin "${WORKDIR}"/objdir/linux/rel/gcc/"${builddir}"/bin/*
-	for f in "${WORKDIR}"/objdir/linux/rel/gcc/"${builddir}"/bin/*; do cp --preserve=links "$f" "${D}"/usr/bin || die "copy failed" ; done
-	dolib "${WORKDIR}"/objdir/linux/rel/gcc/"${builddir}"/lib/*
+
+	# BUG: neither 'doins -r' nor cp --preserve=all work
+	#insinto /usr/bin
+	#doins -r "${WORKDIR}"/objdir/linux/rel/gcc/"${builddir}"/bin/*
+	for f in "${WORKDIR}"/objdir/linux/rel/gcc/"${builddir}"/bin/*; do cp --preserve=all "$f" "${D}"/usr/bin/ || die "$f copying failed" ; done
+
+
 
 	# install the main libs and the ncbi/vdb-copy.kfg file
 	insinto /usr/lib/ncbi
 	doins "${WORKDIR}"/objdir/linux/rel/gcc/"${builddir}"/lib/ncbi/*
 
+	# zap the subdirectory so that copying below does not fail
+	rm -rf "${WORKDIR}"/objdir/linux/rel/gcc/"${builddir}"/lib/ncbi
+
+
+
+	# BUG: neither the dolib nor cp --preserve=all work
+	#dolib "${WORKDIR}"/objdir/linux/rel/gcc/"${builddir}"/lib/*
+	mkdir -p "${D}"/usr/lib64
+	for f in "${WORKDIR}"/objdir/linux/rel/gcc/"${builddir}"/lib/*; do cp --preserve=all "$f" "${D}"/usr/lib64/ || die "$f copying failed" ; done
+
 	insinto /usr/ncbi/schema
 	doins "${W}"/interfaces/align/*.vschema
 	doins "${W}"/interfaces/sra/*.vschema



             reply	other threads:[~2012-03-15 21:23 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-15 21:23 Martin Mokrejs [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-02-04  5:42 [gentoo-commits] proj/sci:master commit in: sci-biology/sra_sdk/ Andrew Ammerlaan
2021-01-13 21:06 Andrew Ammerlaan
2015-09-22  8:19 Justin Lecher
2013-03-03 17:52 Justin Lecher
2012-12-28 19:19 Martin Mokrejs
2012-03-15 22:58 Martin Mokrejs
2012-02-28 16:36 Martin Mokrejs
2012-02-28 16:35 Martin Mokrejs
2012-02-06 18:56 Martin Mokrejs
2012-02-06 18:26 Martin Mokrejs
2011-09-22 23:35 Martin Mokrejs
2011-09-22 21:34 Martin Mokrejs
2011-07-30 11:08 Martin Mokrejs
2011-06-10 15:37 Martin Mokrejs
2011-06-10 15:30 Martin Mokrejs
2011-06-10 15:23 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=1331846577.129e2c6e82a71b4ae4894081ce2384f302f2d096.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