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: Sun, 30 Oct 2022 09:17:48
Message-Id: 1667121433.9fcad98a6a5eaf8c1fb6181f4cbef906e6319a44.graaff@gentoo
1 commit: 9fcad98a6a5eaf8c1fb6181f4cbef906e6319a44
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Sun Oct 30 09:16:44 2022 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Sun Oct 30 09:17:13 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9fcad98a
7
8 dev-ruby/dalli: add 3.2.3
9
10 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
11
12 dev-ruby/dalli/Manifest | 1 +
13 dev-ruby/dalli/dalli-3.2.3.ebuild | 40 +++++++++++++++++++++++++++++++++++++++
14 2 files changed, 41 insertions(+)
15
16 diff --git a/dev-ruby/dalli/Manifest b/dev-ruby/dalli/Manifest
17 index d307c2794438..0cdd56eda81f 100644
18 --- a/dev-ruby/dalli/Manifest
19 +++ b/dev-ruby/dalli/Manifest
20 @@ -1,2 +1,3 @@
21 DIST dalli-2.7.11.tar.gz 52341 BLAKE2B 5b3a2bc57f4b0e3a9ac0d24ffa3bba89ea38665ac08ef3d7760fa6ce74db21d323a18e74a4f3009165364332731d7c6890df36c68409afbe21d3ac096275f028 SHA512 8f299a19d95293370564b6337bbdfeb32d928e0a95bf5f5df962ea20b039f4765da1797513ca96cabf93309484575481a02fb1e0c6d227f74c81fc72f95be22a
22 DIST dalli-3.2.2.tar.gz 70163 BLAKE2B 59b67fda686674ea4df36b503d7f362e052d2ad32b0f4fd07e90f8e5f39ec0760a5b3e0a3627a684c38bc3cd9ede8d0e6614825ef5154da9c281e2720a343e3f SHA512 6ac42c09aac7a5b8f4678449b8c1660f95232fd96f2885f7685f4c62573f435b76fcd2c06180bc05a493671ee9fed2c3ba9edb8ac318968b7725c3c76fb34544
23 +DIST dalli-3.2.3.tar.gz 71163 BLAKE2B cdb205f39dce8e7c64da808a5da8b0c295ca938b21d1a42f16a7fda06d47b11c9d357240d633b17ec140e90a1838d4e28da6333971eaad043ffd04508ffb7537 SHA512 43729fa6f7ee92d886e113c6c04f1334c74bcb189e5c75205cc955a94fe1e0d834f94b69d1e9408609f4039018417da74f9b80fc8851ed33ee3fd60fb77df224
24
25 diff --git a/dev-ruby/dalli/dalli-3.2.3.ebuild b/dev-ruby/dalli/dalli-3.2.3.ebuild
26 new file mode 100644
27 index 000000000000..5098f7d6272d
28 --- /dev/null
29 +++ b/dev-ruby/dalli/dalli-3.2.3.ebuild
30 @@ -0,0 +1,40 @@
31 +# Copyright 1999-2022 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=8
35 +USE_RUBY="ruby27 ruby30 ruby31"
36 +
37 +RUBY_FAKEGEM_TASK_TEST="MT_NO_PLUGINS=true test"
38 +
39 +RUBY_FAKEGEM_DOCDIR="doc"
40 +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md Performance.md README.md"
41 +
42 +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
43 +
44 +inherit ruby-fakegem
45 +
46 +DESCRIPTION="A high performance pure Ruby client for accessing memcached servers"
47 +HOMEPAGE="https://github.com/petergoldstein/dalli"
48 +SRC_URI="https://github.com/petergoldstein/dalli/archive/v${PV}.tar.gz -> ${P}.tar.gz"
49 +LICENSE="MIT"
50 +SLOT="0"
51 +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~x86"
52 +IUSE=""
53 +
54 +DEPEND+="${DEPEND} test? ( >=net-misc/memcached-1.5.4[ssl(-)] )"
55 +
56 +ruby_add_bdepend "test? (
57 + dev-ruby/minitest:5
58 + dev-ruby/rack
59 +)"
60 +
61 +all_ruby_prepare() {
62 + chmod 0755 "${HOME}" || die "Failed to fix permissions on home"
63 +
64 + sed -i -e '/\(appraisal\|bundler\)/ s:^:#:' Rakefile || die
65 +
66 + sed -i -e '3igem "minitest", "~> 5.0"; require "dalli"' \
67 + -e '/bundler/ s:^:#:' test/helper.rb || die
68 +
69 + sed -i -e "s:/tmp:${T}:" test/utils/certificate_generator.rb || die
70 +}