From: Naohiro Aota <naota@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Cc: ruby@gentoo.org, Naohiro Aota <naota@gentoo.org>
Subject: [gentoo-dev] [PATCH 9/9] ruby-ng-gnome2.eclass: add support for 3.4.x
Date: Sat, 15 Feb 2020 21:18:33 +0900 [thread overview]
Message-ID: <20200215121833.3631177-9-naota@gentoo.org> (raw)
In-Reply-To: <20200215121833.3631177-1-naota@gentoo.org>
Update SRC_URI since the primary release site is moved to github.
Signed-off-by: Naohiro Aota <naota@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
+ 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.
--
2.25.0
next prev parent reply other threads:[~2020-02-15 12:21 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-15 12:18 [gentoo-dev] [PATCH 1/9] ruby-ng-gnome2.eclass: drop support for 0.19.x Naohiro Aota
2020-02-15 12:18 ` [gentoo-dev] [PATCH 2/9] ruby-ng-gnome2.eclass: drop support for <EAPI=4 Naohiro Aota
2020-02-16 5:40 ` Michał Górny
2020-02-17 21:40 ` Naohiro Aota
2020-02-15 12:18 ` [gentoo-dev] [PATCH 3/9] ruby-ng-gnome2.eclass: fix LICENSE Naohiro Aota
2020-02-15 12:18 ` [gentoo-dev] [PATCH 4/9] ruby-ng-gnome2.eclass: drop subbinding variable Naohiro Aota
2020-02-15 12:18 ` [gentoo-dev] [PATCH 5/9] ruby-ng-gnome2.eclass: add test dependency Naohiro Aota
2020-02-16 5:42 ` Michał Górny
2020-02-15 12:18 ` [gentoo-dev] [PATCH 6/9] ruby-ng-gnome2.eclass: implement common test code Naohiro Aota
2020-02-16 5:36 ` Michał Górny
2020-02-15 12:18 ` [gentoo-dev] [PATCH 7/9] ruby-ng-gnome2.eclass: support non-build packages Naohiro Aota
2020-02-16 5:43 ` Michał Górny
2020-02-15 12:18 ` [gentoo-dev] [PATCH 8/9] ruby-ng-gnome2.eclass: fold common all_ruby_prepare Naohiro Aota
2020-02-16 5:44 ` Michał Górny
2020-02-15 12:18 ` Naohiro Aota [this message]
2020-02-16 5:48 ` [gentoo-dev] [PATCH 9/9] ruby-ng-gnome2.eclass: add support for 3.4.x Michał Górny
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200215121833.3631177-9-naota@gentoo.org \
--to=naota@gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
--cc=ruby@gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox