Gentoo Archives: gentoo-commits

From: "Justin Lecher (jlec)" <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-chemistry/refmac: refmac-5.6.0102.ebuild ChangeLog
Date: Fri, 28 Jan 2011 15:39:44
Message-Id: 20110128153911.4BB4520057@flycatcher.gentoo.org
1 jlec 11/01/28 15:39:11
2
3 Modified: ChangeLog
4 Added: refmac-5.6.0102.ebuild
5 Log:
6 Version Bump
7
8 (Portage version: 2.2.0_alpha19/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.41 sci-chemistry/refmac/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/refmac/ChangeLog?rev=1.41&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/refmac/ChangeLog?rev=1.41&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/refmac/ChangeLog?r1=1.40&r2=1.41
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sci-chemistry/refmac/ChangeLog,v
20 retrieving revision 1.40
21 retrieving revision 1.41
22 diff -u -r1.40 -r1.41
23 --- ChangeLog 20 Jan 2011 12:12:25 -0000 1.40
24 +++ ChangeLog 28 Jan 2011 15:39:11 -0000 1.41
25 @@ -1,6 +1,12 @@
26 # ChangeLog for sci-chemistry/refmac
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/refmac/ChangeLog,v 1.40 2011/01/20 12:12:25 hwoarang Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/refmac/ChangeLog,v 1.41 2011/01/28 15:39:11 jlec Exp $
30 +
31 +*refmac-5.6.0102 (28 Jan 2011)
32 +
33 + 28 Jan 2011; Justin Lecher <jlec@g.o>
34 + +files/5.6.0102-allow-dynamic-linking.patch, +refmac-5.6.0102.ebuild:
35 + Version Bump
36
37 20 Jan 2011; Markos Chandras <hwoarang@g.o> refmac-5.5.0110-r2.ebuild:
38 Stable on amd64 wrt bug #349587
39
40
41
42 1.1 sci-chemistry/refmac/refmac-5.6.0102.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/refmac/refmac-5.6.0102.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/refmac/refmac-5.6.0102.ebuild?rev=1.1&content-type=text/plain
46
47 Index: refmac-5.6.0102.ebuild
48 ===================================================================
49 # Copyright 1999-2011 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/sci-chemistry/refmac/refmac-5.6.0102.ebuild,v 1.1 2011/01/28 15:39:11 jlec Exp $
52
53 EAPI="2"
54
55 inherit base toolchain-funcs versionator
56
57 MY_PV="$(get_version_component_range 1-2)_source_v${PV}"
58
59 DESCRIPTION="Macromolecular crystallographic refinement program"
60 HOMEPAGE="http://www.ysbl.york.ac.uk/~garib/refmac"
61 SRC_URI="
62 ${HOMEPAGE}/data/refmac_experimental/${PN}${MY_PV}.tar.gz
63 test? ( http://dev.gentooexperimental.org/~jlec/distfiles/test-framework.tar.gz )"
64
65 SLOT="0"
66 LICENSE="ccp4"
67 KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
68 IUSE="test"
69
70 RDEPEND="
71 >=sci-libs/ccp4-libs-6.1.3-r7
72 sci-libs/mmdb
73 >sci-libs/monomer-db-1
74 virtual/blas
75 virtual/lapack"
76 DEPEND="${RDEPEND}"
77
78 S="${WORKDIR}"
79
80 PATCHES=(
81 "${FILESDIR}"/${PV}-allow-dynamic-linking.patch
82 )
83
84 src_prepare() {
85 base_src_prepare
86 use test && epatch "${FILESDIR}"/5.5-test.log.patch
87 }
88
89 src_compile() {
90 emake \
91 FC=$(tc-getFC) \
92 CC=$(tc-getCC) \
93 CXX=$(tc-getCXX) \
94 COPTIM="${CFLAGS}" \
95 FOPTIM="${FFLAGS:- -O2}" \
96 VERSION="" \
97 XFFLAGS="-fno-second-underscore" \
98 LLIBCCP="-lccp4f -lccp4c -lccif -lmmdb -lstdc++" \
99 LLIBLAPACK="$(pkg-config --libs lapack blas)" \
100 || die
101 }
102
103 src_test() {
104 einfo "Starting tests ..."
105 source "${EPREFIX}/etc/profile.d/40ccp4.setup.sh"
106 export PATH="${WORKDIR}/test-framework/scripts:${S}:${PATH}"
107 export CCP4_TEST="${WORKDIR}"/test-framework
108 export CCP4_SCR="${T}"
109 ln -sf refmac "${S}"/refmac5
110 sed '/^ANISOU/d' -i ${CCP4_TEST}/data/pdb/1vr7.pdb
111 ccp4-run-thorough-tests -v test_refmac5 || die
112 }
113
114 src_install() {
115 for i in refmac libcheck FreeTwin header2matr; do
116 exeinto /usr/libexec/ccp4/bin/
117 doexe ${i} || die
118 dosym ../libexec/ccp4/bin/${i} /usr/bin/${i}
119 done
120 dosym refmac /usr/bin/refmac5 || die
121 }