diff options
author | Hans de Graaff <graaff@gentoo.org> | 2015-12-18 07:58:04 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2015-12-19 08:47:34 +0100 |
commit | 2f980edfdf73740374d0e7eea25486f08716a5f2 (patch) | |
tree | c4f0a0d979c15cd20b68245c8d88fa9fff294855 | |
parent | sys-apps/sandbox: version bump to 2.10 (diff) | |
download | gentoo-2f980edfdf73740374d0e7eea25486f08716a5f2.tar.gz gentoo-2f980edfdf73740374d0e7eea25486f08716a5f2.tar.bz2 gentoo-2f980edfdf73740374d0e7eea25486f08716a5f2.zip |
dev-ruby/dalli: add 2.7.5
Package-Manager: portage-2.2.24
-rw-r--r-- | dev-ruby/dalli/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/dalli/dalli-2.7.5.ebuild | 47 |
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-ruby/dalli/Manifest b/dev-ruby/dalli/Manifest index 34237b4b2e17..b56a92573e68 100644 --- a/dev-ruby/dalli/Manifest +++ b/dev-ruby/dalli/Manifest @@ -1,2 +1,3 @@ DIST dalli-2.6.4.gem 40448 SHA256 04fde96890b41a4b4c71bdcdddbf8522d7685bd3b57d4632ef2f4a04c481cbc1 SHA512 ce734e1d122a9b20c567497ff88dbbf5ddb03912e88ae70199746808695c139062a25797c34b82a203139568f44791dd09a91eff9b4816d26ce50f6e74cef860 WHIRLPOOL 3a30d3ddcdfc976a42a9d0feb1b8beaa39c5b45179127a01e1493899dc68c18cb79f06e57ad32c8b03dccec6c82652b218b4691567530954af0e77fab2ffa5ea DIST dalli-2.7.4.gem 47616 SHA256 acdf155946cda8eb55edb9af7c44888dc8b726930f157729ffa67f5bc2fc8a7b SHA512 2bd1efeb245177f15feb02fdf40ef1d2bf0cb820a2a881ef810b3d30aa837ad53dc755c5ce8b95de689c27ec83d93e85501d9b5b1e57c8bf0c6eeff8bd42a78f WHIRLPOOL 7866f0500ad2c28d8cae0a8802376474ccc31696d4e5871b1802fdcd6b4f49fdf822bf789458962e7b17a2d05ff3a114d6a8de15919efc6f218ff55a56f0a002 +DIST dalli-2.7.5.tar.gz 46899 SHA256 405eca6938d9c59b1bc1b58fa2c0867f726184f7095d41ce8a4e7d9f4c3d84eb SHA512 5477a2a34efa932d675dbfe31cc48b45c3a9eff5cf64cc7210b996d811bd8d6f1ffff1e5a6eb4e50cb680ac62f39c06a09612341a6a8a855246cca7596cc5146 WHIRLPOOL 16351abc5c2cb43dfa8c107e492a18243aeb37ad58bc4d4130394f62844cddf57b542d42cae4262f40513b2304d64ae280efe4f2dea8e75adfc5ae00bdc504de diff --git a/dev-ruby/dalli/dalli-2.7.5.ebuild b/dev-ruby/dalli/dalli-2.7.5.ebuild new file mode 100644 index 000000000000..c6e45e5c4625 --- /dev/null +++ b/dev-ruby/dalli/dalli-2.7.5.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +USE_RUBY="ruby20 ruby21" + +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="~alpha ~amd64 ~arm ~hppa ~ppc64 ~x86" +IUSE="" + +DEPEND+="${DEPEND} test? ( >=net-misc/memcached-1.4.0 )" + +ruby_add_bdepend "test? ( + dev-ruby/minitest:5 + >=dev-ruby/mocha-0.13 + dev-ruby/rack + >=dev-ruby/activesupport-4.1 + dev-ruby/connection_pool )" + +all_ruby_prepare() { + chmod 0755 "${HOME}" || die "Failed to fix permissions on home" + + sed -i -e '/\(appraisal\|bundler\)/ s:^:#:' Rakefile || die + + sed -i -e '1igem "minitest", "~> 5.0"' \ + -e '/bundler/ s:^:#:' test/helper.rb || die + + # Drop rails dependency which is only used to display the version + # number, so we only need to depend on activesupport and avoid + # complicated circular dependencies. + sed -i -e '/rails/I s:^:#:' \ + -e '14irequire "active_support"' test/helper.rb || die +} |