From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1SWv0X-0005ab-Ie for garchives@archives.gentoo.org; Tue, 22 May 2012 19:44:37 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9DC3AE0773; Tue, 22 May 2012 19:43:30 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 5813BE0773 for ; Tue, 22 May 2012 19:43:20 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8D02D1B4020 for ; Tue, 22 May 2012 19:43:19 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 23C30E5436 for ; Tue, 22 May 2012 19:43:17 +0000 (UTC) From: "Justin Lecher" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Justin Lecher" Message-ID: <1337715251.f48f4b207648fb7f889b9d5b2d95003e214c3689.jlec@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: sci-physics/atompaw/ X-VCS-Repository: proj/sci X-VCS-Files: sci-physics/atompaw/ChangeLog sci-physics/atompaw/atompaw-3.0.1.3.ebuild sci-physics/atompaw/atompaw-3.0.1.4.ebuild sci-physics/atompaw/metadata.xml X-VCS-Directories: sci-physics/atompaw/ X-VCS-Committer: jlec X-VCS-Committer-Name: Justin Lecher X-VCS-Revision: f48f4b207648fb7f889b9d5b2d95003e214c3689 X-VCS-Branch: master Date: Tue, 22 May 2012 19:43:17 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: c6dcd168-99d7-473f-8162-86a52298edb6 X-Archives-Hash: 36e925c30dfdf4ef1c6dd4033869e715 commit: f48f4b207648fb7f889b9d5b2d95003e214c3689 Author: Justin Lecher gentoo org> AuthorDate: Tue May 22 19:34:11 2012 +0000 Commit: Justin Lecher gentoo org> CommitDate: Tue May 22 19:34:11 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/sci.git;a=3Dc= ommit;h=3Df48f4b20 sci-physics/atompaw: Add missing eutils.eclass, bump to EAPI=3D4, remove = unnecessary bits (Portage version: 2.2.0_alpha107/git/Linux x86_64, unsigned Manifest comm= it) --- sci-physics/atompaw/ChangeLog | 4 ++ sci-physics/atompaw/atompaw-3.0.1.3.ebuild | 68 ----------------------= ------ sci-physics/atompaw/atompaw-3.0.1.4.ebuild | 22 +++++----- sci-physics/atompaw/metadata.xml | 12 +++-- 4 files changed, 22 insertions(+), 84 deletions(-) diff --git a/sci-physics/atompaw/ChangeLog b/sci-physics/atompaw/ChangeLo= g index 4b4190a..91aeda8 100644 --- a/sci-physics/atompaw/ChangeLog +++ b/sci-physics/atompaw/ChangeLog @@ -2,6 +2,10 @@ # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ =20 + 22 May 2012; Justin Lecher -atompaw-3.0.1.3.ebuild, + atompaw-3.0.1.4.ebuild, metadata.xml: + Add missing eutils.eclass, bump to EAPI=3D4, remove unnecessary bits + *atompaw-3.0.1.4 (18 Apr 2012) =20 18 Apr 2012; Honza Mach=C3=A1=C4=8Dek diff --git a/sci-physics/atompaw/atompaw-3.0.1.3.ebuild b/sci-physics/ato= mpaw/atompaw-3.0.1.3.ebuild deleted file mode 100644 index 1b26df1..0000000 --- a/sci-physics/atompaw/atompaw-3.0.1.3.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=3D3 - -inherit eutils fortran-2 multilib toolchain-funcs - -DESCRIPTION=3D"PAW atomic data generator" -HOMEPAGE=3D"http://www.wfu.edu/~natalie/papers/pwpaw/man.html" -SRC_URI=3D"http://www.wfu.edu/~natalie/papers/pwpaw/${P}.tar.gz - doc? ( http://www.wfu.edu/~natalie/papers/pwpaw/atompaw.pdf - http://www.wfu.edu/~natalie/papers/pwpaw/atompaw-usersguide.pdf - http://www.wfu.edu/~natalie/papers/pwpaw/notes/atompaw/atompawEqns.pdf= )" - -LICENSE=3D"GPL-2" -SLOT=3D"0" -KEYWORDS=3D"~amd64 ~x86" -IUSE=3D"doc libxc" - -RDEPEND=3D"virtual/lapack - virtual/blas - libxc? ( sci-libs/libxc[fortran] )" -DEPEND=3D"${RDEPEND} - dev-util/pkgconfig" - -src_unpack() { - unpack ${P}.tar.gz - if use doc; then - cp "${DISTDIR}"/atompaw.pdf "${S}"/ - cp "${DISTDIR}"/atompaw-usersguide.pdf "${S}"/ - cp "${DISTDIR}"/atompawEqns.pdf "${S}"/ - fi -} - -src_prepare() { - cd ${S} - epatch ${FILESDIR}/3.0.1-longplot.patch =20 -} - -src_configure() { - local modules=3D"-I/usr/$(get_libdir)/finclude" - econf $(use_enable libxc) \ - --with-linalg-flavor=3Datlas \ - --with-linalg-libs=3D"$(pkg-config --libs lapack)" \ - --with-libxc-incs=3D"${modules}" \ - --with-libxc-libs=3D"${libs} -lxc" \ - FC=3D"$(tc-getFC)" FCFLAGS=3D"${FCFLAGS:- ${FFLAGS:- -O2}}" \ - CC=3D"$(tc-getCC)" LDFLAGS=3D"${LDFLAGS:- ${CFLAGS:- -O2}}" -} - -src_compile() { - emake -j1 || die "Make failed" -} - -src_test() { - emake check || die "Test failed" -} - -src_install() { - emake DESTDIR=3D"${D}" install || die "make install failed" - - dodoc README || die "dodoc failed" - - if use doc; then - dodoc atompaw.pdf atompaw-usersguide.pdf atompawEqns.pdf || die "PDF d= oc failed" - fi -} diff --git a/sci-physics/atompaw/atompaw-3.0.1.4.ebuild b/sci-physics/ato= mpaw/atompaw-3.0.1.4.ebuild index 3e7a2d9..c9e0cfc 100644 --- a/sci-physics/atompaw/atompaw-3.0.1.4.ebuild +++ b/sci-physics/atompaw/atompaw-3.0.1.4.ebuild @@ -4,12 +4,14 @@ =20 EAPI=3D4 =20 -inherit autotools-utils fortran-2 multilib toolchain-funcs +inherit autotools-utils eutils fortran-2 multilib toolchain-funcs =20 DESCRIPTION=3D"PAW atomic data generator" HOMEPAGE=3D"http://www.wfu.edu/~natalie/papers/pwpaw/man.html" -SRC_URI=3D"http://www.wfu.edu/~natalie/papers/pwpaw/${P}.tar.gz - doc? ( http://www.wfu.edu/~natalie/papers/pwpaw/atompaw.pdf +SRC_URI=3D" + http://www.wfu.edu/~natalie/papers/pwpaw/${P}.tar.gz + doc? ( + http://www.wfu.edu/~natalie/papers/pwpaw/atompaw.pdf http://www.wfu.edu/~natalie/papers/pwpaw/notes/atompaw/atompawEqns.pdf= )" =20 LICENSE=3D"GPL-2" @@ -17,26 +19,26 @@ SLOT=3D"0" KEYWORDS=3D"~amd64 ~x86" IUSE=3D"doc libxc" =20 -RDEPEND=3D"virtual/lapack +RDEPEND=3D" virtual/blas + virtual/lapack libxc? ( sci-libs/libxc[fortran] )" DEPEND=3D"${RDEPEND} dev-util/pkgconfig" =20 -DOCS=3D( README ) +DOCS=3D( README ) =20 FORTRAN_STANDARD=3D90 =20 src_unpack() { unpack ${P}.tar.gz if use doc; then - cp "${DISTDIR}"/atompaw.pdf "${S}"/doc/ - cp "${DISTDIR}"/atompawEqns.pdf "${S}"/doc/ + cp "${DISTDIR}"/atompaw.pdf "${DISTDIR}"/atompawEqns.pdf "${S}"/doc/ |= | die fi } =20 src_prepare() { - epatch ${FILESDIR}/3.0.1-longplot.patch + epatch "${FILESDIR}"/3.0.1-longplot.patch } =20 src_configure() { @@ -64,7 +66,5 @@ src_test() { src_install() { autotools-utils_src_install =20 - if use doc; then - dodoc doc/atompaw.pdf doc/atompawEqns.pdf || die "PDF doc failed" - fi + use doc && dodoc doc/atompaw.pdf doc/atompawEqns.pdf } diff --git a/sci-physics/atompaw/metadata.xml b/sci-physics/atompaw/metad= ata.xml index a38eb47..6969910 100644 --- a/sci-physics/atompaw/metadata.xml +++ b/sci-physics/atompaw/metadata.xml @@ -1,9 +1,11 @@ -sci-physics - - sci@gentoo.org - -Use libxc for something + sci-physics + + sci@gentoo.org + + + Use libxc for something +