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