diff options
author | Hans de Graaff <graaff@gentoo.org> | 2016-07-24 08:19:14 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2016-07-24 08:42:26 +0200 |
commit | 887261d4230c121cb7b06251cbe2d67dd6376fbb (patch) | |
tree | d189d75552bf9e5b0eb5d8bbdba93bc8ca4b0fa5 /dev-ruby/redis | |
parent | dev-ruby/redis: cleanup (diff) | |
download | gentoo-887261d4230c121cb7b06251cbe2d67dd6376fbb.tar.gz gentoo-887261d4230c121cb7b06251cbe2d67dd6376fbb.tar.bz2 gentoo-887261d4230c121cb7b06251cbe2d67dd6376fbb.zip |
dev-ruby/redis: add 3.3.1
Package-Manager: portage-2.2.28
Diffstat (limited to 'dev-ruby/redis')
-rw-r--r-- | dev-ruby/redis/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/redis/redis-3.3.1.ebuild | 40 |
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-ruby/redis/Manifest b/dev-ruby/redis/Manifest index 584fbca29ca3..2b333e69737f 100644 --- a/dev-ruby/redis/Manifest +++ b/dev-ruby/redis/Manifest @@ -1,3 +1,4 @@ DIST redis-rb-3.0.7.tar.gz 64059 SHA256 70bc9da8d41af542f41dd8be0f69d005f981d7198e867345ded562baaaab667a SHA512 93f5e68d491010d74d3b93fe6ff4e50f28bcdf4456435ee7ea066a4e21219a438944d66ca7cbdfd7182fb4a574f26fad3b85e14c226854e4b94f0a2681b8dfd7 WHIRLPOOL eac933f32c8a5851e896cf4360af1cad54112defdd58c2999bfc6509cbbabea6be2f252730d523391bf741ce6997f334714a33498eb54df01bd1d68fecb85eee DIST redis-rb-3.2.2.tar.gz 72217 SHA256 37a5ae3a8163a2e6aaf5d40ede106ed13ce6fcfc2b99a22664392ffd3d132b90 SHA512 e5cb281c95ecadf86907a7f8b87cc3f895feac529b868f479d94c3ca00f8eebddbcebf9ffeacbe40738af6cb2bd8b4bb9b8f12462a99355337ee123cc3e4356e WHIRLPOOL 8d1b325d539856e4e91cb9d8643bfb55981b2c7b2ae1cd7b52778b5cb0266ab3f852541a0bca53418b4161ad6c6760be91b82fb09983a3bd8b7b8adf0800c4c4 DIST redis-rb-3.3.0.tar.gz 87835 SHA256 a55a7916af3e3b42da0e882fcdf364a746d61ded1ec09bf48bf450632b87d015 SHA512 992c12b2c877f00da5892826a59c2b8a296805436287ac0307c8e3134cd459d037447bf08ff51b6d1b33993a942390fe6109f535d1b1cc84e9c0d3aaef1e5d01 WHIRLPOOL 82485bf3f00ab025e3a9549c326c2da194df8b2acc3dca1dd149c15779a598eeeeb8e97ab0034994b1251b7dc92a61616ad08af5c4c240dea77b7962983097be +DIST redis-rb-3.3.1.tar.gz 88283 SHA256 ad0b2097e479c08184bd314381c8b8cb1669e865e0c738d9a8841d806462fff2 SHA512 6ba0b216995f4a73f92d251fb99377a768fee790dd945717ef8c6919df994b10f0746a2f60346af0cc5399cd9747e92293c6db69ca816dfc6be040b2e1284704 WHIRLPOOL 722b07c1ee025c39555316d44dc313f8684fc1fd209a95f1c16011ae848efe67f5ca544d3a31745dff2af42042f8a11cbd20277384ada01def4e7fff8f4cc02a diff --git a/dev-ruby/redis/redis-3.3.1.ebuild b/dev-ruby/redis/redis-3.3.1.ebuild new file mode 100644 index 000000000000..e5e29c53d86b --- /dev/null +++ b/dev-ruby/redis/redis-3.3.1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +USE_RUBY="ruby20 ruby21 ruby22 ruby23" + +MY_P="redis-rb-${PV}" +RUBY_FAKEGEM_RECIPE_TEST="rake" +RUBY_FAKEGEM_TASK_TEST="run" +RUBY_FAKEGEM_RECIPE_DOC="yard" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" +RUBY_FAKEGEM_DOCDIR="doc" + +inherit ruby-fakegem + +DESCRIPTION="A Ruby client library for Redis" +HOMEPAGE="https://github.com/redis/redis-rb" +SRC_URI="https://github.com/redis/redis-rb/archive/v${PV}.tar.gz -> ${MY_P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="doc test" + +DEPEND="test? ( dev-db/redis )" + +RUBY_S="${MY_P}" + +all_ruby_prepare() { + # call me impatient, but this way we don't need netcat + sed -i \ + -e '/test_subscribe_past_a_timeout/,+18d' \ + test/publish_subscribe_test.rb || die "sed failed" + + # Version 3.0.6 downloads and compiles redis-server to test against. + # This patch reverts it to the way 3.0.5 does it, using the local server. + # https://github.com/redis/redis-rb/commit/351a1294fe33f79c23495b7568045e9f484918f2 + epatch "${FILESDIR}/${PN}-3.2.1-local-redis-server.patch" +} |