dev-ruby/dalli: cleanup

Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
This commit is contained in:
Hans de Graaff
2019-10-25 09:09:10 +02:00
parent cb4fa7e6b1
commit 5d11702bb2
2 changed files with 0 additions and 47 deletions

View File

@@ -1,2 +1 @@
DIST dalli-2.7.10.tar.gz 52106 BLAKE2B 0531247c1d615acd7d1124b8aceb5635088b55e5a85753f10b8fbd786ec3573f13df096e1537d9a31f3801632406f28d918de5971cb28ec31d6eb8387d0c74f1 SHA512 1b6308ef37d729d85741306c10bf87c9b9733f83f0b4bf089f3eced36c48cddd9a77d2fb44a77778844d1cafaa3cec5110a9c90f6a67dee08a96e163e6ccaf65
DIST dalli-2.7.8.tar.gz 51599 BLAKE2B 935fc1b0ffb2c93c0ef8ab6a82e63b4e272c51ae6c2cbd0c670953c0943942c25b4c795ca7953ad4e53284f6b6e35b44be386ec4dba0c96345256e3b3173152d SHA512 5fa48a01db15fdafa179663b71867dd6a9c2ab7b4b94434f650c1ce37bd71caa2bb22efe032a4eed777538cdc341f22a251d14772aaba62f4a6d9d8c33b6a346

View File

@@ -1,46 +0,0 @@
# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
USE_RUBY="ruby23 ruby24 ruby25"
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 ~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.2 <dev-ruby/activesupport-5.2
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 '3igem "minitest", "~> 5.0"; gem "activesupport", "< 5.2"' \
-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
}