commit:     1da46ee5f61de8e0c4a39040b3d34e038a6cd113
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Jul  2 00:53:42 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Jul  2 01:06:38 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1da46ee5

dev-ruby/unf: fix 0.2.0 gemspec

Strip gem.extensions from the gemspec because we split out unf_ext. We
already have a sed to handle this but it needed adaptation to handle
upstream commit 04e206c2ee770c86889bc49d64cb57aa061ca6f5 in 0.2.0.

Without this, we get a load of "Ignoring unf-0.2.0 because its extensions are 
not built"
noise, but unf doesn't install an extension in Gentoo, we leave it to 
dev-ruby/unf_ext.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-ruby/unf/{unf-0.2.0.ebuild => unf-0.2.0-r1.ebuild} | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-ruby/unf/unf-0.2.0.ebuild b/dev-ruby/unf/unf-0.2.0-r1.ebuild
similarity index 97%
rename from dev-ruby/unf/unf-0.2.0.ebuild
rename to dev-ruby/unf/unf-0.2.0-r1.ebuild
index ffe44dde2f32..054c67e535eb 100644
--- a/dev-ruby/unf/unf-0.2.0.ebuild
+++ b/dev-ruby/unf/unf-0.2.0-r1.ebuild
@@ -39,6 +39,7 @@ all_ruby_prepare() {
        # that we tackle on our own; finally remove git ls-files usage.
        sed -i -e '/dependency.*\(shoulda\|bundler\|jeweler\|rcov\)/d' \
                -e '/platform/d' \
+               -e '/gem.extensions/d' \
                -e '/git ls/d' \
                ${RUBY_FAKEGEM_GEMSPEC} || die
 }

Reply via email to