diff options
author | Hans de Graaff <graaff@gentoo.org> | 2024-01-30 09:04:04 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2024-01-30 09:04:04 +0100 |
commit | d25d204a95812490ec1921f7e00c8afc404b97a2 (patch) | |
tree | 93e9ed97c398840b7b5e7270515c454ff0d18e80 /dev-ruby/dalli | |
parent | media-libs/libpng: fix png_check_sig ABI break (diff) | |
download | gentoo-d25d204a95812490ec1921f7e00c8afc404b97a2.tar.gz gentoo-d25d204a95812490ec1921f7e00c8afc404b97a2.tar.bz2 gentoo-d25d204a95812490ec1921f7e00c8afc404b97a2.zip |
dev-ruby/dalli: add 3.2.7
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/dalli')
-rw-r--r-- | dev-ruby/dalli/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/dalli/dalli-3.2.7.ebuild | 44 |
2 files changed, 45 insertions, 0 deletions
diff --git a/dev-ruby/dalli/Manifest b/dev-ruby/dalli/Manifest index d9a9adce645b..8fd6168def5b 100644 --- a/dev-ruby/dalli/Manifest +++ b/dev-ruby/dalli/Manifest @@ -1,2 +1,3 @@ DIST dalli-3.2.5.tar.gz 72496 BLAKE2B 2a8665aad98629ccab873a2b6b6661304b25dd2374ed3685f97dee83bf43c604088e43229ced951453d889fab7a1ec35b7fb3f0028858cf890a6013ac82b64c1 SHA512 ace079e3c9f7c30e2f266a07f87e58cbf4276f5ca4744ade76782a6a6047296bf5e23d40a4c1f4596b1eb150501c460f7cf89b33f308a774bcfe5825ec635760 DIST dalli-3.2.6.tar.gz 72683 BLAKE2B d3cf252862d796cb0e8320df0b35af91678949b1dc564054585252e98caed70681609857b7606663b4bda08a27112bc1d51779fc29ef045d0ec087ba80d6dfdd SHA512 93aa808123adb671c096543271407e497770a8f7481a961f48f11493f3a313113f0ec7829708d7352c0ade1f02a9842ecfc22ba7d93beb138db981d2bd1b94a9 +DIST dalli-3.2.7.tar.gz 73058 BLAKE2B 8baba122e1bba1254e38ed021ac0c494c27bccf65d99aa16f379824073457e2eb7f79b2e9ec4cb49153b682c48d6bdfdcbe64966a286dba7b45349ace81ca4a1 SHA512 771bb0863e86cd7c252cfc1a688dd820b3efd24d6038be8789e2d4c2604703b78b64d36d0b32bb81001d625fc116eb86b4421cb3b32de8918912a3995e68ee70 diff --git a/dev-ruby/dalli/dalli-3.2.7.ebuild b/dev-ruby/dalli/dalli-3.2.7.ebuild new file mode 100644 index 000000000000..41af68f1391e --- /dev/null +++ b/dev-ruby/dalli/dalli-3.2.7.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby31 ruby32 ruby33" + +RUBY_FAKEGEM_BINWRAP="" +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="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~x86" +IUSE="test" + +DEPEND+="${DEPEND} test? ( >=net-misc/memcached-1.5.4[ssl(-)] )" + +ruby_add_bdepend "test? ( + dev-ruby/connection_pool + dev-ruby/minitest:5 + dev-ruby/rack + dev-ruby/rack-session +)" + +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 +} |