summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2021-11-12 07:29:46 +0100
committerHans de Graaff <graaff@gentoo.org>2021-11-12 07:29:46 +0100
commit79f84838e2e88a0690492a03aebfe683308ad80b (patch)
tree7b17ab168a56688b7f4e368d9cf229a3ad42ebd1 /dev-ruby/dalli
parentnet-misc/memcached: add ssl USE flag (diff)
downloadgentoo-79f84838e2e88a0690492a03aebfe683308ad80b.tar.gz
gentoo-79f84838e2e88a0690492a03aebfe683308ad80b.tar.bz2
gentoo-79f84838e2e88a0690492a03aebfe683308ad80b.zip
dev-ruby/dalli: add 3.0.3
Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/dalli')
-rw-r--r--dev-ruby/dalli/Manifest1
-rw-r--r--dev-ruby/dalli/dalli-3.0.3.ebuild38
2 files changed, 39 insertions, 0 deletions
diff --git a/dev-ruby/dalli/Manifest b/dev-ruby/dalli/Manifest
index c6651dff8a5c..055e499960b6 100644
--- a/dev-ruby/dalli/Manifest
+++ b/dev-ruby/dalli/Manifest
@@ -1 +1,2 @@
DIST dalli-2.7.11.tar.gz 52341 BLAKE2B 5b3a2bc57f4b0e3a9ac0d24ffa3bba89ea38665ac08ef3d7760fa6ce74db21d323a18e74a4f3009165364332731d7c6890df36c68409afbe21d3ac096275f028 SHA512 8f299a19d95293370564b6337bbdfeb32d928e0a95bf5f5df962ea20b039f4765da1797513ca96cabf93309484575481a02fb1e0c6d227f74c81fc72f95be22a
+DIST dalli-3.0.3.tar.gz 47633 BLAKE2B ee47bc7e4efcbd0d60c1663bf514f5a21d0fdeb70cfcf13ba46ae3c39926fd216db992c7ac1750d73ecf453d32feea9d2c22625b737e0bcbb8ae0d6870536828 SHA512 1feaecca963a6a4aa2f21e02302ddb5865fec0f5779911b4ec38a1199533b82edca46057355fa463353a8c7a6da3bf7c835ce51ca538bc38eb6014d4d362acb3
diff --git a/dev-ruby/dalli/dalli-3.0.3.ebuild b/dev-ruby/dalli/dalli-3.0.3.ebuild
new file mode 100644
index 000000000000..75cae3adf61e
--- /dev/null
+++ b/dev-ruby/dalli/dalli-3.0.3.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby26 ruby27 ruby30"
+
+RUBY_FAKEGEM_TASK_TEST="test"
+
+RUBY_FAKEGEM_DOCDIR="doc"
+RUBY_FAKEGEM_EXTRADOC="History.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 ~ppc ~ppc64 ~riscv ~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"' \
+ -e '/bundler/ s:^:#:' test/helper.rb || die
+}