From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id A71FC58973 for ; Mon, 18 Jan 2016 06:57:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4196C21C15E; Mon, 18 Jan 2016 06:57:09 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BB92421C15E for ; Mon, 18 Jan 2016 06:57:08 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D46673408DD for ; Mon, 18 Jan 2016 06:57:07 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 466B0CB3 for ; Mon, 18 Jan 2016 06:57:03 +0000 (UTC) From: "Hans de Graaff" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Hans de Graaff" Message-ID: <1453098868.048e70fe06ce939dc7fe7193be3323de73acf1bc.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/async_sinatra/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/async_sinatra/Manifest dev-ruby/async_sinatra/async_sinatra-1.2.1.ebuild X-VCS-Directories: dev-ruby/async_sinatra/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 048e70fe06ce939dc7fe7193be3323de73acf1bc X-VCS-Branch: master Date: Mon, 18 Jan 2016 06:57:03 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 6509a56e-5c0a-46ca-b16a-f95998210e3f X-Archives-Hash: 4c1172555abf45543cdf93dfbabcca94 commit: 048e70fe06ce939dc7fe7193be3323de73acf1bc Author: Hans de Graaff gentoo org> AuthorDate: Mon Jan 18 06:34:28 2016 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Mon Jan 18 06:34:28 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=048e70fe dev-ruby/async_sinatra: add 1.2.1 Package-Manager: portage-2.2.26 dev-ruby/async_sinatra/Manifest | 1 + dev-ruby/async_sinatra/async_sinatra-1.2.1.ebuild | 44 +++++++++++++++++++++++ 2 files changed, 45 insertions(+) diff --git a/dev-ruby/async_sinatra/Manifest b/dev-ruby/async_sinatra/Manifest index 1893c8c..4cd8c9b 100644 --- a/dev-ruby/async_sinatra/Manifest +++ b/dev-ruby/async_sinatra/Manifest @@ -1 +1,2 @@ DIST async_sinatra-1.2.0-git.tgz 8194 SHA256 b62f1f7944fe2816fe418c9acf64ca73c2708b6ebd3bfa6e06dc693703faaa0a SHA512 abddfd78e6e6d1dbee8e463a10f3e233045f3321a828267e666399853fc6e1ab7661b8338193f1437cd9ef891a15323667b8f1e3dc89f2acc6ccc34b2aa16a6e WHIRLPOOL 109ececfd95de28e27a5c8be0b010690d1054db993cb764a2d5ac43edae9a5ccd031b75638523f568496bcdf7b0c67d23cfa1e209820bad1831686a5391ebaec +DIST async_sinatra-1.2.1-git.tgz 8314 SHA256 431d5b229d2e795707184caaf9e9bf0d4e1cb3402b9bfa9d7a6ee624f6ca8712 SHA512 f1c7dc5aeeae366836bc2db6ae1c34967fa4a8d89d2f0fdcbcfeb7737e7b39615990c67ba9d55428cc0873329b5b54e9a1df727b09c5d79b03210b4e209b56ba WHIRLPOOL d13fa0d3e19a3b4a22d8b8321248a635e8ca17ed78f1ec39f38bf2a3130e4d37fe2a929a28df9032ea5b9b8c8329b80fa43d1baf6284ff3a1285b08dc810e243 diff --git a/dev-ruby/async_sinatra/async_sinatra-1.2.1.ebuild b/dev-ruby/async_sinatra/async_sinatra-1.2.1.ebuild new file mode 100644 index 0000000..0ddbeb8 --- /dev/null +++ b/dev-ruby/async_sinatra/async_sinatra-1.2.1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +USE_RUBY="ruby20 ruby21 ruby22" + +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" +}