On Sat, 2020-02-15 at 21:18 +0900, Naohiro Aota wrote:
> Update SRC_URI since the primary release site is moved to github.
> 
> Signed-off-by: Naohiro Aota <na...@gentoo.org>
> ---
>  eclass/ruby-ng-gnome2.eclass | 8 +++++++-
>  1 file changed, 7 insertions(+), 1 deletion(-)
> 
> diff --git a/eclass/ruby-ng-gnome2.eclass b/eclass/ruby-ng-gnome2.eclass
> index 4220dc9f2092..fa5530d36629 100644
> --- a/eclass/ruby-ng-gnome2.eclass
> +++ b/eclass/ruby-ng-gnome2.eclass
> @@ -41,11 +41,17 @@ DEPEND="virtual/pkgconfig"
>  ruby_add_bdepend "
>       dev-ruby/pkg-config
>       test? ( >=dev-ruby/test-unit-2 )"
> -RUBY_S=ruby-gnome2-all-${PV}/${RUBY_FAKEGEM_NAME}
>  SRC_URI="mirror://sourceforge/ruby-gnome2/ruby-gnome2-all-${PV}.tar.gz"
>  HOMEPAGE="https://ruby-gnome2.osdn.jp/";
>  LICENSE="LGPL-2.1+"
>  SLOT="0"
> +if version_is_at_least "3.4.0"; then

Use eapi7-ver.  versionator is deprecated for almost 2 years.

> +     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"
> +     RUBY_S=ruby-gnome2-all-${PV}/${RUBY_FAKEGEM_NAME}
> +fi
>  
>  ruby-ng-gnome2_all_ruby_prepare() {
>       # Avoid compilation of dependencies during test.

-- 
Best regards,
Michał Górny

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to