diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-12 19:09:37 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-12 19:09:37 -0500 |
| commit | b590c8d7572b727d565cc0b8ff660d43569845de (patch) | |
| tree | 06f7a4102ea4e845df8b66660f252920d52952f9 /dev-ruby/rb-inotify | |
| parent | 24f9cbfc4c34fdb6a6e03311674414e881ceab47 (diff) | |
| download | baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.gz baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.xz baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.zip | |
Adding metadata
Diffstat (limited to 'dev-ruby/rb-inotify')
| -rw-r--r-- | dev-ruby/rb-inotify/Manifest | 1 | ||||
| -rw-r--r-- | dev-ruby/rb-inotify/metadata.xml | 9 | ||||
| -rw-r--r-- | dev-ruby/rb-inotify/rb-inotify-0.11.1.ebuild | 36 |
3 files changed, 46 insertions, 0 deletions
diff --git a/dev-ruby/rb-inotify/Manifest b/dev-ruby/rb-inotify/Manifest new file mode 100644 index 000000000000..8d5e8ff2fa78 --- /dev/null +++ b/dev-ruby/rb-inotify/Manifest @@ -0,0 +1 @@ +DIST rb-inotify-0.11.1.tar.gz 12136 BLAKE2B 3a1dc507589c02cd07903f33546d9a222bf2fad6afc283dd1a463549fdb38c8b1aadc00ab4abfe3f7e63d1a138bec0f8ac8a4bbe7c66282a9a7007e9f7012805 SHA512 46966609686878d99c5a6623f5a3f55ef203ae32e48d0efbef295f97cc728c6938759360d445e052b82206322c7bf6f995db3007c7f3c0b2818549b8088be9bf diff --git a/dev-ruby/rb-inotify/metadata.xml b/dev-ruby/rb-inotify/metadata.xml new file mode 100644 index 000000000000..c685ebad7e3a --- /dev/null +++ b/dev-ruby/rb-inotify/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>ruby@gentoo.org</email> + <name>Gentoo Ruby Project</name> + </maintainer> + <origin>baldeagleos-repo</origin> +</pkgmetadata> diff --git a/dev-ruby/rb-inotify/rb-inotify-0.11.1.ebuild b/dev-ruby/rb-inotify/rb-inotify-0.11.1.ebuild new file mode 100644 index 000000000000..3ba33dee618a --- /dev/null +++ b/dev-ruby/rb-inotify/rb-inotify-0.11.1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby32 ruby33 ruby34 ruby40" + +RUBY_FAKEGEM_EXTRADOC="README.md" +RUBY_FAKEGEM_GEMSPEC="rb-inotify.gemspec" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +inherit ruby-fakegem + +DESCRIPTION="A thorough inotify wrapper for Ruby using FFI" +HOMEPAGE="https://github.com/guard/rb-inotify" +SRC_URI="https://github.com/guard/rb-inotify/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos ~x64-solaris" +IUSE="test" + +ruby_add_rdepend "dev-ruby/ffi:0" + +ruby_add_bdepend "test? ( dev-ruby/concurrent-ruby )" + +all_ruby_prepare() { + sed -e "s:_relative ': './:" \ + -e 's/git ls-files/find * -print/' \ + -i ${RUBY_FAKEGEM_GEMSPEC} || die + + # Remove mandatory markup processor from yard options, bug 436112. + sed -i -e '/maruku/d' .yardopts || die + + sed -i -e '/bundler/ s:^:#:' -e '1irequire "pathname"' spec/spec_helper.rb || die +} |
