From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 57048138351 for ; Sat, 15 Feb 2020 15:24:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 48648E0919; Sat, 15 Feb 2020 15:24:34 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2BD1BE0919 for ; Sat, 15 Feb 2020 15:24:34 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id AFE1934ECEF for ; Sat, 15 Feb 2020 15:24:32 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5CE4013A for ; Sat, 15 Feb 2020 15:24:30 +0000 (UTC) From: "Hans de Graaff" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Hans de Graaff" Message-ID: <1581780265.64a05f9822636f3706e1b0dbfc9e56f511db1510.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/dalli/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/dalli/dalli-2.7.10-r1.ebuild X-VCS-Directories: dev-ruby/dalli/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 64a05f9822636f3706e1b0dbfc9e56f511db1510 X-VCS-Branch: master Date: Sat, 15 Feb 2020 15:24:30 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: df9dd0d2-74c4-4498-a7fc-a67071649844 X-Archives-Hash: cf978c58b1ffed797157721647183dfe commit: 64a05f9822636f3706e1b0dbfc9e56f511db1510 Author: Hans de Graaff gentoo org> AuthorDate: Sat Feb 15 15:22:12 2020 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Sat Feb 15 15:24:25 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64a05f98 dev-ruby/dalli: add ruby27 Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/dalli/dalli-2.7.10-r1.ebuild | 50 +++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/dev-ruby/dalli/dalli-2.7.10-r1.ebuild b/dev-ruby/dalli/dalli-2.7.10-r1.ebuild new file mode 100644 index 00000000000..3dbf8da372c --- /dev/null +++ b/dev-ruby/dalli/dalli-2.7.10-r1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +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 ~x86" +IUSE="" + +DEPEND+="${DEPEND} test? ( >=net-misc/memcached-1.5.4 )" + +ruby_add_bdepend "test? ( + dev-ruby/minitest:5 + >=dev-ruby/mocha-0.13 + dev-ruby/rack + >=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.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 + + # Fix test compatability with memcached 1.5.4 and higher + # https://github.com/petergoldstein/dalli/pull/672 + sed -i -e '/memcached_low_mem_persistent/,/^end/ s/-M/-M -I 512k/' test/memcached_mock.rb || die +}