diff options
author | Hans de Graaff <graaff@gentoo.org> | 2022-01-15 07:16:02 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2022-01-15 07:29:10 +0100 |
commit | 807399df43357dd46ccd88779f44cc78277878c4 (patch) | |
tree | 66c4c99ee75905086bf0b63140c65eb4bf43f65e /dev-ruby/listen | |
parent | dev-ruby/ruby-romkan: stable all arches (diff) | |
download | gentoo-807399df43357dd46ccd88779f44cc78277878c4.tar.gz gentoo-807399df43357dd46ccd88779f44cc78277878c4.tar.bz2 gentoo-807399df43357dd46ccd88779f44cc78277878c4.zip |
dev-ruby/listen: add 3.7.1
Package-Manager: Portage-3.0.28, Repoman-3.0.3
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.7.1.ebuild | 47 |
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-ruby/listen/Manifest b/dev-ruby/listen/Manifest index f39cbfb33888..82055a440bc3 100644 --- a/dev-ruby/listen/Manifest +++ b/dev-ruby/listen/Manifest @@ -2,3 +2,4 @@ DIST listen-1.3.1-git.tgz 35521 BLAKE2B 6b93daff2b3ba221d0c0f196c67353963e983610 DIST listen-3.5.1.tar.gz 56236 BLAKE2B e74186532d5aa9fa7488d0734867d7ec7218036b10769667b8818d057af4d8a973204ce68f687fa508d5d2ed879b0ba6287c3b93fb05eaedfc63a8dc251523b9 SHA512 d7475e295b5123c5a8f166891e866de60379f28d61ab0610774bdf499bcf0859807ea2abb31fd6e708c106f926282376aec94ce268e6709884a63852e820ae74 DIST listen-3.6.0.tar.gz 56134 BLAKE2B 6826426c5e46fa10145148d545ebdda278af080c4ddda8b055189a9aec91c26302c991ba69199d2616ae171ac85cb0ec6cef657980e6b984bc09513adabf3d16 SHA512 32b93ee98333657f8dfcaa8e5c9aa291d5413ddfadac3c3ff34edd2a2273e119922dee71825d6b06a6e86951deb96a676a8b9cdd98431fd21c55557a154702ee DIST listen-3.7.0.tar.gz 56192 BLAKE2B eb7d154dc0e608d43b6751db630f0b99e89fbfefd61e718aa99cc6a03c47e1a4aaaa55d42f1ae75351f4397c60902dcc78d8c9e8250899f075c351a7fd781069 SHA512 86942d60cc57a0a960ba813c3b90ca33c47513bb609c1861c792ce2b9b37371998859c0d6e1cd979d4a3427319d3a75454dfffa068ca1dec22d38497add1335c +DIST listen-3.7.1.tar.gz 56280 BLAKE2B 3e0409ca5d636ddde8493e6cab342ca724c98f5ceb4f4abd306d1ec081095387d7d5d6da48d05f47ee50e23475f5685bd23ab7c2592b5697de6bd8292f30c174 SHA512 f082e177b14f86c0906af3760f2da81b1574aee5931ef308c640c537bf0e70488b9854c7f1515545ddee76d4a203734b47a9a3d501955214562cec7acc590e1e diff --git a/dev-ruby/listen/listen-3.7.1.ebuild b/dev-ruby/listen/listen-3.7.1.ebuild new file mode 100644 index 000000000000..51354f670a70 --- /dev/null +++ b/dev-ruby/listen/listen-3.7.1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="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 ~riscv ~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 +} |