public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in sci-chemistry/apbs: apbs-1.2.1b.ebuild ChangeLog
@ 2009-12-04  4:09 Markus Dittrich (markusle)
  0 siblings, 0 replies; 2+ messages in thread
From: Markus Dittrich (markusle) @ 2009-12-04  4:09 UTC (permalink / raw
  To: gentoo-commits

markusle    09/12/04 04:09:16

  Modified:             ChangeLog
  Added:                apbs-1.2.1b.ebuild
  Log:
  Version bump and fixed compilation with autoconf 2.64 (fixes bug #294453 and #295537).
  (Portage version: 2.1.7.10/cvs/Linux x86_64)

Revision  Changes    Path
1.23                 sci-chemistry/apbs/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/apbs/ChangeLog?rev=1.23&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/apbs/ChangeLog?rev=1.23&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/apbs/ChangeLog?r1=1.22&r2=1.23

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-chemistry/apbs/ChangeLog,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- ChangeLog	3 Nov 2009 05:30:06 -0000	1.22
+++ ChangeLog	4 Dec 2009 04:09:15 -0000	1.23
@@ -1,6 +1,13 @@
 # ChangeLog for sci-chemistry/apbs
 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/apbs/ChangeLog,v 1.22 2009/11/03 05:30:06 markusle Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/apbs/ChangeLog,v 1.23 2009/12/04 04:09:15 markusle Exp $
+
+*apbs-1.2.1b (04 Dec 2009)
+
+  04 Dec 2009; Markus Dittrich <markusle@gentoo.org> +apbs-1.2.1b.ebuild,
+  +files/apbs-1.2.1b-autoconf-2.64.patch:
+  Version bump and fixed compilation with autoconf 2.64 (fixes bug
+  #294453 and #295537).
 
 *apbs-1.2.0 (03 Nov 2009)
 



1.1                  sci-chemistry/apbs/apbs-1.2.1b.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/apbs/apbs-1.2.1b.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/apbs/apbs-1.2.1b.ebuild?rev=1.1&content-type=text/plain

Index: apbs-1.2.1b.ebuild
===================================================================
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/apbs/apbs-1.2.1b.ebuild,v 1.1 2009/12/04 04:09:15 markusle Exp $

EAPI="2"

inherit eutils fortran autotools python versionator flag-o-matic

MY_PV=$(get_version_component_range 1-3)
MY_P="${PN}-${MY_PV}"
S="${WORKDIR}"/"${MY_P}-source"

DESCRIPTION=" Software for evaluating the electrostatic properties of nanoscale biomolecular systems"
LICENSE="BSD"
HOMEPAGE="http://apbs.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}-source.tar.gz"

SLOT="0"
IUSE="arpack blas doc mpi python openmp"
KEYWORDS="~x86 ~amd64 ~ppc"

DEPEND="dev-libs/maloc[mpi=]
	blas? ( virtual/blas )
	python? ( dev-lang/python )
	sys-libs/readline
	arpack? ( sci-libs/arpack )
	mpi? ( virtual/mpi )"
RDEPEND="${DEPEND}"

FORTRAN="g77 gfortran ifc"

src_prepare() {
	python_version

	epatch "${FILESDIR}"/${PN}-1.2.0-install-fix.patch
	epatch "${FILESDIR}"/${PN}-1.2.0-contrib.patch
	epatch "${FILESDIR}"/${PN}-1.2.0-link.patch
	epatch "${FILESDIR}"/${P}-autoconf-2.64.patch
	sed "s:GENTOO_PKG_NAME:${PN}:g" \
	-i Makefile.am || die "Cannot correct package name"
	eautoreconf
}

src_configure() {
	local myconf="--docdir=/usr/share/doc/${PF}"
	use blas && myconf="${myconf} --with-blas=-lblas"
	use arpack && myconf="${myconf} --with-arpack=/usr/$(get_libdir)"

	# check which mpi version is installed and tell configure
	if use mpi; then
		export CC="/usr/bin/mpicc"
		export F77="/usr/bin/mpif77"

		if has_version sys-cluster/mpich; then
	 		myconf="${myconf} --with-mpich=/usr"
		elif has_version sys-cluster/mpich2; then
			myconf="${myconf} --with-mpich2=/usr"
		elif has_version sys-cluster/lam-mpi; then
			myconf="${myconf} --with-lam=/usr"
		elif has_version sys-cluster/openmpi; then
			myconf="${myconf} --with-openmpi=/usr"
		fi
	fi || die "Failed to select proper mpi implementation"

	# apbs' configure's openmp detection is broken; we'll
	# work around this until it is fixed
	if use openmp; then
		append-flags -fopenmp
	else
		myconf="${myconf} --disable-openmp"
	fi

	econf $(use_enable python) \
		--disable-maloc-rebuild \
		${myconf} || die "configure failed"
}

src_compile() {
	emake -j1 || die "make failed"
}

src_test() {
	cd examples && make test \
		|| die "Tests failed"
}

src_install() {
	emake -j1 DESTDIR="${D}" install \
		|| die "make install failed"

	dodoc AUTHORS INSTALL README NEWS ChangeLog \
		|| die "Failed to install docs"

	if use doc; then
		dohtml -r doc/* || die "Failed to install html docs"
	fi
}






^ permalink raw reply	[flat|nested] 2+ messages in thread

* [gentoo-commits] gentoo-x86 commit in sci-chemistry/apbs: apbs-1.2.1b.ebuild ChangeLog
@ 2010-02-18 22:12 Justin Lecher (jlec)
  0 siblings, 0 replies; 2+ messages in thread
From: Justin Lecher (jlec) @ 2010-02-18 22:12 UTC (permalink / raw
  To: gentoo-commits

jlec        10/02/18 22:12:17

  Modified:             apbs-1.2.1b.ebuild ChangeLog
  Log:
  EAPI=3, keyworded for {amd64,x86}-linux, made it EPREFIX aware
  (Portage version: 2.2_rc62/cvs/Linux x86_64)

Revision  Changes    Path
1.2                  sci-chemistry/apbs/apbs-1.2.1b.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/apbs/apbs-1.2.1b.ebuild?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/apbs/apbs-1.2.1b.ebuild?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/apbs/apbs-1.2.1b.ebuild?r1=1.1&r2=1.2

Index: apbs-1.2.1b.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-chemistry/apbs/apbs-1.2.1b.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- apbs-1.2.1b.ebuild	4 Dec 2009 04:09:15 -0000	1.1
+++ apbs-1.2.1b.ebuild	18 Feb 2010 22:12:17 -0000	1.2
@@ -1,8 +1,10 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/apbs/apbs-1.2.1b.ebuild,v 1.1 2009/12/04 04:09:15 markusle Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/apbs/apbs-1.2.1b.ebuild,v 1.2 2010/02/18 22:12:17 jlec Exp $
 
-EAPI="2"
+EAPI="3"
+
+PYTHON_DEPEND="2"
 
 inherit eutils fortran autotools python versionator flag-o-matic
 
@@ -17,7 +19,7 @@
 
 SLOT="0"
 IUSE="arpack blas doc mpi python openmp"
-KEYWORDS="~x86 ~amd64 ~ppc"
+KEYWORDS="~x86 ~amd64 ~ppc ~amd64-linux ~x86-linux"
 
 DEPEND="dev-libs/maloc[mpi=]
 	blas? ( virtual/blas )
@@ -30,8 +32,6 @@
 FORTRAN="g77 gfortran ifc"
 
 src_prepare() {
-	python_version
-
 	epatch "${FILESDIR}"/${PN}-1.2.0-install-fix.patch
 	epatch "${FILESDIR}"/${PN}-1.2.0-contrib.patch
 	epatch "${FILESDIR}"/${PN}-1.2.0-link.patch
@@ -42,23 +42,23 @@
 }
 
 src_configure() {
-	local myconf="--docdir=/usr/share/doc/${PF}"
+	local myconf="--docdir=${EPREFIX}/usr/share/doc/${PF}"
 	use blas && myconf="${myconf} --with-blas=-lblas"
-	use arpack && myconf="${myconf} --with-arpack=/usr/$(get_libdir)"
+	use arpack && myconf="${myconf} --with-arpack=${EPREFIX}/usr/$(get_libdir)"
 
 	# check which mpi version is installed and tell configure
 	if use mpi; then
-		export CC="/usr/bin/mpicc"
-		export F77="/usr/bin/mpif77"
+		export CC="${EPREFIX}/usr/bin/mpicc"
+		export F77="${EPREFIX}/usr/bin/mpif77"
 
 		if has_version sys-cluster/mpich; then
-	 		myconf="${myconf} --with-mpich=/usr"
+	 		myconf="${myconf} --with-mpich=${EPREFIX}/usr"
 		elif has_version sys-cluster/mpich2; then
-			myconf="${myconf} --with-mpich2=/usr"
+			myconf="${myconf} --with-mpich2=${EPREFIX}/usr"
 		elif has_version sys-cluster/lam-mpi; then
-			myconf="${myconf} --with-lam=/usr"
+			myconf="${myconf} --with-lam=${EPREFIX}/usr"
 		elif has_version sys-cluster/openmpi; then
-			myconf="${myconf} --with-openmpi=/usr"
+			myconf="${myconf} --with-openmpi=${EPREFIX}/usr"
 		fi
 	fi || die "Failed to select proper mpi implementation"
 
@@ -72,7 +72,7 @@
 
 	econf $(use_enable python) \
 		--disable-maloc-rebuild \
-		${myconf} || die "configure failed"
+		${myconf}
 }
 
 src_compile() {



1.24                 sci-chemistry/apbs/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/apbs/ChangeLog?rev=1.24&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/apbs/ChangeLog?rev=1.24&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/apbs/ChangeLog?r1=1.23&r2=1.24

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-chemistry/apbs/ChangeLog,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- ChangeLog	4 Dec 2009 04:09:15 -0000	1.23
+++ ChangeLog	18 Feb 2010 22:12:17 -0000	1.24
@@ -1,6 +1,9 @@
 # ChangeLog for sci-chemistry/apbs
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/apbs/ChangeLog,v 1.23 2009/12/04 04:09:15 markusle Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/apbs/ChangeLog,v 1.24 2010/02/18 22:12:17 jlec Exp $
+
+  18 Feb 2010; Justin Lecher (jlec) <jlec@gentoo.org> apbs-1.2.1b.ebuild:
+  EAPI=3, keyworded for {amd64,x86}-linux, made it EPREFIX aware
 
 *apbs-1.2.1b (04 Dec 2009)
 






^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-02-18 22:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-18 22:12 [gentoo-commits] gentoo-x86 commit in sci-chemistry/apbs: apbs-1.2.1b.ebuild ChangeLog Justin Lecher (jlec)
  -- strict thread matches above, loose matches on Subject: below --
2009-12-04  4:09 Markus Dittrich (markusle)

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