summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2016-12-24 00:55:12 +0100
committerManuel Rüger <mrueg@gentoo.org>2016-12-24 00:55:12 +0100
commitffebed96e4031f2c17a824f604a290d486cced80 (patch)
tree119f9501509862e3be50bb3342b875b2e97fac5f /dev-ruby/redis
parentdev-ruby/octokit: Remove old (diff)
downloadgentoo-ffebed96e4031f2c17a824f604a290d486cced80.tar.gz
gentoo-ffebed96e4031f2c17a824f604a290d486cced80.tar.bz2
gentoo-ffebed96e4031f2c17a824f604a290d486cced80.zip
dev-ruby/redis: Version bump to 3.3.2
Package-Manager: portage-2.3.3
Diffstat (limited to 'dev-ruby/redis')
-rw-r--r--dev-ruby/redis/Manifest1
-rw-r--r--dev-ruby/redis/redis-3.3.2.ebuild40
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-ruby/redis/Manifest b/dev-ruby/redis/Manifest
index 2b333e69737f..bb97c853712d 100644
--- a/dev-ruby/redis/Manifest
+++ b/dev-ruby/redis/Manifest
@@ -2,3 +2,4 @@ DIST redis-rb-3.0.7.tar.gz 64059 SHA256 70bc9da8d41af542f41dd8be0f69d005f981d719
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
+DIST redis-rb-3.3.2.tar.gz 88438 SHA256 2838902423f3e9c01a4638c9fb003c07e38df96d5b16e46b8ea68499a28eb321 SHA512 ef95922dcfd6b92a3086b1d2ff675852d9647824ae7b39f55000e50a1fcf31a9a5b99101bbbff3977558cd52eec0eaede9f42a4cd108752a1afebc60dc4d3869 WHIRLPOOL 71873685a6a875b6d69866f919ec00a3cefa2de8c97ea2e838d148e6ed346b985aba2c41316a9322634b92fd5fc020a7347fa5fc7566993f61125cb73579ee72
diff --git a/dev-ruby/redis/redis-3.3.2.ebuild b/dev-ruby/redis/redis-3.3.2.ebuild
new file mode 100644
index 000000000000..cb19df22f12b
--- /dev/null
+++ b/dev-ruby/redis/redis-3.3.2.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-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"
+}