commit: 87af93b00ffdd8a80e9bb706b109c2cf7c0f8fb7 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> AuthorDate: Tue Jul 26 17:30:38 2016 +0000 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> CommitDate: Wed Jul 27 05:19:37 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87af93b0
dev-ruby/listen: add 3.0.8 Package-Manager: portage-2.2.28 dev-ruby/listen/Manifest | 1 + dev-ruby/listen/listen-3.0.8.ebuild | 52 +++++++++++++++++++++++++++++++++++++ 2 files changed, 53 insertions(+) diff --git a/dev-ruby/listen/Manifest b/dev-ruby/listen/Manifest index 4b0ac9d..5e4f744 100644 --- a/dev-ruby/listen/Manifest +++ b/dev-ruby/listen/Manifest @@ -3,4 +3,5 @@ DIST listen-1.3.1-git.tgz 35521 SHA256 36676ee96fac67e46f52227ce8590a7532b0861ad DIST listen-2.8.6.tar.gz 44932 SHA256 69e3577b50e8b14378a38680f87e7ad2d69e2b1a54c51959b7757b39f8ca8875 SHA512 5ce81b3ae58f26865b2823bdc6dcd701a96be2fb6140ddb89ff7f3bed73b9f5e0fb384dfe1bdc6ee2282ad958cd89039cea3689a29432730bb58b179cf8f3541 WHIRLPOOL 1d6c7a616f3c68768b1a687b24d4785ba402d0f037b276c64d3b16bc0d3d39a6fcc3a36cc0b26e46e7e85f2453d1f0d97af82d76b42326c6c26835d60cf4ec37 DIST listen-3.0.5.tar.gz 48899 SHA256 bca371cb74ed989ddca7ede97656d23aab2819a8767803bbbeacf70c3d3fd9ea SHA512 d8658f0dce4b9db42960843ebf96f8cbff86f33bd830f5869842bb93f16d0aa59494ee7558d6924fb4f9000e4c3e6e0a5013a1005670f78b0f0ac499a16ab2da WHIRLPOOL 26cf9c8ec538f45869cf25e9463c15ca15f8cf0230b30a11d569426d37824098ea5734ae951b23791b5c7cd480b82ad66f8b83a5695764f367b4cf52186ccdc3 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 diff --git a/dev-ruby/listen/listen-3.0.8.ebuild b/dev-ruby/listen/listen-3.0.8.ebuild new file mode 100644 index 0000000..a8f1dd3 --- /dev/null +++ b/dev-ruby/listen/listen-3.0.8.ebuild @@ -0,0 +1,52 @@ +# 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 ~arm ~ppc64 ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +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" + +ruby_add_bdepend "test? ( dev-ruby/thor )" + +all_ruby_prepare() { + rm -f Gemfile || die + + # Avoid dependency on rb-fsevent since we do not support Darwin + sed -i -e "/git/,+3d" -e "/rb-fsevent/d" ${PN}.gemspec || die + rm -rf spec/lib/listen/adapter/darwin_spec.rb || die + # Try Linux first since we now we use Linux and since the Darwin + # adapter now throws errors when rb-fsevent is not present. + sed -i -e 's/Darwin, Linux/Linux, Darwin/' lib/listen/adapter.rb || die +} + +each_ruby_prepare() { + mkdir spec/.fixtures || die +} + +each_ruby_test() { + RSPEC_VERSION=3 ruby-ng_rspec + rm -rf spec/.fixtures || die +}