diff options
author | Hans de Graaff <graaff@gentoo.org> | 2024-02-25 12:49:24 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2024-02-25 12:49:40 +0100 |
commit | 3a2705ba386ba34094dbc584d8943fd26993b4fc (patch) | |
tree | b169e050e2bddfdba51a74911f444c12afafcb52 /dev-ruby/listen | |
parent | x11-plugins/pidgin-libnotify: add myself as a maintainer (diff) | |
download | gentoo-3a2705ba386ba34094dbc584d8943fd26993b4fc.tar.gz gentoo-3a2705ba386ba34094dbc584d8943fd26993b4fc.tar.bz2 gentoo-3a2705ba386ba34094dbc584d8943fd26993b4fc.zip |
dev-ruby/listen: add 3.9.0
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.9.0.ebuild | 47 |
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-ruby/listen/Manifest b/dev-ruby/listen/Manifest index 07d1635ac3e4..6ac01a9a06df 100644 --- a/dev-ruby/listen/Manifest +++ b/dev-ruby/listen/Manifest @@ -1 +1,2 @@ DIST listen-3.8.0.tar.gz 56514 BLAKE2B 5b316487defe902f755bc53e40052289d03052d3fc54cf2431bb833204ea0fdee9dffa26e2d6d78267f96214a6d1ca3f097c175ec6ccf9cd3037eff64abd3169 SHA512 9f1cb065f3db96d3d416ba255b327a10dfdc6cd72f1509bd4fa95a157966bc436282fd37cf16df645ede1594e8eda62c7cc0934936db9d118d39a55521e7c35e +DIST listen-3.9.0.tar.gz 57903 BLAKE2B 819ba309ab78179590946eca5cceb0bd8a82411f3b8af63c25a3735a7c33b1560b36d48fd0f1d4617fa84927adff0ff74cffa9682835c49089f545af68cabefb SHA512 abec4720db6331da5b3d7ea998a9e2cc77e55ad4919b473c0172f6e852dcb376671379b79cad88fb5a850cd2ba2178d36a3bd2534cd81408186805497d58238f diff --git a/dev-ruby/listen/listen-3.9.0.ebuild b/dev-ruby/listen/listen-3.9.0.ebuild new file mode 100644 index 000000000000..3f7e818cef6c --- /dev/null +++ b/dev-ruby/listen/listen-3.9.0.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby31 ruby32 ruby33" + +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="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="test" + +# Block on other packages trying to install a /usr/bin/listen +RDEPEND+="!!media-radio/ax25-apps" + +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 +} |