Gentoo Archives: gentoo-commits

From: Hans de Graaff <graaff@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/hiredis/
Date: Sun, 31 Oct 2021 08:11:34
Message-Id: 1635667887.f35fc6d3d752630619d3acece358a256e72c04d6.graaff@gentoo
1 commit: f35fc6d3d752630619d3acece358a256e72c04d6
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Sun Oct 31 06:02:00 2021 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Sun Oct 31 08:11:27 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f35fc6d3
7
8 dev-ruby/hiredis: cleanup
9
10 Package-Manager: Portage-3.0.28, Repoman-3.0.3
11 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
12
13 dev-ruby/hiredis/hiredis-0.6.3.ebuild | 48 -----------------------------------
14 1 file changed, 48 deletions(-)
15
16 diff --git a/dev-ruby/hiredis/hiredis-0.6.3.ebuild b/dev-ruby/hiredis/hiredis-0.6.3.ebuild
17 deleted file mode 100644
18 index 7f495d63194..00000000000
19 --- a/dev-ruby/hiredis/hiredis-0.6.3.ebuild
20 +++ /dev/null
21 @@ -1,48 +0,0 @@
22 -# Copyright 1999-2021 Gentoo Authors
23 -# Distributed under the terms of the GNU General Public License v2
24 -
25 -EAPI=6
26 -
27 -USE_RUBY="ruby23 ruby24 ruby25 ruby26"
28 -
29 -MY_P="hiredis-rb-${PV}"
30 -
31 -RUBY_FAKEGEM_RECIPE_DOC="rdoc"
32 -RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
33 -
34 -inherit ruby-fakegem toolchain-funcs
35 -
36 -DESCRIPTION="Wrapper for hiredis (protocol serialization/deserialization and blocking I/O)"
37 -HOMEPAGE="https://github.com/redis/hiredis-rb"
38 -SRC_URI="https://github.com/redis/hiredis-rb/archive/v${PV}.tar.gz -> ${MY_P}.tar.gz"
39 -
40 -LICENSE="BSD"
41 -SLOT="0"
42 -KEYWORDS="~amd64"
43 -IUSE=""
44 -
45 -RDEPEND+=" >=dev-libs/hiredis-0.14:="
46 -DEPEND+=" dev-libs/hiredis test? ( dev-ruby/test-unit:2 )"
47 -DEPEND+=" virtual/pkgconfig"
48 -
49 -RUBY_S="${MY_P}"
50 -
51 -PATCHES=( "${FILESDIR}/${PN}-0.6.1-unvendor-hiredis.patch" )
52 -
53 -all_ruby_prepare() {
54 - sed -i -e 's:/tmp/:'${T}'/:' test/connection_test.rb || die
55 -}
56 -
57 -each_ruby_configure() {
58 - tc-export PKG_CONFIG
59 - CC=$(tc-getCC) ${RUBY} -Cext/hiredis_ext extconf.rb || die
60 -}
61 -
62 -each_ruby_compile() {
63 - emake V=1 -Cext/hiredis_ext
64 - cp ext/hiredis_ext/hiredis_ext.so lib/hiredis/ext/ || die
65 -}
66 -
67 -each_ruby_test() {
68 - ${RUBY} -Ilib:. -e 'Dir["test/*_test.rb"].each{|f| require f}' || die
69 -}