commit:     6f9c02d77df1ceab6a826603ee3d86914842c387
Author:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 10 13:37:32 2023 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Fri Feb 10 13:37:32 2023 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=6f9c02d7

sci-libs/etsf_io: fix static uri

Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 sci-libs/etsf_io/etsf_io-1.0.4-r2.ebuild | 2 +-
 sci-libs/etsf_io/metadata.xml            | 4 ++++
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/sci-libs/etsf_io/etsf_io-1.0.4-r2.ebuild 
b/sci-libs/etsf_io/etsf_io-1.0.4-r2.ebuild
index 5216809ec..3961e4951 100644
--- a/sci-libs/etsf_io/etsf_io-1.0.4-r2.ebuild
+++ b/sci-libs/etsf_io/etsf_io-1.0.4-r2.ebuild
@@ -7,7 +7,7 @@ inherit fortran-2
 
 DESCRIPTION="A library of F90 routines to read/write the ETSF file format"
 HOMEPAGE="https://github.com/ElectronicStructureLibrary/libetsf_io";
-SRC_URI="https://launchpad.net/etsf-io/1.0/${PV}/+download/${P}.tar.gz";
+SRC_URI="https://launchpad.net/etsf-io/$(ver_cut 
1-2)/${PV}/+download/${P}.tar.gz"
 
 LICENSE="LGPL-2"
 SLOT="0"

diff --git a/sci-libs/etsf_io/metadata.xml b/sci-libs/etsf_io/metadata.xml
index 5c8a3611e..d8e7a0e60 100644
--- a/sci-libs/etsf_io/metadata.xml
+++ b/sci-libs/etsf_io/metadata.xml
@@ -7,4 +7,8 @@
        <use>
                <flag name="pic">Compile Position Independent Code</flag>
        </use>
+       <upstream>
+               <remote-id 
type="github">ElectronicStructureLibrary/libetsf_io</remote-id>
+               <remote-id type="launchpad">etsf-io</remote-id>
+       </upstream>
 </pkgmetadata>

Reply via email to