summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2022-10-30 10:16:44 +0100
committerHans de Graaff <graaff@gentoo.org>2022-10-30 10:17:13 +0100
commit9fcad98a6a5eaf8c1fb6181f4cbef906e6319a44 (patch)
treeba9d74041e2f6c998626a9ed3490f6d4b7da39c9 /dev-ruby
parentdev-ruby/dalli: drop 3.0.3, 3.2.1 (diff)
downloadgentoo-9fcad98a6a5eaf8c1fb6181f4cbef906e6319a44.tar.gz
gentoo-9fcad98a6a5eaf8c1fb6181f4cbef906e6319a44.tar.bz2
gentoo-9fcad98a6a5eaf8c1fb6181f4cbef906e6319a44.zip
dev-ruby/dalli: add 3.2.3
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/dalli/Manifest1
-rw-r--r--dev-ruby/dalli/dalli-3.2.3.ebuild40
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-ruby/dalli/Manifest b/dev-ruby/dalli/Manifest
index d307c2794438..0cdd56eda81f 100644
--- a/dev-ruby/dalli/Manifest
+++ b/dev-ruby/dalli/Manifest
@@ -1,2 +1,3 @@
DIST dalli-2.7.11.tar.gz 52341 BLAKE2B 5b3a2bc57f4b0e3a9ac0d24ffa3bba89ea38665ac08ef3d7760fa6ce74db21d323a18e74a4f3009165364332731d7c6890df36c68409afbe21d3ac096275f028 SHA512 8f299a19d95293370564b6337bbdfeb32d928e0a95bf5f5df962ea20b039f4765da1797513ca96cabf93309484575481a02fb1e0c6d227f74c81fc72f95be22a
DIST dalli-3.2.2.tar.gz 70163 BLAKE2B 59b67fda686674ea4df36b503d7f362e052d2ad32b0f4fd07e90f8e5f39ec0760a5b3e0a3627a684c38bc3cd9ede8d0e6614825ef5154da9c281e2720a343e3f SHA512 6ac42c09aac7a5b8f4678449b8c1660f95232fd96f2885f7685f4c62573f435b76fcd2c06180bc05a493671ee9fed2c3ba9edb8ac318968b7725c3c76fb34544
+DIST dalli-3.2.3.tar.gz 71163 BLAKE2B cdb205f39dce8e7c64da808a5da8b0c295ca938b21d1a42f16a7fda06d47b11c9d357240d633b17ec140e90a1838d4e28da6333971eaad043ffd04508ffb7537 SHA512 43729fa6f7ee92d886e113c6c04f1334c74bcb189e5c75205cc955a94fe1e0d834f94b69d1e9408609f4039018417da74f9b80fc8851ed33ee3fd60fb77df224
diff --git a/dev-ruby/dalli/dalli-3.2.3.ebuild b/dev-ruby/dalli/dalli-3.2.3.ebuild
new file mode 100644
index 000000000000..5098f7d6272d
--- /dev/null
+++ b/dev-ruby/dalli/dalli-3.2.3.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby27 ruby30 ruby31"
+
+RUBY_FAKEGEM_TASK_TEST="MT_NO_PLUGINS=true test"
+
+RUBY_FAKEGEM_DOCDIR="doc"
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md Performance.md README.md"
+
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A high performance pure Ruby client for accessing memcached servers"
+HOMEPAGE="https://github.com/petergoldstein/dalli"
+SRC_URI="https://github.com/petergoldstein/dalli/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~x86"
+IUSE=""
+
+DEPEND+="${DEPEND} test? ( >=net-misc/memcached-1.5.4[ssl(-)] )"
+
+ruby_add_bdepend "test? (
+ dev-ruby/minitest:5
+ dev-ruby/rack
+)"
+
+all_ruby_prepare() {
+ chmod 0755 "${HOME}" || die "Failed to fix permissions on home"
+
+ sed -i -e '/\(appraisal\|bundler\)/ s:^:#:' Rakefile || die
+
+ sed -i -e '3igem "minitest", "~> 5.0"; require "dalli"' \
+ -e '/bundler/ s:^:#:' test/helper.rb || die
+
+ sed -i -e "s:/tmp:${T}:" test/utils/certificate_generator.rb || die
+}