diff options
author | Hans de Graaff <graaff@gentoo.org> | 2018-05-08 06:09:05 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2018-05-08 06:09:05 +0200 |
commit | 235007669cb4b0f0bb4494c195657719336420cc (patch) | |
tree | 016c3afe574cf6209352de1ae94ca50e28dc8908 /dev-ruby/rack-test | |
parent | dev-ruby/rack-test: cleanup (diff) | |
download | gentoo-235007669cb4b0f0bb4494c195657719336420cc.tar.gz gentoo-235007669cb4b0f0bb4494c195657719336420cc.tar.bz2 gentoo-235007669cb4b0f0bb4494c195657719336420cc.zip |
dev-ruby/rack-test: add 1.0.0
Package-Manager: Portage-2.3.24, Repoman-2.3.6
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-1.0.0.ebuild | 37 |
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-ruby/rack-test/Manifest b/dev-ruby/rack-test/Manifest index e32565ea88e8..37fa2a4ef1c0 100644 --- a/dev-ruby/rack-test/Manifest +++ b/dev-ruby/rack-test/Manifest @@ -1,3 +1,4 @@ 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.3.tar.gz 24842 BLAKE2B ea02ce5e5a460c43b0299e3b6e3412efb1be8991ee14f924e7b2b8fb995917aad1cd809240a6389226b0a6f356ba94534082637aa7ad7f4ac4c93b86277dcf23 SHA512 ae2afd43e8b6643acdc7b4988df7dea5a5f00231df92127841aa52cb89c0a1891e13e5d6f321acbd95ce86b7372b340f0f863f01e500ae7643699c27077b767c +DIST rack-test-1.0.0.tar.gz 26188 BLAKE2B e1df3e0d0e9cb8757bc898a2780a45f808921638a01a9ade0c8ac3233745992fbec1780ca36d4595e5a89bf124dcec0fc74fc33e9b22c46723e851aa371a73b8 SHA512 e654a10359b771607eb5295f574ac4a7b42afafc9a85c65e87a54559db1b5221b6e4b5ace18db05acfec1f381caa93c4b3be1912c3f08fbb74861d6053a2d242 diff --git a/dev-ruby/rack-test/rack-test-1.0.0.ebuild b/dev-ruby/rack-test/rack-test-1.0.0.ebuild new file mode 100644 index 000000000000..9097ac5cbdac --- /dev/null +++ b/dev-ruby/rack-test/rack-test-1.0.0.ebuild @@ -0,0 +1,37 @@ +# 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_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 ~hppa ~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 + + # Use correct version + sed -i -e 's/0.8.2/0.8.3/' lib/rack/test/version.rb || die +} |