summaryrefslogtreecommitdiff
path: root/dev-ruby/rb-inotify
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-05-20 00:02:16 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-05-20 00:02:16 +0100
commit77b275a53383b07b154caa09feb6f4961b206638 (patch)
treebf2b88f1f848dfe69541c3d78aaa35ef22560107 /dev-ruby/rb-inotify
parent9d4810f84de876ec9d0ae03d0d44224500b41188 (diff)
gentoo auto-resync : 20:05:2024 - 00:02:15
Diffstat (limited to 'dev-ruby/rb-inotify')
-rw-r--r--dev-ruby/rb-inotify/Manifest4
-rw-r--r--dev-ruby/rb-inotify/metadata.xml2
-rw-r--r--dev-ruby/rb-inotify/rb-inotify-0.11.1.ebuild36
3 files changed, 40 insertions, 2 deletions
diff --git a/dev-ruby/rb-inotify/Manifest b/dev-ruby/rb-inotify/Manifest
index a6def31172af..4e124cda2e53 100644
--- a/dev-ruby/rb-inotify/Manifest
+++ b/dev-ruby/rb-inotify/Manifest
@@ -1,4 +1,6 @@
DIST rb-inotify-0.10.1.gem 15872 BLAKE2B 1ddf4fe8de7cdd348e007ac29ab7b41667092439f9b70eeae49d7e917351c73512e43a7ccf6679af1c9225b19efadb6a1581f63e1958d2a31d61f2bce5a13664 SHA512 7831a6228f2d6363e634b8d6b4a12206f19b96098e5dfba1d27b1e994a7284a5cb58cd0299d861a6ff275fc8248c0e68faaaf786d6222ad68f3e6b43ccea29ec
+DIST rb-inotify-0.11.1.tar.gz 12136 BLAKE2B 3a1dc507589c02cd07903f33546d9a222bf2fad6afc283dd1a463549fdb38c8b1aadc00ab4abfe3f7e63d1a138bec0f8ac8a4bbe7c66282a9a7007e9f7012805 SHA512 46966609686878d99c5a6623f5a3f55ef203ae32e48d0efbef295f97cc728c6938759360d445e052b82206322c7bf6f995db3007c7f3c0b2818549b8088be9bf
EBUILD rb-inotify-0.10.1-r1.ebuild 973 BLAKE2B 2e324b25d7f6316ee8ead72a219e67505632bd69fdcf63ba0ebff427e1d2d8ec8a73bc3d0333300567d38dfa1a0abae70d7444c48236dd6d7da2ff59d866cdb7 SHA512 e504cfc7a25f4677b0f30d4bb9851293a377ccdeeef644bd710b5a1fde222976639d252218cf12015b19cacd025a6b3251f0e2c8f90a27ff23f9847f2f805837
EBUILD rb-inotify-0.10.1.ebuild 973 BLAKE2B 747ae580b2acc635080f830ed3f0700efeefb1fafcb519200279615316bdb1d2ad651b1b48234d91deacdb5de3849342afb81eb2a39bb880d601089ad63481ad SHA512 ce95db7f3a54f58d4cd588aaceb8d88e695ca9c102aee88db94dc3629810af2fb19d732596b7107660e271d245f58b162b83ce6cdc24ca2835deafa501c9c219
-MISC metadata.xml 342 BLAKE2B 6f4587e7af70218aed1523368746721fd9fc5431a52adf87f2ecd31fcd3027564744087e40b0e3ae5282e2b7391b2e0bbf95121b691730796a2470c276d0fffe SHA512 c9ed5a3b063886bba917410aaf1bf45b5da718c29299197369e29e4c5a567df3ef5791f934dd265b9904a557a4a9761d8df5ac5f817eedae74e7577ccf88b5ee
+EBUILD rb-inotify-0.11.1.ebuild 1060 BLAKE2B 06fe949a16e8963bfd7977d95c6c9b367a7535ffab0532ff672a2ff88d784e9daf9b532c0733c95365b8e0b33fd9cac4a0b97551e42afa06e48000698370f3a3 SHA512 0f5c5f7f170bea803e4add2cee2d88c1786b0f913ed099b37515f2b6a62fc12f0cd8c3ce648b48b5e7d3323f82adf4bc2c90b54b5f28737049c79f68ccf9c7c2
+MISC metadata.xml 343 BLAKE2B cb76e65191290d869c2e112538791f03f0f7a1068d978afd9ca34a7cf04bcbffb0bb5f6c9d5578258f4a57eb569ec330ab58c227a9e424b9aa1a9b6f3f2e53de SHA512 3b6d9dcf63c84fa0a06790c4afe55fca1d7408345366fea978362b76e123d15900ed1da06777f2c4b5b73bb5821d3a203dd7ca7da03562a1d1ab73eb8acecf1a
diff --git a/dev-ruby/rb-inotify/metadata.xml b/dev-ruby/rb-inotify/metadata.xml
index fa5e396eaf26..eaf25c61bac2 100644
--- a/dev-ruby/rb-inotify/metadata.xml
+++ b/dev-ruby/rb-inotify/metadata.xml
@@ -6,6 +6,6 @@
<name>Gentoo Ruby Project</name>
</maintainer>
<upstream>
- <remote-id type="github">nex3/rb-inotify</remote-id>
+ <remote-id type="github">guard/rb-inotify</remote-id>
</upstream>
</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..26ddd7c62cf3
--- /dev/null
+++ b/dev-ruby/rb-inotify/rb-inotify-0.11.1.ebuild
@@ -0,0 +1,36 @@
+# 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_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 ~amd64-linux ~ppc-macos ~x64-macos ~x64-solaris"
+IUSE=""
+
+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
+}