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