summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-ruby/listen/Manifest1
-rw-r--r--dev-ruby/listen/listen-3.1.5.ebuild48
2 files changed, 49 insertions, 0 deletions
diff --git a/dev-ruby/listen/Manifest b/dev-ruby/listen/Manifest
index 5e4f7449bf0a..ed442ab87d95 100644
--- a/dev-ruby/listen/Manifest
+++ b/dev-ruby/listen/Manifest
@@ -5,3 +5,4 @@ DIST listen-3.0.5.tar.gz 48899 SHA256 bca371cb74ed989ddca7ede97656d23aab2819a876
DIST listen-3.0.6.tar.gz 48896 SHA256 1c6e110be9b9d825d07cce8d6773d2ae908d1c172ea8c747b9562918b30faf3c SHA512 baa9fcba86cd288ec86040cd855b37882b13307f9a7fea49f2cdb716053a1c5cb615bf15bfe18ce137e59d113ee9b284ff3f2b0c2c63ac1331fbff243723eb80 WHIRLPOOL d5e6e1afcc6c58787648e59b54de08c3f4d5515c3725b22a0673669284afc439187c1380a2f03b18d7ee7cf06cae3f286971c927485f009199055466629925d7
DIST listen-3.0.8.tar.gz 49637 SHA256 8322a3578acd62b467f387355d401bfa44a7364f0c6c9b3283282edad1009e19 SHA512 69fa4931be540185dab8f111e0b56bb37b369e89c5283089ececca9c907814b493cd3e31b12f2803a406f039ebaa966d6bf1367ebdcc72fe129e713063530135 WHIRLPOOL 6d85da5f7cff21c72db488514feefe14eda2c5f63db7e93e52464fd54489244a3e2fa2b174b59d8bf9904a1c103bb391098d5c5cdfe936f82b410bcefe7baab1
DIST listen-3.1.1.tar.gz 50510 SHA256 40e1748afff32ab2392da16254b2673b2e5b7eecda7934dc010f60c0eeddbf5d SHA512 db6a41407ed0a4bbb3502ae316a06a3cc96e8b2b3ac135e04bf06bcd84f40ded3816eb66fc745a380dd5cdd91463ca14531a00772d5d4c92f8d7c27cff736538 WHIRLPOOL fd77463b775aeed317e9f4da193f698c66d4ba25e11e3d22e9118d82a02eb424dc959dd2f07761fdf231907cab0783729fad45a7bc90e4606f6e440de0574585
+DIST listen-3.1.5.tar.gz 51250 SHA256 5a5b5656515be880f9b880dd3c7fd0bbbdc18dc162b159f7d627b4fb2de91538 SHA512 132266485d70002da5bd1e680530331db6b74e8ea12011d60a6ba7df0ec045459b5b3a6305bb2ea6a80ff6a4a1244ef935a4143f6c8709df7a176d6db69da08a WHIRLPOOL 325593d1db7b561e07cf5ccfe42d64a5e7edeede6aacb7d37394accf7b8f48d285bf6349c98b88b9699428bf4647b134509751487b22d9bf5e4fa0b877d349a6
diff --git a/dev-ruby/listen/listen-3.1.5.ebuild b/dev-ruby/listen/listen-3.1.5.ebuild
new file mode 100644
index 000000000000..0e2a7c90e242
--- /dev/null
+++ b/dev-ruby/listen/listen-3.1.5.ebuild
@@ -0,0 +1,48 @@
+# 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="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"
+IUSE="test"
+
+# Block on other packages trying to install a /usr/bin/listen
+RDEPEND+="!!media-sound/listen !!media-radio/ax25 !!<dev-ruby/listen-2.8.6-r1:2"
+
+ruby_add_rdepend ">=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
+}