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 A0E2213832E for ; Mon, 18 Jul 2016 06:49:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5A206E0B80; Mon, 18 Jul 2016 06:49:06 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8CE7FE0B76 for ; Mon, 18 Jul 2016 06:49:05 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CF9F034087F for ; Mon, 18 Jul 2016 06:49:03 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 73E51244C for ; Mon, 18 Jul 2016 06:49:00 +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: <1468824475.08c5d81c0b19c83c0ae2d8988798eae818b2fe25.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-1.3.1-r4.ebuild X-VCS-Directories: dev-ruby/listen/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 08c5d81c0b19c83c0ae2d8988798eae818b2fe25 X-VCS-Branch: master Date: Mon, 18 Jul 2016 06:49:00 +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: 7dcaa8a1-199c-4f91-9e1a-50d88f7da2aa X-Archives-Hash: ca0c89281244f19bdbf2aaf445e5734b commit: 08c5d81c0b19c83c0ae2d8988798eae818b2fe25 Author: Hans de Graaff gentoo org> AuthorDate: Sat Jul 16 08:04:56 2016 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Mon Jul 18 06:47:55 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=08c5d81c dev-ruby/listen: add ruby23 revision Package-Manager: portage-2.2.28 dev-ruby/listen/listen-1.3.1-r4.ebuild | 36 ++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/dev-ruby/listen/listen-1.3.1-r4.ebuild b/dev-ruby/listen/listen-1.3.1-r4.ebuild new file mode 100644 index 0000000..a7eb38f --- /dev/null +++ b/dev-ruby/listen/listen-1.3.1-r4.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +USE_RUBY="ruby20 ruby21 ruby22 ruby23" + +RUBY_FAKEGEM_RECIPE_TEST="rspec" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Listens to file modifications and notifies you about the changes" +HOMEPAGE="https://github.com/guard/listen" +SRC_URI="https://github.com/guard/listen/archive/v${PV}.tar.gz -> ${P}-git.tgz" + +LICENSE="MIT" +SLOT="1" +KEYWORDS="~amd64 ~arm ~ppc64 ~amd64-linux ~x64-macos" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/rb-inotify-0.9.0" + +all_ruby_prepare() { + sed -i -e '/[Cc]overalls/d' spec/spec_helper.rb || die + # Drop failing test + sed -i -e '/#85/,+17d' spec/listen/directory_record_spec.rb || die + + # Drop dependencies for file system events not available on Gentoo. + sed -i -e '/\(fsevent\|kqueue\)/d' ${RUBY_FAKEGEM_GEMSPEC} || die +}