public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in sci-chemistry/psi: ChangeLog psi-3.4.0-r1.ebuild psi-3.4.0.ebuild
@ 2010-07-06 11:36 Justin Lecher (jlec)
  0 siblings, 0 replies; only message in thread
From: Justin Lecher (jlec) @ 2010-07-06 11:36 UTC (permalink / raw
  To: gentoo-commits

jlec        10/07/06 11:36:22

  Modified:             ChangeLog
  Added:                psi-3.4.0-r1.ebuild
  Removed:              psi-3.4.0.ebuild
  Log:
  Prll build fix, sanbox violation fix, #326185, LDFLAGS respected, thanks to Xarthisius providing again an exelent patch set to fix science stuff!
  (Portage version: 2.2_rc67/cvs/Linux x86_64)

Revision  Changes    Path
1.13                 sci-chemistry/psi/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/psi/ChangeLog?rev=1.13&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/psi/ChangeLog?rev=1.13&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/psi/ChangeLog?r1=1.12&r2=1.13

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-chemistry/psi/ChangeLog,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- ChangeLog	24 Jun 2010 21:08:01 -0000	1.12
+++ ChangeLog	6 Jul 2010 11:36:22 -0000	1.13
@@ -1,6 +1,14 @@
 # ChangeLog for sci-chemistry/psi
 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/psi/ChangeLog,v 1.12 2010/06/24 21:08:01 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/psi/ChangeLog,v 1.13 2010/07/06 11:36:22 jlec Exp $
+
+*psi-3.4.0-r1 (06 Jul 2010)
+
+  06 Jul 2010; Justin Lecher <jlec@gentoo.org> +files/3.4.0-ldflags.patch,
+  -psi-3.4.0.ebuild, +files/3.4.0-man_paths.patch,
+  +files/3.4.0-parallel_fix.patch, +psi-3.4.0-r1.ebuild:
+  Prll build fix, sanbox violation fix, #326185, LDFLAGS respected, thanks
+  to Xarthisius providing the patches
 
 *psi-3.4.0 (24 Jun 2010)
 



1.1                  sci-chemistry/psi/psi-3.4.0-r1.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/psi/psi-3.4.0-r1.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/psi/psi-3.4.0-r1.ebuild?rev=1.1&content-type=text/plain

Index: psi-3.4.0-r1.ebuild
===================================================================
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/psi/psi-3.4.0-r1.ebuild,v 1.1 2010/07/06 11:36:22 jlec Exp $

EAPI="3"

inherit autotools eutils

DESCRIPTION="Suite of ab initio quantum chemistry programs to compute various molecular properties"
HOMEPAGE="http://www.psicode.org/"
SRC_URI="mirror://sourceforge/psicode/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"

# File collision, see bug #249423
RDEPEND="
	!sci-visualization/extrema
	virtual/blas
	virtual/lapack
	>=sci-libs/libint-1.1.4"
DEPEND="${RDEPEND}
	test? ( dev-lang/perl )"

S="${WORKDIR}/${PN}${PV:0:1}"

src_prepare() {
	epatch "${FILESDIR}"/${PV}-dont-build-libint.patch \
		"${FILESDIR}"/use-external-libint.patch \
		"${FILESDIR}"/${PV}-gcc-4.3.patch \
		"${FILESDIR}"/${PV}-destdir.patch \
		"${FILESDIR}"/${P}-parallel-make.patch \
		"${FILESDIR}"/${PV}-man_paths.patch \
		"${FILESDIR}"/${PV}-ldflags.patch \
		"${FILESDIR}"/${PV}-parallel_fix.patch

	# Broken test
	sed \
		-e 's:scf-mvd-opt ::g' \
		-e 's:scf-mvd-opt-puream ::g' \
		-i tests/Makefile.in || die

	sed \
		-e "/LIBPATTERNS/d" \
		-i src/{bin,util,samples}/MakeVars.in || die
	eautoreconf
}

src_configure() {
	# This variable gets set sometimes to /usr/lib/src and breaks stuff
	unset CLIBS

	econf \
		--with-opt="${CXXFLAGS}" \
		--datadir="${EPREFIX}"/usr/share/${PN} \
		--with-blas="$(pkg-config blas --libs)"
}

src_compile() {
	emake SCRATCH="${WORKDIR}/libint" DODEPEND="no" || die
}

src_test() {
	emake EXECDIR="${S}"/bin TESTFLAGS="" -j1 tests || die
}

src_install() {
	emake DESTDIR="${D}" DODEPEND="no" install || die
}






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-07-06 11:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-06 11:36 [gentoo-commits] gentoo-x86 commit in sci-chemistry/psi: ChangeLog psi-3.4.0-r1.ebuild psi-3.4.0.ebuild Justin Lecher (jlec)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox