diff options
author | Hans de Graaff <graaff@gentoo.org> | 2015-05-14 06:16:21 +0000 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2015-05-14 06:16:21 +0000 |
commit | 52cb51e3e31b537b2335da150e7392f7f980ee1f (patch) | |
tree | ff921fd33ee20d76fe2f1acd056ffbce73d8df3e /dev-ruby/async_sinatra | |
parent | Cleanup. (diff) | |
download | gentoo-2-52cb51e3e31b537b2335da150e7392f7f980ee1f.tar.gz gentoo-2-52cb51e3e31b537b2335da150e7392f7f980ee1f.tar.bz2 gentoo-2-52cb51e3e31b537b2335da150e7392f7f980ee1f.zip |
Version bump.
(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
Diffstat (limited to 'dev-ruby/async_sinatra')
-rw-r--r-- | dev-ruby/async_sinatra/ChangeLog | 7 | ||||
-rw-r--r-- | dev-ruby/async_sinatra/async_sinatra-1.2.0.ebuild | 44 |
2 files changed, 50 insertions, 1 deletions
diff --git a/dev-ruby/async_sinatra/ChangeLog b/dev-ruby/async_sinatra/ChangeLog index 73f648c0714a..77a0cba00d48 100644 --- a/dev-ruby/async_sinatra/ChangeLog +++ b/dev-ruby/async_sinatra/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-ruby/async_sinatra # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/async_sinatra/ChangeLog,v 1.12 2015/04/03 07:11:56 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/async_sinatra/ChangeLog,v 1.13 2015/05/14 06:16:21 graaff Exp $ + +*async_sinatra-1.2.0 (14 May 2015) + + 14 May 2015; Hans de Graaff <graaff@gentoo.org> +async_sinatra-1.2.0.ebuild: + Version bump. 03 Apr 2015; Hans de Graaff <graaff@gentoo.org> async_sinatra-1.1.0.ebuild: Fix HOMEPAGE. Add missing dependency on dev-ruby/rack-test. diff --git a/dev-ruby/async_sinatra/async_sinatra-1.2.0.ebuild b/dev-ruby/async_sinatra/async_sinatra-1.2.0.ebuild new file mode 100644 index 000000000000..22ba571c15b4 --- /dev/null +++ b/dev-ruby/async_sinatra/async_sinatra-1.2.0.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2015 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.2.0.ebuild,v 1.1 2015/05/14 06:16:21 graaff Exp $ + +EAPI=5 +USE_RUBY="ruby19 ruby20 ruby21" + +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="https://github.com/raggi/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_add_bdepend "test? ( + >=dev-ruby/hoe-3.13 + >=dev-ruby/minitest-5.6:5 + >=dev-ruby/eventmachine-0.12.11 + dev-ruby/rack-test + )" +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\|rdoc\)/d' async_sinatra.gemspec || die +} + +all_ruby_install() { + all_fakegem_install + + insinto /usr/share/doc/${PF}/ + doins -r examples || die "Failed to install examples" +} |