1 |
commit: 2145dbd4ed3decb4d6162807e4e4b4d61df87809 |
2 |
Author: Justin Lecher <jlec <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jun 6 08:18:47 2013 +0000 |
4 |
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jun 6 08:18:47 2013 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=2145dbd4 |
7 |
|
8 |
sci-libs/cctbx: Handle static-libs |
9 |
|
10 |
Package-Manager: portage-2.2.0_alpha177 |
11 |
|
12 |
--- |
13 |
sci-libs/cctbx/ChangeLog | 9 +++++++++ |
14 |
sci-libs/cctbx/cctbx-2013.02.27.0005.ebuild | 11 ++++++++++- |
15 |
2 files changed, 19 insertions(+), 1 deletion(-) |
16 |
|
17 |
diff --git a/sci-libs/cctbx/ChangeLog b/sci-libs/cctbx/ChangeLog |
18 |
index c67eab0..9d8e3e8 100644 |
19 |
--- a/sci-libs/cctbx/ChangeLog |
20 |
+++ b/sci-libs/cctbx/ChangeLog |
21 |
@@ -2,6 +2,15 @@ |
22 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
23 |
# $Header: /var/cvsroot/gentoo-x86/sci-libs/cctbx/ChangeLog,v 1.33 2013/03/19 07:07:15 jlec Exp $ |
24 |
|
25 |
+ 06 Jun 2013; Justin Lecher <jlec@g.o> cctbx-2013.02.27.0005.ebuild: |
26 |
+ Handle static-libs |
27 |
+ |
28 |
+ 06 Jun 2013; Justin Lecher <jlec@g.o> cctbx-2013.02.27.0005.ebuild: |
29 |
+ Handle static-libs |
30 |
+ |
31 |
+ 06 Jun 2013; Justin Lecher <jlec@g.o> cctbx-2013.02.27.0005.ebuild: |
32 |
+ Handle static-libs |
33 |
+ |
34 |
02 Jun 2013; Justin Lecher <jlec@g.o> cctbx-2012.05.08.2305.ebuild, |
35 |
cctbx-2013.02.27.0005.ebuild: |
36 |
Drop unavailable USE |
37 |
|
38 |
diff --git a/sci-libs/cctbx/cctbx-2013.02.27.0005.ebuild b/sci-libs/cctbx/cctbx-2013.02.27.0005.ebuild |
39 |
index a24c309..f4b001d 100644 |
40 |
--- a/sci-libs/cctbx/cctbx-2013.02.27.0005.ebuild |
41 |
+++ b/sci-libs/cctbx/cctbx-2013.02.27.0005.ebuild |
42 |
@@ -18,7 +18,7 @@ SRC_URI="http://cci.lbl.gov/cctbx_build/results/${MY_PV}/${PN}_bundle.tar.gz -> |
43 |
LICENSE="cctbx-2.0" |
44 |
SLOT="0" |
45 |
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
46 |
-IUSE="+minimal" |
47 |
+IUSE="+minimal static-libs" |
48 |
|
49 |
RDEPEND=" |
50 |
>=dev-libs/boost-1.48[python,${PYTHON_USEDEP}] |
51 |
@@ -76,3 +76,12 @@ python_prepare_all() { |
52 |
|
53 |
distutils-r1_python_prepare_all |
54 |
} |
55 |
+ |
56 |
+python_install_all() { |
57 |
+ distutils-r1_python_install_all |
58 |
+ |
59 |
+ if ! use static-libs; then |
60 |
+ find "${ED}" -type f -name "*.a" -delete || die |
61 |
+ fi |
62 |
+ prune_libtool_files |
63 |
+} |