diff options
author | Hans de Graaff <graaff@gentoo.org> | 2017-12-08 07:58:24 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2017-12-08 07:58:24 +0100 |
commit | dbfefb691b16b1e6b3a8a7340e8077e4c21bcd7d (patch) | |
tree | 4e54f5de35831cfd6ecf3e90743635a61b6bd1df /dev-ruby/rack-test | |
parent | dev-ruby/rack-test: cleanup (diff) | |
download | gentoo-dbfefb691b16b1e6b3a8a7340e8077e4c21bcd7d.tar.gz gentoo-dbfefb691b16b1e6b3a8a7340e8077e4c21bcd7d.tar.bz2 gentoo-dbfefb691b16b1e6b3a8a7340e8077e4c21bcd7d.zip |
dev-ruby/rack-test: add 0.8.2
Package-Manager: Portage-2.3.13, Repoman-2.3.3
Diffstat (limited to 'dev-ruby/rack-test')
-rw-r--r-- | dev-ruby/rack-test/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/rack-test/rack-test-0.8.2.ebuild | 34 |
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-ruby/rack-test/Manifest b/dev-ruby/rack-test/Manifest index b3f4f51a50f3..1415e2e90652 100644 --- a/dev-ruby/rack-test/Manifest +++ b/dev-ruby/rack-test/Manifest @@ -1,2 +1,3 @@ DIST rack-test-0.6.3.gem 23552 BLAKE2B d494f7fa3d2f7ed6fc6d33e507c445990613425826ec2e3d059d978b09d316ab93685aa5fd00ea89d00002ec7ec242f7fa64a42ce214fa7e9c40334d7e7a3750 SHA512 a5ad0f20130eedc153515127d2483cb1322c230ab772307943ec6eb295706f3aab26c8599cba69323b3cdc5692b284ba0609d8db957ade7085a95d94ccdf8b41 DIST rack-test-0.7.1.tar.gz 24492 BLAKE2B 594fa05287399425557f579c871accdd268c463e77bef3e86f2141f5c5d824abc2a245a636390e0957cafb2db86a5483f9de2f13571b5c44a506f93122fcd2f0 SHA512 2b202d1f485fa2aa927d2c599e0b3bde08f5d93b6e8a36ccee5b5e064acfd0979154de8db8639bfb78f3ab038b006305379389889239dbee13020b72f060a8db +DIST rack-test-0.8.2.tar.gz 24830 BLAKE2B 730581f654501faf0aa243675738e67a8b1cc5cce9df3040b40cdaf00bd9c3fd2feee11656442aa413132a268d971b34732626e27924ecd32fee30ac6ca6d211 SHA512 3012c1f294835473605e2f648af0cc19b9d4bc5963d507a0beae31782ea84c613bfc43a1995f8808174d468206aa9c66953cbc1ff83e9e7876142594115d063d diff --git a/dev-ruby/rack-test/rack-test-0.8.2.ebuild b/dev-ruby/rack-test/rack-test-0.8.2.ebuild new file mode 100644 index 000000000000..3e638f2b29e7 --- /dev/null +++ b/dev-ruby/rack-test/rack-test-0.8.2.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby22 ruby23 ruby24" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="History.md README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit versionator ruby-fakegem + +DESCRIPTION="Rack::Test is a small, simple testing API for Rack apps" +HOMEPAGE="https://github.com/rack-test/rack-test" +SRC_URI="https://github.com/rack-test/rack-test/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="$(get_version_component_range 1-2)" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/rack-1.0:* <dev-ruby/rack-3:*" +ruby_add_bdepend " + test? ( >=dev-ruby/sinatra-1.2.6 =dev-ruby/rack-1* )" + +all_ruby_prepare() { + rm Gemfile* || die + sed -i -e '/bundler/d' -e '/[Cc]ode[Cc]limate/d' \ + -e '1igem "rack", "~>1.0"' spec/spec_helper.rb || die +} |