commit:     be22c7576df2934f6777611c213755d1c4930dca
Author:     Sergey Torokhov <torokhov-s-a <AT> yandex <DOT> ru>
AuthorDate: Sun Apr 17 12:40:52 2022 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sun Apr 17 12:40:52 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=be22c757

dev-util/eclipse-parallel-bin: use mirror url for SRC_URI instead of direct url

Signed-off-by: Sergey Torokhov <torokhov-s-a <AT> yandex.ru>

 dev-util/eclipse-parallel-bin/eclipse-parallel-bin-4.22.ebuild | 6 ++++--
 dev-util/eclipse-parallel-bin/eclipse-parallel-bin-4.23.ebuild | 6 ++++--
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/dev-util/eclipse-parallel-bin/eclipse-parallel-bin-4.22.ebuild 
b/dev-util/eclipse-parallel-bin/eclipse-parallel-bin-4.22.ebuild
index 6c8bff73d..4be4eadc7 100644
--- a/dev-util/eclipse-parallel-bin/eclipse-parallel-bin-4.22.ebuild
+++ b/dev-util/eclipse-parallel-bin/eclipse-parallel-bin-4.22.ebuild
@@ -7,11 +7,13 @@ inherit desktop wrapper xdg
 
 MY_PN="eclipse"
 MY_PV="2021-12"
+SRC_BASE="https://www.eclipse.org/downloads/download.php?r=1&file=/technology/epp/downloads/release/${MY_PV}/R/eclipse-parallel-${MY_PV}-R-linux-gtk";
+
 DESCRIPTION="Eclipse IDE for Scientific Computing (C, C++, Fortran)"
 HOMEPAGE="https://www.eclipse.org/";
 SRC_URI="
-       amd64? ( 
https://download.eclipse.org/technology/epp/downloads/release/${MY_PV}/R/eclipse-parallel-${MY_PV}-R-linux-gtk-x86_64.tar.gz
 )
-       arm64? ( 
https://download.eclipse.org/technology/epp/downloads/release/${MY_PV}/R/eclipse-parallel-${MY_PV}-R-linux-gtk-aarch64.tar.gz
 )
+       amd64? ( ${SRC_BASE}-x86_64.tar.gz )
+       arm64? ( ${SRC_BASE}-aarch64.tar.gz )
 "
 
 S="${WORKDIR}/${MY_PN}"

diff --git a/dev-util/eclipse-parallel-bin/eclipse-parallel-bin-4.23.ebuild 
b/dev-util/eclipse-parallel-bin/eclipse-parallel-bin-4.23.ebuild
index 7df5276ae..0a96782e5 100644
--- a/dev-util/eclipse-parallel-bin/eclipse-parallel-bin-4.23.ebuild
+++ b/dev-util/eclipse-parallel-bin/eclipse-parallel-bin-4.23.ebuild
@@ -7,11 +7,13 @@ inherit desktop wrapper xdg
 
 MY_PN="eclipse"
 MY_PV="2022-03"
+SRC_BASE="https://www.eclipse.org/downloads/download.php?r=1&file=/technology/epp/downloads/release/${MY_PV}/R/eclipse-parallel-${MY_PV}-R-linux-gtk";
+
 DESCRIPTION="Eclipse IDE for Scientific Computing (C, C++, Fortran)"
 HOMEPAGE="https://www.eclipse.org/";
 SRC_URI="
-       amd64? ( 
https://download.eclipse.org/technology/epp/downloads/release/${MY_PV}/R/eclipse-parallel-${MY_PV}-R-linux-gtk-x86_64.tar.gz
 )
-       arm64? ( 
https://download.eclipse.org/technology/epp/downloads/release/${MY_PV}/R/eclipse-parallel-${MY_PV}-R-linux-gtk-aarch64.tar.gz
 )
+       amd64? ( ${SRC_BASE}-x86_64.tar.gz )
+       arm64? ( ${SRC_BASE}-aarch64.tar.gz )
 "
 
 S="${WORKDIR}/${MY_PN}"

Reply via email to