diff options
author | Hans de Graaff <graaff@gentoo.org> | 2017-07-21 07:24:50 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2017-07-21 07:24:50 +0200 |
commit | 0461c40a3bc51e84e3acf1c18c79ccdd49feefc3 (patch) | |
tree | bbbd7f45c23104396977cc011e0f54a9689d8469 /dev-ruby/redis | |
parent | www-apache/passenger: add 5.1.6 (diff) | |
download | gentoo-0461c40a3bc51e84e3acf1c18c79ccdd49feefc3.tar.gz gentoo-0461c40a3bc51e84e3acf1c18c79ccdd49feefc3.tar.bz2 gentoo-0461c40a3bc51e84e3acf1c18c79ccdd49feefc3.zip |
dev-ruby/redis: add 3.3.3
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'dev-ruby/redis')
-rw-r--r-- | dev-ruby/redis/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/redis/redis-3.3.3.ebuild | 39 |
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-ruby/redis/Manifest b/dev-ruby/redis/Manifest index 46baee5837d5..d68b7c7b1052 100644 --- a/dev-ruby/redis/Manifest +++ b/dev-ruby/redis/Manifest @@ -1 +1,2 @@ DIST redis-rb-3.3.2.tar.gz 88438 SHA256 2838902423f3e9c01a4638c9fb003c07e38df96d5b16e46b8ea68499a28eb321 SHA512 ef95922dcfd6b92a3086b1d2ff675852d9647824ae7b39f55000e50a1fcf31a9a5b99101bbbff3977558cd52eec0eaede9f42a4cd108752a1afebc60dc4d3869 WHIRLPOOL 71873685a6a875b6d69866f919ec00a3cefa2de8c97ea2e838d148e6ed346b985aba2c41316a9322634b92fd5fc020a7347fa5fc7566993f61125cb73579ee72 +DIST redis-rb-3.3.3.tar.gz 88495 SHA256 3cfce11be21f0dab610db7f731935e2e2df3f31c1367598c08f9c0dd860444a4 SHA512 5090e9a5793c3d8faef2d1a253098213964ef052ad22829dffef831973cbfaad56c9e37a735c46ead7597ed1f3e8330283404a8f5fc30b38d3954ab942de59fa WHIRLPOOL 47579d6237482219a67abd3f935457df2c0f22ab30937128ce3c68140f3d9a59f63e147e1ca370b06b6f3d74fd2d3298082279256801075c1a36e7ae12eaf069 diff --git a/dev-ruby/redis/redis-3.3.3.ebuild b/dev-ruby/redis/redis-3.3.3.ebuild new file mode 100644 index 000000000000..84608f7bb6ce --- /dev/null +++ b/dev-ruby/redis/redis-3.3.3.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby21 ruby22 ruby23 ruby24" + +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-3.2.0 )" + +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" +} |