diff options
author | Andrew Ammerlaan <andrewammerlaan@riseup.net> | 2021-01-28 17:07:57 +0100 |
---|---|---|
committer | Andrew Ammerlaan <andrewammerlaan@riseup.net> | 2021-01-28 17:07:57 +0100 |
commit | 3d69c76eaed568c123088e708274d536c46e3e09 (patch) | |
tree | df0ed1c5fb552c0d7ec1ddff6c2df5ed1f3bc8bb /sci-physics/atompaw | |
parent | sci-chemistry/freeon: EAPI bump, autotools-utils --> cmake (diff) | |
download | sci-3d69c76eaed568c123088e708274d536c46e3e09.tar.gz sci-3d69c76eaed568c123088e708274d536c46e3e09.tar.bz2 sci-3d69c76eaed568c123088e708274d536c46e3e09.zip |
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@riseup.net>
Diffstat (limited to 'sci-physics/atompaw')
-rw-r--r-- | sci-physics/atompaw/Manifest | 16 | ||||
-rw-r--r-- | sci-physics/atompaw/atompaw-4.0.0.14.ebuild | 69 | ||||
-rw-r--r-- | sci-physics/atompaw/atompaw-4.1.1.0.ebuild | 58 |
3 files changed, 73 insertions, 70 deletions
diff --git a/sci-physics/atompaw/Manifest b/sci-physics/atompaw/Manifest index e62d30513..fb0e3ecf6 100644 --- a/sci-physics/atompaw/Manifest +++ b/sci-physics/atompaw/Manifest @@ -1,3 +1,17 @@ -DIST atompaw-4.0.0.14.tar.gz 5616545 BLAKE2B ac929050cfe203be7f9dcc28ef355fac642ae18e64cf0146886abeee629381d389699a69528a1dbe2356a616e750b1707220b9273f7b52fb41b816561807a937 SHA512 2df089ffa5c76cfc9dddfc4a40ec4e347ef05e2f65c757cebde549be28e98ffcbcffbf528d36e6a11fad20cb26edda65694857d8a51e8433fe78596038c45c71 +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + +DIST atompaw-4.1.1.0.tar.gz 5675066 BLAKE2B 8c2f46538c89b4a01c17f928c599042d6db986841e3d443db2f94652dc02ddff82540ae486846c9714ea05c55f30c53db275bea5bbe622bb06f6225e49817153 SHA512 cb0569af1aa89973efd5c59c4ec3c5ce23850e42c8fa78d2037dc121ca77be928fb24f8513b75854bc45714d45155d236fe86b9075f81f9927ec15c127b6e969 DIST atompaw.pdf 334715 BLAKE2B 80005a0a6808a645ea975cdb7289d5438c6347eaec227f56c1e4f39833b8de931eaef8cac9d55d3f819bcd473bd24178a9a8597b4ba8173ef1925e710cbc43df SHA512 287f521a10b144bf8c6f59f21a025a8b1e0f6a23d576abe347be8fd41f8577dec0febd289618384d6e7796f0f68bfb41672c9d6d7bf1658f245cff20463ffff7 DIST atompawEqns.pdf 198480 BLAKE2B fe4ad827ae1cc34724c9fdab5785521f231f6ba0b0ea3066c4a1fc403bcdf87463ebf3315c653088c701de5f0e5542187d4284a874627f2e99456757e04f12ed SHA512 e0b7fcbce906ceda953e000378786d3b679b68a5dd3d1a53b8d41a61e80bfa5a83fa04a6b8945b274ffe351491bffe3bdd801937f1b838f90b21e462fb09b9e9 +-----BEGIN PGP SIGNATURE----- + +iQEzBAEBCAAdFiEEBv9TQb2AXbC8fQemoZ9jbNTtvNEFAmAS4VUACgkQoZ9jbNTt +vNGDtggAtYJOvbM+IFPe5fwTRXSXtoQ5C9Gehk9NxVRlaBCzmqBLNp8y2103LzBL +1wm/VUZP1KTrxQJOV6rza7TfxO/Kj/4BUk8im4AGTwJC30KbJNfHpo46wR6Sio6W +j/oPjcRFXB99CJlbCI1wNnwTZ0ZQR5N3OY2Saq2pQvcrYvy97KsGTgs8Y+ziNCT/ +vJ6FFHonzcGph8gwzZI/Ug5nRfPTbVmBp0Ean22OowTlYzNuWnFBewMR/tLrATip +ZlVTVFQW8wKxB1/N4YO1xT5hy4o1GgWLWiMmVpnVt5UADwkcikhw+iAjfR5l8lVj +9uqgQSLU3Gix2V0GHT9HABb5s659lQ== +=Zogp +-----END PGP SIGNATURE----- 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 +} |