summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2012-12-14 16:08:59 +0000
committerHans de Graaff <graaff@gentoo.org>2012-12-14 16:08:59 +0000
commitd6dbc2ff74711b39baacf92c8e870b328449735b (patch)
tree5fe9945d494d94b5e702f5e4fe75f46b9c348129 /dev-ruby
parentRemove the (untested) jython support. (diff)
downloadhistorical-d6dbc2ff74711b39baacf92c8e870b328449735b.tar.gz
historical-d6dbc2ff74711b39baacf92c8e870b328449735b.tar.bz2
historical-d6dbc2ff74711b39baacf92c8e870b328449735b.zip
Version bump.
Package-Manager: portage-2.1.11.31/cvs/Linux x86_64 Manifest-Sign-Key: 0x8883FA56A308A8D7!
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/async_sinatra/ChangeLog10
-rw-r--r--dev-ruby/async_sinatra/Manifest15
-rw-r--r--dev-ruby/async_sinatra/async_sinatra-1.0.0.ebuild46
-rw-r--r--dev-ruby/async_sinatra/files/async_sinatra-1.0.0-extended-sinatra.patch19
4 files changed, 87 insertions, 3 deletions
diff --git a/dev-ruby/async_sinatra/ChangeLog b/dev-ruby/async_sinatra/ChangeLog
index 9b37e4dd9678..7f1d637efe3d 100644
--- a/dev-ruby/async_sinatra/ChangeLog
+++ b/dev-ruby/async_sinatra/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-ruby/async_sinatra
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/async_sinatra/ChangeLog,v 1.5 2011/03/19 06:31:31 graaff Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/async_sinatra/ChangeLog,v 1.6 2012/12/14 16:08:57 graaff Exp $
+
+*async_sinatra-1.0.0 (14 Dec 2012)
+
+ 14 Dec 2012; Hans de Graaff <graaff@gentoo.org> +async_sinatra-1.0.0.ebuild,
+ +files/async_sinatra-1.0.0-extended-sinatra.patch:
+ Version bump.
19 Mar 2011; Hans de Graaff <graaff@gentoo.org>
-async_sinatra-0.1.5.ebuild, -async_sinatra-0.3.0.ebuild:
diff --git a/dev-ruby/async_sinatra/Manifest b/dev-ruby/async_sinatra/Manifest
index be703210f4c3..25b964213064 100644
--- a/dev-ruby/async_sinatra/Manifest
+++ b/dev-ruby/async_sinatra/Manifest
@@ -1,5 +1,18 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
AUX async_sinatra-0.4.0-rack.patch 634 SHA256 5c901319f80556474971a72f0aa0846b36ee2e42a500ad41526f151cb7d7c32d SHA512 dc03c54f466eec108b4a1f212e607233deb8193719193e6e7a7a4b74264b628f00bae037dfe650d53ca7601f4ec8ce7b34b10b14221b171f7d0e404a93c05177 WHIRLPOOL 1868024480550d863a45a97c8d5af05d961cddbca570f22eac0408caace3a3b7327ab3f0398e1861f156c69f4699ac6cba62f891669871ce97d3f428532107eb
+AUX async_sinatra-1.0.0-extended-sinatra.patch 712 SHA256 2f5e47e77500bd51864a11c56fd06fd0fccfcf14f67063f275432282477901cc SHA512 8f38ead24b140bbc24bff93d75733409a7c07438229486ec20188f655a25dd66795c713a300afb33ad2292855c7c1e3eaf709719cd0dffb977dfbcf004b535f7 WHIRLPOOL fe0d80202920ce4c28d1d396352ec4db06d14c7cc19ddcc4891a8be94f126bbb2a39cd8e439a53f3fc1bebbbc49b597792d6463fce43ed1d52f6434cbb9bf637
DIST async_sinatra-0.4.0.gem 12800 SHA256 06d0c6000c6f162fb09028c45f80a79588649bf5b681f205ac3aa7090fecef2f SHA512 f007a3ebda532ebccb179673b7dda221dfedb8d15d1a02b0b2e7359b0f21e47a8b928defb18a6eceedfef7d480025d086bf3a5647d75b5db453a6010b38a5d84 WHIRLPOOL 3120a84cff8298077c9f694d8430af077179303a44997c169f08954fd3ce90eb71c459f30ef0cb2882c978008189513b55b6d23b0dd6a172f0b89ae7e20149a6
+DIST async_sinatra-1.0.0-git.tgz 8028 SHA256 3af2ee78ccc5b93e7d3f13ef5515a18336acdce19cfbf239259db0d320597496 SHA512 89be4d3aef3d3b67da3dc7efd8820515cc3f81ecbceb9a80b2ef7a6c953bfb2153d12f38e6299e545f841d5d31ec89ac18fd83347ec51136ae74da9ff5dc5661 WHIRLPOOL 795bf3bcaeb2de241dcfb29e1809e90ec4bf61831485a8416a67ab379515ff08bb8139f33429429d0312d602596c08aade4f59e67b5ba548909c3637d45a1268
EBUILD async_sinatra-0.4.0.ebuild 1224 SHA256 d457b35aeeda2a6aaef320cdca50deeab4cce59148f99d5d8c568cfa778a0e11 SHA512 f73f2ffb5180b137b64e4ebbda4316d38ca941524f3dd4e22864e62dee9de47c567223565c302cc3755a6791ba51d9f207854e752e83a3fcd93d31be6c910468 WHIRLPOOL 8d1d647c18ced9c697ad558bdf62ee9a44960c8ba9638bd20244282f9cdf30dfc440307fca99146774bf2be93e9b4498369dbb8b24ff0a8f27ce8659d96871b2
-MISC ChangeLog 958 SHA256 d0c0950e8ee8ccbf2fb40cea2890375c01149ae9c283efd30cecf44aba367827 SHA512 101434d4983335777462effc03fc3f23d95a5b70adc43e93e40850e113bf1aa8097569eb5a730416777fefe3856d74a1afc4b4ea2fca621297a8f0211a960f61 WHIRLPOOL e48a5bbfbbb0e9a513bf4d218d91737ad4cf0b29da2e9c50eae51caa9da293c6f88821bbce1eae07609eaed0a28ddb02432d73449d12518e5a900b978d5f7e54
+EBUILD async_sinatra-1.0.0.ebuild 1300 SHA256 4353fb1f4a8b2fcba1caa331ea27a98669023046d047e243fd5b6617673ff1b6 SHA512 6970ac3eba7d6852e93ab44fa6bc89ab0577bd74ca420dcf35d0398ccb5fab3fe5ab7608e90353f2f0220104d65f282594f474ef36f6cc0b5eb2918d4f36af90 WHIRLPOOL 83293a56501100dd012563f50abda385bb1de5ba1372670d53425119ded06fd3b34279e0b7ec2b14ef0e0741b6fbea503ba56e7576f3ce6a1b55fb575e92a9a6
+MISC ChangeLog 1143 SHA256 ce4bcb3091bbd7ef64757a5340d04d413f0d5bad658f34a27534e75a99111001 SHA512 03022821f120970027e9eeec9dfbbb5e6d5c277bab073413a127f35b3cba88d0685efb1f0e90572fc441aae41c129d002609a1bbfdc0016bc559936270a4c8f6 WHIRLPOOL 2ed41096156b8593b15bad4a13cab0b3bc928134aed3c6cc631c0a76190f74479f0ccf73b514c4adbad9f6c7b11c28da039fbb72f352a76f3a6b0d63899f36a6
MISC metadata.xml 157 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c SHA512 0cec73b966de88015ea4c7212723d848d367608aa93658bb945f298a8000c4ba8aba73c9eb8481859fb5bbed45e80dae32c628caf81e027a4ad8eafa7e632851 WHIRLPOOL 4da25c81e21173ad8b7b5f35b056264869d9a16741062aa4422c5ea1aa9e73da8eb700b0d54de84c169d702fbb3f41ed157c9dc7c9daac110849ae84715c051b
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.19 (GNU/Linux)
+
+iF4EAREIAAYFAlDLTxsACgkQiIP6VqMIqNcq0wEAj7nzI+fyC+dmjQcdWnAerAO9
+QBTGEFLy+VU9rTCQ65AA/3ziI8cicpbHHKyHAifW1/n0/NJ2j+Q/dm4AadUKsrFD
+=QXMe
+-----END PGP SIGNATURE-----
diff --git a/dev-ruby/async_sinatra/async_sinatra-1.0.0.ebuild b/dev-ruby/async_sinatra/async_sinatra-1.0.0.ebuild
new file mode 100644
index 000000000000..611ee96fad6b
--- /dev/null
+++ b/dev-ruby/async_sinatra/async_sinatra-1.0.0.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/async_sinatra/async_sinatra-1.0.0.ebuild,v 1.1 2012/12/14 16:08:57 graaff Exp $
+
+EAPI=5
+USE_RUBY="ruby18 ree18 ruby19"
+
+RUBY_FAKEGEM_DOCDIR="doc"
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.rdoc README.rdoc"
+RUBY_FAKEGEM_TASK_DOC="docs"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Asynchronous response API for Sinatra and Thin"
+HOMEPAGE="http://libraggi.rubyforge.org/async_sinatra"
+SRC_URI="https://github.com/raggi/async_sinatra/archive/v${PV}.tar.gz -> ${P}-git.tgz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+
+RUBY_PATCHES=( "${FILESDIR}/${P}-extended-sinatra.patch" )
+
+ruby_add_bdepend "test? (
+ >=dev-ruby/hoe-2.9.1
+ >=dev-ruby/minitest-2.5.1
+ >=dev-ruby/rubyforge-2.0.4
+ >=dev-ruby/eventmachine-0.12.11
+ )"
+ruby_add_bdepend "doc? ( >=dev-ruby/hoe-2.9.1 )"
+
+ruby_add_rdepend ">=dev-ruby/sinatra-1.3.2
+ >=dev-ruby/rack-1.4.1"
+
+all_ruby_prepare() {
+ # Remove development dependencies that we don't have from the gemspec
+ sed -i -e '/\(hoe-doofus\|hoe-seattlerb\|hoe-git\|hoe-gemspec2\)/d' async_sinatra.gemspec || die
+}
+
+all_ruby_install() {
+ all_fakegem_install
+
+ insinto /usr/share/doc/${PF}/
+ doins -r examples || die "Failed to install examples"
+}
diff --git a/dev-ruby/async_sinatra/files/async_sinatra-1.0.0-extended-sinatra.patch b/dev-ruby/async_sinatra/files/async_sinatra-1.0.0-extended-sinatra.patch
new file mode 100644
index 000000000000..9c3ccc0cf912
--- /dev/null
+++ b/dev-ruby/async_sinatra/files/async_sinatra-1.0.0-extended-sinatra.patch
@@ -0,0 +1,19 @@
+commit f00c791c8baa150bea4de7a4efbe941b93470c02
+Author: Sam Soffes <sam@samsoff.es>
+Date: Fri Sep 14 11:55:10 2012 -0700
+
+ Support Sinatra::ExtendedRack. Fixes #30
+
+diff --git a/lib/sinatra/async/test.rb b/lib/sinatra/async/test.rb
+index 1571dbe..7e98aca 100644
+--- a/lib/sinatra/async/test.rb
++++ b/lib/sinatra/async/test.rb
+@@ -87,6 +87,8 @@ class Sinatra::Async::Test
+ # This hack exists because sinatra is now returning a proper rack stack.
+ # We might need to consider alternative approaches in future.
+ app = app()
++ app = app.app if app.is_a?(Sinatra::ExtendedRack)
++
+ until app.nil? || app.is_a?(Sinatra::Base)
+ app = app.instance_variable_get(:@app)
+ end