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 11D8B1382C5 for ; Thu, 3 May 2018 04:42:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 32D0EE0A9B; Thu, 3 May 2018 04:42:42 +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 0632DE0A9B for ; Thu, 3 May 2018 04:42:41 +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 ED4E1335C74 for ; Thu, 3 May 2018 04:42:40 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9A08638 for ; Thu, 3 May 2018 04:42:37 +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: <1525322174.3a9c5a02e4480feb230a45eb8c3a90d73a32d4e1.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/listen/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/listen/listen-3.1.5-r2.ebuild X-VCS-Directories: dev-ruby/listen/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 3a9c5a02e4480feb230a45eb8c3a90d73a32d4e1 X-VCS-Branch: master Date: Thu, 3 May 2018 04:42:37 +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-Archives-Salt: 1c5d8a62-1477-4852-8a7d-4a997b42a889 X-Archives-Hash: 73626167c7afde45da6a4fdcc96da343 commit: 3a9c5a02e4480feb230a45eb8c3a90d73a32d4e1 Author: Hans de Graaff gentoo org> AuthorDate: Thu May 3 04:36:14 2018 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Thu May 3 04:36:14 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a9c5a02 dev-ruby/listen: add ruby25 revision Package-Manager: Portage-2.3.24, Repoman-2.3.6 dev-ruby/listen/listen-3.1.5-r2.ebuild | 47 ++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/dev-ruby/listen/listen-3.1.5-r2.ebuild b/dev-ruby/listen/listen-3.1.5-r2.ebuild new file mode 100644 index 00000000000..3b3c982054d --- /dev/null +++ b/dev-ruby/listen/listen-3.1.5-r2.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +SRC_URI="https://github.com/guard/listen/archive/v${PV}.tar.gz -> ${P}.tar.gz" +DESCRIPTION="Listens to file modifications and notifies you about the changes" +HOMEPAGE="https://github.com/guard/listen" + +LICENSE="MIT" +SLOT="3" +KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86" +IUSE="test" + +# Block on other packages trying to install a /usr/bin/listen +RDEPEND+="!!media-sound/listen !!media-radio/ax25 !!=dev-ruby/rb-inotify-0.9.7 >=dev-ruby/ruby_dep-1.2:1" + +ruby_add_bdepend "test? ( dev-ruby/thor )" + +all_ruby_prepare() { + rm -f Gemfile || die + sed -i -e "/git/,+3d" -e "/rb-fsevent/d" ${PN}.gemspec || die + sed -i -e "/rb-fsevent/d" lib/listen/adapter/darwin.rb || die + rm -rf spec/lib/listen/adapter/darwin_spec.rb || die +} + +each_ruby_prepare() { + mkdir spec/.fixtures || die +} + +each_ruby_test() { + RSPEC_VERSION=3 ruby-ng_rspec + rm -rf spec/.fixtures || die +}