public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andrew Ammerlaan" <andrewammerlaan@riseup.net>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-physics/atompaw/
Date: Thu, 28 Jan 2021 16:08:02 +0000 (UTC)	[thread overview]
Message-ID: <1611850077.3d69c76eaed568c123088e708274d536c46e3e09.andrewammerlaan@gentoo> (raw)

commit:     3d69c76eaed568c123088e708274d536c46e3e09
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Thu Jan 28 16:07:57 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Thu Jan 28 16:07:57 2021 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=3d69c76e

sci-physics/atompaw: version bump 4.1.1.0, EAPI bump

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Manifest-Sign-Key: A19F636CD4EDBCD1
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>

 sci-physics/atompaw/atompaw-4.0.0.14.ebuild | 69 -----------------------------
 sci-physics/atompaw/atompaw-4.1.1.0.ebuild  | 58 ++++++++++++++++++++++++
 2 files changed, 58 insertions(+), 69 deletions(-)

diff --git a/sci-physics/atompaw/atompaw-4.0.0.14.ebuild b/sci-physics/atompaw/atompaw-4.0.0.14.ebuild
deleted file mode 100644
index 1e908bd96..000000000
--- a/sci-physics/atompaw/atompaw-4.0.0.14.ebuild
+++ /dev/null
@@ -1,69 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit autotools-utils eutils fortran-2 multilib toolchain-funcs
-
-DESCRIPTION="PAW atomic data generator"
-HOMEPAGE="http://www.wfu.edu/~natalie/papers/pwpaw/man.html"
-SRC_URI="
-	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 )"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="doc libxc longplot test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-	virtual/blas
-	virtual/lapack
-	libxc? ( >=sci-libs/libxc-2.0.1[fortran] )"
-DEPEND="${RDEPEND}
-	virtual/pkgconfig"
-
-DOCS=( README )
-
-FORTRAN_STANDARD=90
-
-src_unpack() {
-	unpack ${P}.tar.gz
-	if use doc; then
-		cp "${DISTDIR}"/atompaw.pdf "${DISTDIR}"/atompawEqns.pdf "${S}"/doc/ || die
-	fi
-}
-
-src_prepare() {
-	use longplot && epatch "${FILESDIR}"/4.0-longplot.patch
-}
-
-src_configure() {
-	local myeconfargs=(
-		$(use_enable libxc)
-		--with-linalg-flavor=atlas
-		--with-linalg-libs="$($(tc-getPKG_CONFIG) --libs blas lapack)"
-		--with-libxc-incs="-I/usr/include $($(tc-getPKG_CONFIG) --cflags libxc)"
-		--with-libxc-libs="$($(tc-getPKG_CONFIG) --libs libxc)"
-		FC="$(tc-getFC)" FCFLAGS="${FCFLAGS:- ${FFLAGS:- -O2}}"
-		CC="$(tc-getCC)" LDFLAGS="${LDFLAGS:- ${CFLAGS:- -O2}}"
-	)
-	autotools-utils_src_configure
-}
-
-src_compile() {
-	autotools-utils_src_compile -j1
-}
-
-src_test() {
-	use test && autotools-utils_src_test
-}
-
-src_install() {
-	autotools-utils_src_install
-
-	use doc && dodoc doc/atompaw.pdf doc/atompawEqns.pdf
-}

diff --git a/sci-physics/atompaw/atompaw-4.1.1.0.ebuild b/sci-physics/atompaw/atompaw-4.1.1.0.ebuild
new file mode 100644
index 000000000..efba86aee
--- /dev/null
+++ b/sci-physics/atompaw/atompaw-4.1.1.0.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit fortran-2 multilib toolchain-funcs
+
+DESCRIPTION="PAW atomic data generator"
+HOMEPAGE="https://users.wfu.edu/natalie/papers/pwpaw/man.html"
+SRC_URI="
+	http://users.wfu.edu/natalie/papers/pwpaw/${P}.tar.gz
+	doc? (
+		http://users.wfu.edu/natalie/papers/pwpaw/atompaw.pdf
+		http://users.wfu.edu/natalie/papers/pwpaw/notes/atompaw/atompawEqns.pdf
+)"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+IUSE="doc libxc longplot"
+
+RDEPEND="
+	virtual/blas
+	virtual/lapack
+	libxc? ( >=sci-libs/libxc-2.0.1[fortran] )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+FORTRAN_STANDARD=90
+
+src_unpack() {
+	unpack ${P}.tar.gz
+	if use doc; then
+		cp "${DISTDIR}"/atompaw.pdf "${DISTDIR}"/atompawEqns.pdf "${S}"/doc/ || die
+	fi
+}
+
+src_prepare() {
+	default
+	use longplot && eapply "${FILESDIR}"/4.0-longplot.patch
+}
+
+src_configure() {
+	econf \
+		$(use_enable libxc) \
+		--with-linalg-libs="$($(tc-getPKG_CONFIG) --libs blas lapack)" \
+		--with-libxc-incs="-I/usr/include $($(tc-getPKG_CONFIG) --cflags libxc)" \
+		--with-libxc-libs="$($(tc-getPKG_CONFIG) --libs libxc)" \
+		FC="$(tc-getFC)" FCFLAGS="${FCFLAGS:- ${FFLAGS:- -O2}}" \
+		CC="$(tc-getCC)" LDFLAGS="${LDFLAGS:- ${CFLAGS:- -O2}}"
+}
+
+src_install() {
+	default
+	dodoc doc/atompaw.pdf doc/atompawEqns.pdf
+}


             reply	other threads:[~2021-01-28 16:08 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-28 16:08 Andrew Ammerlaan [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-12-16 10:57 [gentoo-commits] proj/sci:master commit in: sci-physics/atompaw/ Andrew Ammerlaan
2021-02-01 14:52 Andrew Ammerlaan
2021-01-28 16:30 Andrew Ammerlaan
2021-01-19 17:02 Andrew Ammerlaan
2020-12-11 18:55 Aisha Tammy
2016-06-07  8:52 Honza Macháček
2013-02-22 10:15 Justin Lecher
2012-05-22 19:43 Justin Lecher
2011-06-21 11:54 Justin Lecher
2011-02-25  5:20 Honza Macháček

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1611850077.3d69c76eaed568c123088e708274d536c46e3e09.andrewammerlaan@gentoo \
    --to=andrewammerlaan@riseup.net \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox