diff options
author | Hans de Graaff <graaff@gentoo.org> | 2021-04-04 07:45:26 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2021-04-04 08:53:51 +0200 |
commit | 11e74b3bb3b0becf1ac34607c39969062ecee905 (patch) | |
tree | def2a04e7a743152f36aadd46d1222dac7fa53d0 /dev-ruby/listen | |
parent | dev-ruby/unf_ext: add ruby30; fix extension (diff) | |
download | gentoo-11e74b3bb3b0becf1ac34607c39969062ecee905.tar.gz gentoo-11e74b3bb3b0becf1ac34607c39969062ecee905.tar.bz2 gentoo-11e74b3bb3b0becf1ac34607c39969062ecee905.zip |
dev-ruby/listen: add 3.5.1
Package-Manager: Portage-3.0.17, 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/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/listen/listen-3.5.1.ebuild | 47 |
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-ruby/listen/Manifest b/dev-ruby/listen/Manifest index b4d7bb401faf..e9c8f7cc4bc8 100644 --- a/dev-ruby/listen/Manifest +++ b/dev-ruby/listen/Manifest @@ -3,3 +3,4 @@ DIST listen-3.3.3.tar.gz 52994 BLAKE2B 95831a65a75cae28b767696bbe5969cd7115657fa DIST listen-3.4.0.tar.gz 55390 BLAKE2B 44f0319a19cbac9535b585380c95a4c538a19f9b66a837ccb78ede4d2e8d2c49d0c78ff21913a8de959de43dfb62f4e5489ce70b06e0d5c47e19be81e42fa8dc SHA512 b247c6ec907141549943fd1eae4075c18efb653dbb666bd8b71876c4bd96ae637d4634746815ef1f35335414ff833479fbb2a5a997df994d16bb42b21775b5a2 DIST listen-3.4.1.tar.gz 56014 BLAKE2B 7a44a1ca960d8ae0cedd3b0128c4d8048b6f4f4168fa522c376708ebac1996076b36ce3054d179f5bb2267328473f63ef3ec2cb0c22a1fd56c5aff957a3c77b8 SHA512 fc745b7a825beda526588a5227c81c6f3c686d25968fc67c9c0df3c2beba343fc558453dd5c51b4cd82b072b3834526403ad5c06cda2cb57362bfafd105d54f3 DIST listen-3.5.0.tar.gz 56232 BLAKE2B 55f7c70625165b368ebf62c1327a86daa512f6597e3fa0ae08b6069a9cde5a69ed2ae9928258e61b06838c058f8d5d3fa968a6caf2848ef958f04272b55db88c SHA512 9a855f0ee3fd5d542863d6d9ee072b1fb85f52a00d79dff43a48a43530697613cc17672f30de71d0eec1139080836fa1b316a07fad5c87d43a3cc1bfa3e48dd6 +DIST listen-3.5.1.tar.gz 56236 BLAKE2B e74186532d5aa9fa7488d0734867d7ec7218036b10769667b8818d057af4d8a973204ce68f687fa508d5d2ed879b0ba6287c3b93fb05eaedfc63a8dc251523b9 SHA512 d7475e295b5123c5a8f166891e866de60379f28d61ab0610774bdf499bcf0859807ea2abb31fd6e708c106f926282376aec94ce268e6709884a63852e820ae74 diff --git a/dev-ruby/listen/listen-3.5.1.ebuild b/dev-ruby/listen/listen-3.5.1.ebuild new file mode 100644 index 000000000000..4f0f5cd73c9f --- /dev/null +++ b/dev-ruby/listen/listen-3.5.1.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 ruby30" + +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 +} |