Gentoo Archives: gentoo-commits

From: Justin Lecher <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:ccp4 commit in: sci-libs/clipper/, sci-libs/clipper/files/
Date: Sat, 01 Jun 2013 17:24:35
Message-Id: 1370098918.aec5808d5af9a23dc710abc3e7477d0395b91648.jlec@gentoo
1 commit: aec5808d5af9a23dc710abc3e7477d0395b91648
2 Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jun 1 15:01:58 2013 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Sat Jun 1 15:01:58 2013 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=aec5808d
7
8 sci-libs/clipper: Version Bump
9
10 Package-Manager: portage-2.2.0_alpha177
11
12 ---
13 sci-libs/clipper/ChangeLog | 7 +++++
14 sci-libs/clipper/clipper-2.1_p20130528.ebuild | 6 ++++
15 ...0130528.ebuild => clipper-2.1_p20130601.ebuild} | 0
16 .../clipper/files/clipper-2.1_p20130528-pc-2.patch | 36 ++++++++++++++++++++++
17 .../clipper/files/clipper-2.1_p20130528-pc.patch | 16 ++++++++++
18 5 files changed, 65 insertions(+)
19
20 diff --git a/sci-libs/clipper/ChangeLog b/sci-libs/clipper/ChangeLog
21 index 0e970e6..d767bf3 100644
22 --- a/sci-libs/clipper/ChangeLog
23 +++ b/sci-libs/clipper/ChangeLog
24 @@ -2,6 +2,13 @@
25 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
26 # $Header: /var/cvsroot/gentoo-x86/sci-libs/clipper/ChangeLog,v 1.22 2013/05/28 18:15:50 jlec Exp $
27
28 +*clipper-2.1_p20130601 (01 Jun 2013)
29 +
30 + 01 Jun 2013; Justin Lecher <jlec@g.o> clipper-2.1_p20130528.ebuild,
31 + +clipper-2.1_p20130601.ebuild, +files/clipper-2.1_p20130528-pc.patch,
32 + +files/clipper-2.1_p20130528-pc-2.patch:
33 + Version Bump
34 +
35 30 May 2013; Justin Lecher <jlec@g.o> clipper-2.1_p20130528.ebuild:
36 Bump EAPI to 5, clean unused code, fix slot of fftw dep
37
38
39 diff --git a/sci-libs/clipper/clipper-2.1_p20130528.ebuild b/sci-libs/clipper/clipper-2.1_p20130528.ebuild
40 index 5e486bc..bbe1011 100644
41 --- a/sci-libs/clipper/clipper-2.1_p20130528.ebuild
42 +++ b/sci-libs/clipper/clipper-2.1_p20130528.ebuild
43 @@ -4,6 +4,8 @@
44
45 EAPI=5
46
47 +AUTOTOOLS_AUTORECONF=true
48 +
49 inherit autotools-utils flag-o-matic
50
51 MY_PV=${PV/_p/.}
52 @@ -26,6 +28,10 @@ DEPEND="${RDEPEND}"
53
54 S="${WORKDIR}"/${MY_P}
55
56 +PATCHES=(
57 + "${FILESDIR}"/${P}-pc.patch
58 + "${FILESDIR}"/${P}-pc-2.patch )
59 +
60 src_configure() {
61 # Recommended on ccp4bb/coot ML to fix crashes when calculating maps
62 # on 64-bit systems
63
64 diff --git a/sci-libs/clipper/clipper-2.1_p20130528.ebuild b/sci-libs/clipper/clipper-2.1_p20130601.ebuild
65 similarity index 100%
66 copy from sci-libs/clipper/clipper-2.1_p20130528.ebuild
67 copy to sci-libs/clipper/clipper-2.1_p20130601.ebuild
68
69 diff --git a/sci-libs/clipper/files/clipper-2.1_p20130528-pc-2.patch b/sci-libs/clipper/files/clipper-2.1_p20130528-pc-2.patch
70 new file mode 100644
71 index 0000000..ac832d1
72 --- /dev/null
73 +++ b/sci-libs/clipper/files/clipper-2.1_p20130528-pc-2.patch
74 @@ -0,0 +1,36 @@
75 + configure.ac | 22 +++++++++++-----------
76 + 1 file changed, 11 insertions(+), 11 deletions(-)
77 +
78 +diff --git a/configure.ac b/configure.ac
79 +index 7a56297..8173052 100644
80 +--- a/configure.ac
81 ++++ b/configure.ac
82 +@@ -67,17 +67,17 @@ case $host_os in
83 + ;;
84 + esac
85 +
86 +-CLIPPER_LIBS="clipper-core"
87 +-test "x$enable_contrib" != xno && CLIPPER_LIBS="clipper-contrib $CLIPPER_LIBS"
88 +-test "x$enable_phs" != xno && CLIPPER_LIBS="clipper-phs $CLIPPER_LIBS"
89 +-test "x$enable_cns" != xno && CLIPPER_LIBS="clipper-cns $CLIPPER_LIBS"
90 +-test "x$enable_mmdb" = xyes && CLIPPER_LIBS="clipper-mmdb $CLIPPER_LIBS"
91 +-test "x$enable_mmdbold" = xyes && CLIPPER_LIBS="clipper-mmdbold $CLIPPER_LIBS"
92 +-test "x$enable_minimol" = xyes && CLIPPER_LIBS="clipper-minimol $CLIPPER_LIBS"
93 +-test "x$enable_cif" = xyes && CLIPPER_LIBS="clipper-cif $CLIPPER_LIBS"
94 +-test "x$enable_ccp4" = xyes && CLIPPER_LIBS="clipper-ccp4 $CLIPPER_LIBS"
95 +-#test "x$enable_cctbx" = xyes && CLIPPER_LIBS="clipper-cctbx $CLIPPER_LIBS"
96 +-test "x$enable_fortran" = xyes && CLIPPER_LIBS="clipper-fortran $CLIPPER_LIBS"
97 ++CLIPPER_LIBS="-lclipper-core"
98 ++test "x$enable_contrib" != xno && CLIPPER_LIBS="-lclipper-contrib $CLIPPER_LIBS"
99 ++test "x$enable_phs" != xno && CLIPPER_LIBS="-lclipper-phs $CLIPPER_LIBS"
100 ++test "x$enable_cns" != xno && CLIPPER_LIBS="-lclipper-cns $CLIPPER_LIBS"
101 ++test "x$enable_mmdb" = xyes && CLIPPER_LIBS="-lclipper-mmdb $CLIPPER_LIBS"
102 ++test "x$enable_mmdbold" = xyes && CLIPPER_LIBS="-lclipper-mmdbold $CLIPPER_LIBS"
103 ++test "x$enable_minimol" = xyes && CLIPPER_LIBS="-lclipper-minimol $CLIPPER_LIBS"
104 ++test "x$enable_cif" = xyes && CLIPPER_LIBS="-lclipper-cif $CLIPPER_LIBS"
105 ++test "x$enable_ccp4" = xyes && CLIPPER_LIBS="-lclipper-ccp4 $CLIPPER_LIBS"
106 ++#test "x$enable_cctbx" = xyes && CLIPPER_LIBS="-lclipper-cctbx $CLIPPER_LIBS"
107 ++test "x$enable_fortran" = xyes && CLIPPER_LIBS="-lclipper-fortran $CLIPPER_LIBS"
108 +
109 + if test "x$enable_mmdb" = "xyes" -o "x$enable_mmdbold" = "xyes" -o \
110 + "x$enable_minimol" = "xyes" -o "x$enable_cif" = "xyes"; then
111
112 diff --git a/sci-libs/clipper/files/clipper-2.1_p20130528-pc.patch b/sci-libs/clipper/files/clipper-2.1_p20130528-pc.patch
113 new file mode 100644
114 index 0000000..086451f
115 --- /dev/null
116 +++ b/sci-libs/clipper/files/clipper-2.1_p20130528-pc.patch
117 @@ -0,0 +1,16 @@
118 + configure.ac | 2 +-
119 + 1 file changed, 1 insertion(+), 1 deletion(-)
120 +
121 +diff --git a/configure.ac b/configure.ac
122 +index 3f9096d..7a56297 100644
123 +--- a/configure.ac
124 ++++ b/configure.ac
125 +@@ -93,7 +93,7 @@ if test "x$enable_ccp4" = "xyes"; then
126 + AC_CHECK_LIB(ccp4c, ccp4_banner, :, AC_MSG_WARN(ccp4c library not found))
127 + AC_CHECK_HEADER(ccp4/ccp4_general.h, :,
128 + AC_MSG_ERROR(libccp4 headers not found))
129 +- CLIPPER_REQUIRES="ccp4c $CLIPPER_REQUIRES"
130 ++ CLIPPER_REQUIRES="libccp4c $CLIPPER_REQUIRES"
131 + fi
132 +
133 + if test "x$enable_cctbx" = "xyes"; then