blueness    15/03/22 21:01:29

  Modified:             ChangeLog
  Added:                ec2-ami-tools-1.5.6.ebuild
  Log:
  Version bump.  Switch to ruby 2.0.
  See: https://aws.amazon.com/developertools/368
  
  (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 
0xF52D4BBA)

Revision  Changes    Path
1.19                 app-admin/ec2-ami-tools/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/ec2-ami-tools/ChangeLog?rev=1.19&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/ec2-ami-tools/ChangeLog?rev=1.19&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/ec2-ami-tools/ChangeLog?r1=1.18&r2=1.19

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-admin/ec2-ami-tools/ChangeLog,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- ChangeLog   14 Nov 2014 00:49:32 -0000      1.18
+++ ChangeLog   22 Mar 2015 21:01:29 -0000      1.19
@@ -1,6 +1,13 @@
 # ChangeLog for app-admin/ec2-ami-tools
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/ec2-ami-tools/ChangeLog,v 1.18 
2014/11/14 00:49:32 tomwij Exp $
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/ec2-ami-tools/ChangeLog,v 1.19 
2015/03/22 21:01:29 blueness Exp $
+
+*ec2-ami-tools-1.5.6 (22 Mar 2015)
+
+  22 Mar 2015; Anthony G. Basile <[email protected]>
+  +ec2-ami-tools-1.5.6.ebuild:
+  Version bump.  Switch to ruby 2.0. See:
+  https://aws.amazon.com/developertools/368
 
   14 Nov 2014; Tom Wijsman <[email protected]> metadata.xml:
   Maintainer needed.



1.1                  app-admin/ec2-ami-tools/ec2-ami-tools-1.5.6.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/ec2-ami-tools/ec2-ami-tools-1.5.6.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/ec2-ami-tools/ec2-ami-tools-1.5.6.ebuild?rev=1.1&content-type=text/plain

Index: ec2-ami-tools-1.5.6.ebuild
===================================================================
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: 
/var/cvsroot/gentoo-x86/app-admin/ec2-ami-tools/ec2-ami-tools-1.5.6.ebuild,v 
1.1 2015/03/22 21:01:29 blueness Exp $

EAPI="5"

inherit versionator

DESCRIPTION="These command-line tools serve as the 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";

LICENSE="Amazon
        || ( Ruby GPL-2 )"
SLOT="0"
KEYWORDS="~amd64 ~x86"

ruby_slot="2.0"

DEPEND="app-arch/unzip"
RDEPEND="dev-lang/ruby:${ruby_slot}[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.'
}

src_install() {
        dobin bin/*

        insinto /usr
        doins -r lib

        insinto /etc/ec2/amitools
        doins etc/ec2/amitools/*

        dodir /etc/env.d
        echo "EC2_AMITOOL_HOME=/usr" >> "${T}"/99${PN} || die "Can't write 
environment variable."
        doenvd "${T}"/99${PN}
}

pkg_postinst() {
        ewarn "Remember to run \`env-update && source /etc/profile\` if you 
plan"
        ewarn "to use these tools in a shell before logging out (or restarting"
        ewarn "your login manager)."
}




Reply via email to