summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2021-01-03 09:03:34 +0100
committerHans de Graaff <graaff@gentoo.org>2021-01-03 09:05:25 +0100
commit105235fa8e313f6eee71b530bebffa045ffd3a83 (patch)
tree5743c03554b3de05f39ab264430b6a5d0c37defe /dev-ruby/listen
parentdev-ruby/mocha: add 1.12.0 (diff)
downloadgentoo-105235fa8e313f6eee71b530bebffa045ffd3a83.tar.gz
gentoo-105235fa8e313f6eee71b530bebffa045ffd3a83.tar.bz2
gentoo-105235fa8e313f6eee71b530bebffa045ffd3a83.zip
dev-ruby/listen: add 3.4.0
Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/listen')
-rw-r--r--dev-ruby/listen/Manifest1
-rw-r--r--dev-ruby/listen/listen-3.4.0.ebuild47
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-ruby/listen/Manifest b/dev-ruby/listen/Manifest
index 833ac7d6262e..40944bc34ddc 100644
--- a/dev-ruby/listen/Manifest
+++ b/dev-ruby/listen/Manifest
@@ -4,3 +4,4 @@ DIST listen-3.3.0.tar.gz 53387 BLAKE2B 4e68e0789fde26c43bdeaba3742d1e3ca6f573441
DIST listen-3.3.1.tar.gz 53470 BLAKE2B 6dfe8074883cbced8f7b707414309428b16e755e6652106cb0525dbee0a7596ae1b57b22e8dca665294d9a23de6776738ecb527ea8467fa6c0ff5a04ecdd04f6 SHA512 fbdd743eecd7be5431e7a698d8a00b17f0889975292b1eb798ab8fbddf997aaeb296ee13f846481bc68fbcd512e91f65296792829557a1d420a422717bf1e8a5
DIST listen-3.3.2.tar.gz 52911 BLAKE2B c9a086a37def00b6d48477a3ebac9735ceb4dd08c122555e45223dc60a382d313de0aadc86c853f1c6f3b91d82a7f5dfb5b2bacfa19fd7768ef6aced8ae0e4d0 SHA512 9f9f04138c836872370fca766fda0f8305c953ab2ee06790112692d5c19529b0c16b9cccd492003778972aca700dbdcfcb111b23f22c2c3ba5252dbeebb21e07
DIST listen-3.3.3.tar.gz 52994 BLAKE2B 95831a65a75cae28b767696bbe5969cd7115657fa56e01701f3b17d5bd727a053cbac16928d8c7c2a19ad24ea3c99afdadd1e9ebbae0a66d03a511ded7d32734 SHA512 73ad762086e7961e45f1245e5aa32c738824736b7d373c31565832c3acf25f91cbc9c25d7bdffb27cf953cb2b2bb37adfddcc6888f3a1b317f70cba75c2ce67c
+DIST listen-3.4.0.tar.gz 55390 BLAKE2B 44f0319a19cbac9535b585380c95a4c538a19f9b66a837ccb78ede4d2e8d2c49d0c78ff21913a8de959de43dfb62f4e5489ce70b06e0d5c47e19be81e42fa8dc SHA512 b247c6ec907141549943fd1eae4075c18efb653dbb666bd8b71876c4bd96ae637d4634746815ef1f35335414ff833479fbb2a5a997df994d16bb42b21775b5a2
diff --git a/dev-ruby/listen/listen-3.4.0.ebuild b/dev-ruby/listen/listen-3.4.0.ebuild
new file mode 100644
index 000000000000..ee04d1c2272e
--- /dev/null
+++ b/dev-ruby/listen/listen-3.4.0.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+USE_RUBY="ruby25 ruby26 ruby27"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+RUBY_FAKEGEM_RECIPE_DOC="none"
+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 ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
+IUSE="test"
+
+# Block on other packages trying to install a /usr/bin/listen
+RDEPEND+="!!media-radio/ax25-apps !!<dev-ruby/listen-2.8.6-r1:2"
+
+ruby_add_rdepend ">=dev-ruby/rb-inotify-0.9.10"
+
+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
+}