diff options
Diffstat (limited to 'dev-ruby/async_sinatra')
-rw-r--r-- | dev-ruby/async_sinatra/Manifest | 3 | ||||
-rw-r--r-- | dev-ruby/async_sinatra/async_sinatra-1.3.0.ebuild | 41 | ||||
-rw-r--r-- | dev-ruby/async_sinatra/metadata.xml | 11 |
3 files changed, 55 insertions, 0 deletions
diff --git a/dev-ruby/async_sinatra/Manifest b/dev-ruby/async_sinatra/Manifest new file mode 100644 index 000000000000..5e347a4256d6 --- /dev/null +++ b/dev-ruby/async_sinatra/Manifest @@ -0,0 +1,3 @@ +DIST async_sinatra-1.3.0-git.tgz 8657 BLAKE2B ba41b01a9ad00794f19273d41cceaf80ae5159e38f93c1907db5fae78d5d2f5d6d583f31ff495722b3a241f7e0d2d91c5b3202fe5a8ff39f500e6ab0e1e0030b SHA512 2975e41557da539e1b6427a43d41811f4e17315c01da8d1141dbdafad68702395bfce011844b8b1db2c24bbf19d09b5e680cd10e039ceaab1263ea66bcb8f9f6 +EBUILD async_sinatra-1.3.0.ebuild 924 BLAKE2B 40015649382db8506d1aa9113f3c3ad8482f9df528e17f2f270fbbdfbb5d9f74a0ed1d222e827584f42cd52c96576eae2ffa0971645b6d35042c1d6939c23062 SHA512 16988f3efae98187b976a6a8f396d5172d0ac0a60f452d4dedbb5e3698659b59f042c75bdb4b962e0f6bb00e42ca7e2af9a91d6d04d8718a83351a02f853df02 +MISC metadata.xml 345 BLAKE2B bae47051fe3e703d2f308871b8f8b1b114d788d5340795ee379b6432fee4b01adad3e03eac97541135b63457520cbb04d34d9d6150e7ddff3e5c9c6ef87cc41f SHA512 0b8a1cf5f66733cdab98fca0d48c3f253f6606c4c84fb45d19af66dd41d3db463ccd7d533a6809ff1bb9262829760838fca1ac493b4c08b43903faf871bed07a diff --git a/dev-ruby/async_sinatra/async_sinatra-1.3.0.ebuild b/dev-ruby/async_sinatra/async_sinatra-1.3.0.ebuild new file mode 100644 index 000000000000..6e70d0fca70e --- /dev/null +++ b/dev-ruby/async_sinatra/async_sinatra-1.3.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.rdoc README.rdoc" + +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/rake + dev-ruby/rack-test + )" + +ruby_add_rdepend ">=dev-ruby/sinatra-1.3.2 + >=dev-ruby/rack-1.4.1:*" + +each_ruby_test() { + MT_NO_PLUGINS=true ${RUBY} -S rake test || 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/metadata.xml b/dev-ruby/async_sinatra/metadata.xml new file mode 100644 index 000000000000..f2640c217a7e --- /dev/null +++ b/dev-ruby/async_sinatra/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>ruby@gentoo.org</email> + <name>Gentoo Ruby Project</name> + </maintainer> + <upstream> + <remote-id type="github">raggi/async_sinatra</remote-id> + </upstream> +</pkgmetadata> |