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/dalli/
Date: Tue, 06 Jul 2021 07:49:18
Message-Id: 1625557747.6cca5694ba122bbeb48424710ca2fa9991cac590.graaff@gentoo
1 commit: 6cca5694ba122bbeb48424710ca2fa9991cac590
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jul 6 06:59:09 2021 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Tue Jul 6 07:49:07 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6cca5694
7
8 dev-ruby/dalli: cleanup
9
10 Package-Manager: Portage-3.0.20, Repoman-3.0.2
11 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
12
13 dev-ruby/dalli/dalli-2.7.10-r1.ebuild | 50 -----------------------------------
14 1 file changed, 50 deletions(-)
15
16 diff --git a/dev-ruby/dalli/dalli-2.7.10-r1.ebuild b/dev-ruby/dalli/dalli-2.7.10-r1.ebuild
17 deleted file mode 100644
18 index 3dbf8da372c..00000000000
19 --- a/dev-ruby/dalli/dalli-2.7.10-r1.ebuild
20 +++ /dev/null
21 @@ -1,50 +0,0 @@
22 -# Copyright 1999-2020 Gentoo Authors
23 -# Distributed under the terms of the GNU General Public License v2
24 -
25 -EAPI=6
26 -USE_RUBY="ruby24 ruby25 ruby26 ruby27"
27 -
28 -RUBY_FAKEGEM_TASK_TEST="test"
29 -
30 -RUBY_FAKEGEM_DOCDIR="doc"
31 -RUBY_FAKEGEM_EXTRADOC="History.md Performance.md README.md"
32 -
33 -RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
34 -
35 -inherit ruby-fakegem
36 -
37 -DESCRIPTION="A high performance pure Ruby client for accessing memcached servers"
38 -HOMEPAGE="https://github.com/petergoldstein/dalli"
39 -SRC_URI="https://github.com/petergoldstein/dalli/archive/v${PV}.tar.gz -> ${P}.tar.gz"
40 -LICENSE="MIT"
41 -SLOT="0"
42 -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~x86"
43 -IUSE=""
44 -
45 -DEPEND+="${DEPEND} test? ( >=net-misc/memcached-1.5.4 )"
46 -
47 -ruby_add_bdepend "test? (
48 - dev-ruby/minitest:5
49 - >=dev-ruby/mocha-0.13
50 - dev-ruby/rack
51 - >=dev-ruby/activesupport-5.2
52 - dev-ruby/connection_pool )"
53 -
54 -all_ruby_prepare() {
55 - chmod 0755 "${HOME}" || die "Failed to fix permissions on home"
56 -
57 - sed -i -e '/\(appraisal\|bundler\)/ s:^:#:' Rakefile || die
58 -
59 - sed -i -e '3igem "minitest", "~> 5.0"; gem "activesupport", ">=5.2.0"' \
60 - -e '/bundler/ s:^:#:' test/helper.rb || die
61 -
62 - # Drop rails dependency which is only used to display the version
63 - # number, so we only need to depend on activesupport and avoid
64 - # complicated circular dependencies.
65 - sed -i -e '/rails/I s:^:#:' \
66 - -e '14irequire "active_support"' test/helper.rb || die
67 -
68 - # Fix test compatability with memcached 1.5.4 and higher
69 - # https://github.com/petergoldstein/dalli/pull/672
70 - sed -i -e '/memcached_low_mem_persistent/,/^end/ s/-M/-M -I 512k/' test/memcached_mock.rb || die
71 -}