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/psi: ChangeLog psi-3.4.0.ebuild
Date: Thu, 24 Jun 2010 21:08:06
Message-Id: 20100624210801.AF07F2CF4D@corvid.gentoo.org
1 jlec 10/06/24 21:08:01
2
3 Modified: ChangeLog
4 Added: psi-3.4.0.ebuild
5 Log:
6 Version Bump, #279566
7 (Portage version: 2.2_rc67/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.12 sci-chemistry/psi/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/psi/ChangeLog?rev=1.12&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/psi/ChangeLog?rev=1.12&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/psi/ChangeLog?r1=1.11&r2=1.12
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sci-chemistry/psi/ChangeLog,v
19 retrieving revision 1.11
20 retrieving revision 1.12
21 diff -u -r1.11 -r1.12
22 --- ChangeLog 26 Feb 2010 02:44:04 -0000 1.11
23 +++ ChangeLog 24 Jun 2010 21:08:01 -0000 1.12
24 @@ -1,6 +1,13 @@
25 # ChangeLog for sci-chemistry/psi
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/psi/ChangeLog,v 1.11 2010/02/26 02:44:04 markusle Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/psi/ChangeLog,v 1.12 2010/06/24 21:08:01 jlec Exp $
29 +
30 +*psi-3.4.0 (24 Jun 2010)
31 +
32 + 24 Jun 2010; Justin Lecher <jlec@g.o> +files/3.4.0-destdir.patch,
33 + +psi-3.4.0.ebuild, +files/psi-3.4.0-parallel-make.patch,
34 + +files/3.4.0-dont-build-libint.patch, +files/3.4.0-gcc-4.3.patch:
35 + Version Bump, #279566
36
37 26 Feb 2010; Markus Dittrich <markusle@g.o> psi-3.2.3.ebuild:
38 Fixed some QA issues.
39
40
41
42 1.1 sci-chemistry/psi/psi-3.4.0.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/psi/psi-3.4.0.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/psi/psi-3.4.0.ebuild?rev=1.1&content-type=text/plain
46
47 Index: psi-3.4.0.ebuild
48 ===================================================================
49 # Copyright 1999-2010 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/sci-chemistry/psi/psi-3.4.0.ebuild,v 1.1 2010/06/24 21:08:01 jlec Exp $
52
53 EAPI="3"
54
55 inherit autotools eutils
56
57 DESCRIPTION="Suite of ab initio quantum chemistry programs to compute various molecular properties"
58 HOMEPAGE="http://www.psicode.org/"
59 SRC_URI="mirror://sourceforge/psicode/${P}.tar.gz"
60
61 LICENSE="GPL-2"
62 SLOT="0"
63 KEYWORDS="~amd64 ~x86"
64 IUSE="test"
65
66 # File collision, see bug #249423
67 RDEPEND="
68 !sci-visualization/extrema
69 virtual/blas
70 virtual/lapack
71 >=sci-libs/libint-1.1.4"
72 DEPEND="${RDEPEND}
73 test? ( dev-lang/perl )"
74
75 S="${WORKDIR}/${PN}${PV:0:1}"
76
77 src_prepare() {
78 epatch "${FILESDIR}"/${PV}-dont-build-libint.patch
79 epatch "${FILESDIR}"/use-external-libint.patch
80 epatch "${FILESDIR}"/${PV}-gcc-4.3.patch
81 epatch "${FILESDIR}"/${PV}-destdir.patch
82 epatch "${FILESDIR}"/${P}-parallel-make.patch
83 sed "s:^LDFLAGS=:LDFLAGS=${LDFLAGS}:g" -i configure.ac || die
84 # Broken test
85 sed \
86 -e 's:scf-mvd-opt ::g' \
87 -e 's:scf-mvd-opt-puream ::g' \
88 -i tests/Makefile.in || die
89 eautoreconf
90 }
91
92 src_configure() {
93 # This variable gets set sometimes to /usr/lib/src and breaks stuff
94 unset CLIBS
95
96 econf \
97 --with-opt="${CFLAGS}" \
98 --datadir="${EPREFIX}"/usr/share/${PN} \
99 --with-blas="$(pkg-config blas --libs)"
100 }
101
102 src_compile() {
103 emake -j1 \
104 SCRATCH="${WORKDIR}/libint" \
105 || die "make failed"
106 }
107
108 src_test() {
109 emake \
110 EXECDIR="${S}"/bin \
111 TESTFLAGS="" \
112 -j1 tests || die
113 }
114
115 src_install() {
116 emake -j1 \
117 DESTDIR="${D}" \
118 install || die "install failed"
119 }