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 via email to