summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2009-04-17 14:20:30 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2009-04-17 14:20:30 +0000
commit44eeaa6bb48d78e4bc01d0cb2886dc06a91adf63 (patch)
tree5196209064ba9cd05a8eb752c08e2b6f2450cd23 /dev-ruby
parentVersion bump dev-haskell/haskell-src 1.0.1.3 (diff)
downloadhistorical-44eeaa6bb48d78e4bc01d0cb2886dc06a91adf63.tar.gz
historical-44eeaa6bb48d78e4bc01d0cb2886dc06a91adf63.tar.bz2
historical-44eeaa6bb48d78e4bc01d0cb2886dc06a91adf63.zip
Initial import of Ruby library for Amazon S3 access.
Package-Manager: portage-2.2_rc30/cvs/Linux x86_64
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/aws-s3/ChangeLog10
-rw-r--r--dev-ruby/aws-s3/Manifest15
-rw-r--r--dev-ruby/aws-s3/aws-s3-0.5.1.ebuild59
-rw-r--r--dev-ruby/aws-s3/files/aws-s3.gemspec16
-rw-r--r--dev-ruby/aws-s3/metadata.xml5
5 files changed, 105 insertions, 0 deletions
diff --git a/dev-ruby/aws-s3/ChangeLog b/dev-ruby/aws-s3/ChangeLog
new file mode 100644
index 000000000000..3de86892cfa0
--- /dev/null
+++ b/dev-ruby/aws-s3/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-ruby/aws-s3
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/aws-s3/ChangeLog,v 1.1 2009/04/17 14:20:29 flameeyes Exp $
+
+*aws-s3-0.5.1 (17 Apr 2009)
+
+ 17 Apr 2009; Diego E. Pettenò <flameeyes@gentoo.org>
+ +files/aws-s3.gemspec, +metadata.xml, +aws-s3-0.5.1.ebuild:
+ Initial import of Ruby library for Amazon S3 access.
+
diff --git a/dev-ruby/aws-s3/Manifest b/dev-ruby/aws-s3/Manifest
new file mode 100644
index 000000000000..6fb7c3f2e054
--- /dev/null
+++ b/dev-ruby/aws-s3/Manifest
@@ -0,0 +1,15 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX aws-s3.gemspec 549 RMD160 842b079cba400be1dfc533fbe3811d6faf1ac9a8 SHA1 df8a5a111de1491ef7051dfa8900d1183a3d244c SHA256 60d239d86c2838d240046e63491459a5840dd2fe6d77e7839dac1b68ec02c61a
+DIST aws-s3-0.5.1.tar.gz 138665 RMD160 389555b5b93fa068e7e6d0698a60d8293c713848 SHA1 84077c3f850a649edc469e5dab210d8f27c3cf05 SHA256 8d27ccc6f963581ca67845e0e465df6ff45838bc0d6b2e0922aeeb30ae46145b
+EBUILD aws-s3-0.5.1.ebuild 1355 RMD160 f4109e28b5767e5d92fdd7a89381204f43558131 SHA1 7cde80355c57c8b660e6c816a21fc92d98819cf2 SHA256 197ba6507cd6da4616d112365964b546b84382d091edaf47995a1c5b99d5961e
+MISC ChangeLog 409 RMD160 ff738cd1275b694eef7ed6d73749eaa8c409fcb5 SHA1 2de7a49486d94dd5f6ec4201669b35d079f93fc6 SHA256 2c3371f5d2947f0869f0553bb60e5e1c28423f84fb76d08d341519490e3b14b3
+MISC metadata.xml 157 RMD160 5d9e2c7ecba96ffebd936d38acedf859cdea84e1 SHA1 8ce15dcc608eeb5616aeec610dc695cbe6f93e02 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.11 (GNU/Linux)
+
+iEYEARECAAYFAknokDMACgkQAiZjviIA2Xix5wCggSasgBF7lvMq76UWazXVcwQZ
+59YAoO+FUCSBep6my5xuYSldSWdy4qk8
+=8RZV
+-----END PGP SIGNATURE-----
diff --git a/dev-ruby/aws-s3/aws-s3-0.5.1.ebuild b/dev-ruby/aws-s3/aws-s3-0.5.1.ebuild
new file mode 100644
index 000000000000..8437ed44e25b
--- /dev/null
+++ b/dev-ruby/aws-s3/aws-s3-0.5.1.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/aws-s3/aws-s3-0.5.1.ebuild,v 1.1 2009/04/17 14:20:29 flameeyes Exp $
+
+inherit ruby
+
+DESCRIPTION="Client library for Amazon's Simple Storage Service's REST API"
+HOMEPAGE="http://amazon.rubyforge.org/"
+SRC_URI="mirror://rubyforge/amazon/${P}.tar.gz"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="doc test"
+
+RDEPEND="dev-ruby/xml-simple
+ dev-ruby/builder
+ dev-ruby/mime-types"
+DEPEND="${RDEPEND}
+ test? ( dev-ruby/ruby-debug
+ dev-ruby/flexmock )
+ dev-ruby/rake"
+
+USE_RUBY="ruby18"
+
+src_unpack() {
+ unpack ${A}
+
+ # Remove extra files generated by Mac OS X during packaging
+ find "${S}" -name '._*' -delete
+}
+
+src_compile() {
+ if use doc; then
+ rake doc:rerdoc || die "rake rerdoc failed"
+ fi
+}
+
+src_test() {
+ rake test || die "rake test failed"
+}
+
+src_install() {
+ pushd lib
+ doruby -r * || die "doruby failed"
+ popd
+
+ dobin bin/s3sh || die "dobin failed"
+
+ if use doc; then
+ dohtml -r doc/* || die "dohtml failed"
+ fi
+
+ dodoc README || die "dodoc failed"
+
+ insinto $(${RUBY} -r rbconfig -e 'print Config::CONFIG["sitedir"]')/../gems/1.8/specifications
+ sed -e "s:@VERSION@:${PV}:" "${FILESDIR}"/${PN}.gemspec > "${T}"/${P}.gemspec
+ doins "${T}"/${P}.gemspec || die "Unable to install fake gemspec"
+}
diff --git a/dev-ruby/aws-s3/files/aws-s3.gemspec b/dev-ruby/aws-s3/files/aws-s3.gemspec
new file mode 100644
index 000000000000..fc7a8aca4868
--- /dev/null
+++ b/dev-ruby/aws-s3/files/aws-s3.gemspec
@@ -0,0 +1,16 @@
+# -*- encoding: utf-8 -*-
+
+Gem::Specification.new do |s|
+ s.name = 'aws-s3'
+ s.version = '@VERSION@'
+ s.summary = "Client library for Amazon's Simple Storage Service's REST API"
+ s.description = s.summary
+ s.email = 'marcel@vernix.org'
+ s.author = 'Marcel Molina Jr.'
+ s.homepage = 'http://amazon.rubyforge.org'
+ s.rubyforge_project = 'amazon'
+
+ s.add_dependency 'xml-simple'
+ s.add_dependency 'builder'
+ s.add_dependency 'mime-types'
+ end
diff --git a/dev-ruby/aws-s3/metadata.xml b/dev-ruby/aws-s3/metadata.xml
new file mode 100644
index 000000000000..852136183369
--- /dev/null
+++ b/dev-ruby/aws-s3/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>ruby</herd>
+</pkgmetadata>