Mailing List Archive

[PATCH 1/2] ruby-ng-gnome2.eclass: inline mirror://sourceforge
Hi all,

the following patch is part of a tree-wide effort to inline
mirror://sourceforge (https://github.com/gentoo/gentoo/pull/36198).

The entry in thirdpartymirrors adds a pointless level of indirection,
since sourceforge provides a bouncer service already.

Signed-off-by: Lucio Sauer <watermanpaint@posteo.net>
---
eclass/ruby-ng-gnome2.eclass | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/eclass/ruby-ng-gnome2.eclass b/eclass/ruby-ng-gnome2.eclass
index e6636811aacc..e10f1e625993 100644
--- a/eclass/ruby-ng-gnome2.eclass
+++ b/eclass/ruby-ng-gnome2.eclass
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

# @ECLASS: ruby-ng-gnome2.eclass
@@ -44,7 +44,7 @@ BDEPEND="virtual/pkgconfig"
ruby_add_bdepend "
dev-ruby/pkg-config
test? ( >=dev-ruby/test-unit-2 )"
-SRC_URI="mirror://sourceforge/ruby-gnome2/ruby-gnome2-all-${PV}.tar.gz"
+SRC_URI="https://downloads.sourceforge.net/ruby-gnome2/ruby-gnome2-all-${PV}.tar.gz"
HOMEPAGE="https://ruby-gnome.github.io/"
LICENSE="LGPL-2.1+"
SLOT="0"
@@ -52,7 +52,7 @@ if ver_test -ge "3.4.0"; then
SRC_URI="https://github.com/ruby-gnome/ruby-gnome/archive/${PV}.tar.gz -> ruby-gnome2-${PV}.tar.gz"
RUBY_S=ruby-gnome-${PV}/${RUBY_FAKEGEM_NAME}
else
- SRC_URI="mirror://sourceforge/ruby-gnome2/ruby-gnome2-all-${PV}.tar.gz"
+ SRC_URI="https://downloads.sourceforge.net/ruby-gnome2/ruby-gnome2-all-${PV}.tar.gz"
RUBY_S=ruby-gnome2-all-${PV}/${RUBY_FAKEGEM_NAME}
fi

--
2.43.2