public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Hans de Graaff" <graaff@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/ec2-ami-tools/
Date: Sat,  3 Dec 2016 08:58:37 +0000 (UTC)	[thread overview]
Message-ID: <1480755502.4f1977644c438e114ec6a17eda347f820fc6e3dc.graaff@gentoo> (raw)

commit:     4f1977644c438e114ec6a17eda347f820fc6e3dc
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sat Dec  3 08:18:06 2016 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sat Dec  3 08:58:22 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f197764

app-admin/ec2-ami-tools: use ruby21 with ruby-single eclass

Package-Manager: portage-2.3.0

 ...ools-1.5.6.ebuild => ec2-ami-tools-1.5.6-r1.ebuild} | 18 ++++++++----------
 1 file changed, 8 insertions(+), 10 deletions(-)

diff --git a/app-admin/ec2-ami-tools/ec2-ami-tools-1.5.6.ebuild b/app-admin/ec2-ami-tools/ec2-ami-tools-1.5.6-r1.ebuild
similarity index 67%
rename from app-admin/ec2-ami-tools/ec2-ami-tools-1.5.6.ebuild
rename to app-admin/ec2-ami-tools/ec2-ami-tools-1.5.6-r1.ebuild
index 938f477..1832818 100644
--- a/app-admin/ec2-ami-tools/ec2-ami-tools-1.5.6.ebuild
+++ b/app-admin/ec2-ami-tools/ec2-ami-tools-1.5.6-r1.ebuild
@@ -1,12 +1,14 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
 EAPI="5"
 
-inherit versionator
+USE_RUBY="ruby21"
 
-DESCRIPTION="These command-line tools serve as the client interface to the Amazon EC2 web service"
+inherit ruby-single versionator
+
+DESCRIPTION="Command-line tools that serve as client interface to the Amazon EC2 web service"
 HOMEPAGE="http://developer.amazonwebservices.com/connect/entry.jspa?externalID=368&categoryID=88"
 SRC_URI="http://s3.amazonaws.com/ec2-downloads/${P}.zip"
 
@@ -15,18 +17,14 @@ LICENSE="Amazon
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 
-ruby_slot="2.0"
-
 DEPEND="app-arch/unzip"
-RDEPEND="dev-lang/ruby:${ruby_slot}[ssl]
+RDEPEND="
+	${RUBY_DEPS}
+	virtual/ruby-ssl
 	net-misc/rsync
 	net-misc/curl"
 
 src_prepare() {
-	# Simplify the scripts to always run Ruby 20, since Gentoo supports
-	# alternative implementations as well it is not guaranteed that ruby is ruby19.
-	sed -i -e "\$s:^ruby:exec ruby${ruby_slot/./}:" bin/* || die 'Sed failed.'
-
 	# Remove a left behind license file.
 	rm lib/ec2/oem/LICENSE.txt || die 'Removal of LICENSE failed.'
 }


             reply	other threads:[~2016-12-03  8:58 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-03  8:58 Hans de Graaff [this message]
  -- strict thread matches above, loose matches on Subject: below --
2017-04-17  8:56 [gentoo-commits] repo/gentoo:master commit in: app-admin/ec2-ami-tools/ Hans de Graaff
2017-06-02  6:29 Hans de Graaff
2017-08-20  9:32 Hans de Graaff
2018-06-25 18:44 Hans de Graaff
2018-10-20 18:52 Pacho Ramos
2020-05-02  5:18 Hans de Graaff
2021-02-11  2:44 Sam James
2022-06-12  8:33 Hans de Graaff

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=1480755502.4f1977644c438e114ec6a17eda347f820fc6e3dc.graaff@gentoo \
    --to=graaff@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.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