commit:     31ef7254d49393b86db8c1cd526b3f044a59bedb
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Mon Jan 18 10:41:05 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Mon Jan 18 10:41:05 2021 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=31ef7254

sci-libs/etsf_io: fix fetch

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>

 sci-libs/etsf_io/etsf_io-1.0.3-r2.ebuild           | 35 ----------------------
 ..._io-1.0.4-r1.ebuild => etsf_io-1.0.4-r2.ebuild} | 15 +++++-----
 2 files changed, 7 insertions(+), 43 deletions(-)

diff --git a/sci-libs/etsf_io/etsf_io-1.0.3-r2.ebuild 
b/sci-libs/etsf_io/etsf_io-1.0.3-r2.ebuild
deleted file mode 100644
index b8ba5e59f..000000000
--- a/sci-libs/etsf_io/etsf_io-1.0.3-r2.ebuild
+++ /dev/null
@@ -1,35 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit fortran-2 multilib
-
-DESCRIPTION="A library of F90 routines to read/write the ETSF file format"
-HOMEPAGE="https://www.etsf.eu/resources/software/libraries_and_tools/";
-SRC_URI="https://www.etsf.eu/sites/default/files/${P}.tar.gz -> ${P}.tar"
-
-LICENSE="LGPL-2"
-SLOT="0"
-IUSE="examples"
-KEYWORDS="~amd64 ~x86"
-
-RDEPEND="
-       || (
-               sci-libs/netcdf[fortran]
-               sci-libs/netcdf-fortran
-       )
-       virtual/fortran"
-DEPEND="${RDEPEND}"
-
-FORTRAN_STANDARD="90"
-
-src_configure() {
-       # fortran 90 uses FCFLAGS
-       export FCFLAGS="${FFLAGS:--O2}"
-       econf \
-               $(use_enable examples build-tutorials) \
-               --prefix="${EPREFIX}/usr" \
-               --with-netcdf-ldflags="-L${EPREFIX}/usr/$(get_libdir) 
-lnetcdff" \
-               --with-moduledir="${EPREFIX}/usr/include"
-}

diff --git a/sci-libs/etsf_io/etsf_io-1.0.4-r1.ebuild 
b/sci-libs/etsf_io/etsf_io-1.0.4-r2.ebuild
similarity index 75%
rename from sci-libs/etsf_io/etsf_io-1.0.4-r1.ebuild
rename to sci-libs/etsf_io/etsf_io-1.0.4-r2.ebuild
index fc0321a69..de6c785f8 100644
--- a/sci-libs/etsf_io/etsf_io-1.0.4-r1.ebuild
+++ b/sci-libs/etsf_io/etsf_io-1.0.4-r2.ebuild
@@ -1,24 +1,23 @@
 # Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=7
 
 inherit fortran-2 multilib
 
 DESCRIPTION="A library of F90 routines to read/write the ETSF file format"
-HOMEPAGE="https://www.etsf.eu/resources/software/libraries_and_tools/";
-SRC_URI="https://www.etsf.eu/system/files/${P}.tar.gz";
+HOMEPAGE="https://github.com/ElectronicStructureLibrary/libetsf_io";
+SRC_URI="https://launchpad.net/etsf-io/1.0/${PV}/+download/${P}.tar.gz";
 
 LICENSE="LGPL-2"
 SLOT="0"
-IUSE="examples pic"
 KEYWORDS="~amd64 ~x86"
 
+IUSE="examples pic"
+RESTRICT="test"
+
 RDEPEND="
-       || (
-               sci-libs/netcdf[fortran]
-               sci-libs/netcdf-fortran
-       )
+       sci-libs/netcdf-fortran
        virtual/fortran"
 DEPEND="${RDEPEND}"
 

Reply via email to