public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Justin Lecher" <jlec@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:ccp4 commit in: sci-libs/cctbx/
Date: Thu,  6 Jun 2013 08:24:09 +0000 (UTC)	[thread overview]
Message-ID: <1370506727.2145dbd4ed3decb4d6162807e4e4b4d61df87809.jlec@gentoo> (raw)

commit:     2145dbd4ed3decb4d6162807e4e4b4d61df87809
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Thu Jun  6 08:18:47 2013 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Thu Jun  6 08:18:47 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=2145dbd4

sci-libs/cctbx: Handle static-libs

Package-Manager: portage-2.2.0_alpha177

---
 sci-libs/cctbx/ChangeLog                    |  9 +++++++++
 sci-libs/cctbx/cctbx-2013.02.27.0005.ebuild | 11 ++++++++++-
 2 files changed, 19 insertions(+), 1 deletion(-)

diff --git a/sci-libs/cctbx/ChangeLog b/sci-libs/cctbx/ChangeLog
index c67eab0..9d8e3e8 100644
--- a/sci-libs/cctbx/ChangeLog
+++ b/sci-libs/cctbx/ChangeLog
@@ -2,6 +2,15 @@
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
 # $Header: /var/cvsroot/gentoo-x86/sci-libs/cctbx/ChangeLog,v 1.33 2013/03/19 07:07:15 jlec Exp $
 
+  06 Jun 2013; Justin Lecher <jlec@gentoo.org> cctbx-2013.02.27.0005.ebuild:
+  Handle static-libs
+
+  06 Jun 2013; Justin Lecher <jlec@gentoo.org> cctbx-2013.02.27.0005.ebuild:
+  Handle static-libs
+
+  06 Jun 2013; Justin Lecher <jlec@gentoo.org> cctbx-2013.02.27.0005.ebuild:
+  Handle static-libs
+
   02 Jun 2013; Justin Lecher <jlec@gentoo.org> cctbx-2012.05.08.2305.ebuild,
   cctbx-2013.02.27.0005.ebuild:
   Drop unavailable USE

diff --git a/sci-libs/cctbx/cctbx-2013.02.27.0005.ebuild b/sci-libs/cctbx/cctbx-2013.02.27.0005.ebuild
index a24c309..f4b001d 100644
--- a/sci-libs/cctbx/cctbx-2013.02.27.0005.ebuild
+++ b/sci-libs/cctbx/cctbx-2013.02.27.0005.ebuild
@@ -18,7 +18,7 @@ SRC_URI="http://cci.lbl.gov/cctbx_build/results/${MY_PV}/${PN}_bundle.tar.gz ->
 LICENSE="cctbx-2.0"
 SLOT="0"
 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="+minimal"
+IUSE="+minimal static-libs"
 
 RDEPEND="
 	>=dev-libs/boost-1.48[python,${PYTHON_USEDEP}]
@@ -76,3 +76,12 @@ python_prepare_all() {
 
 	distutils-r1_python_prepare_all
 }
+
+python_install_all() {
+	distutils-r1_python_install_all
+
+	if ! use static-libs; then
+		find "${ED}" -type f -name "*.a" -delete || die
+	fi
+	prune_libtool_files
+}


             reply	other threads:[~2013-06-06  8:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-06  8:24 Justin Lecher [this message]
  -- strict thread matches above, loose matches on Subject: below --
2013-06-10 11:25 [gentoo-commits] proj/sci:ccp4 commit in: sci-libs/cctbx/ Justin Lecher
2013-06-02 13:43 Justin Lecher

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=1370506727.2145dbd4ed3decb4d6162807e4e4b4d61df87809.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