commit: e35763e6a422fb694abcc088058297eaf691cc61 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> AuthorDate: Sun Mar 23 12:07:38 2025 +0000 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> CommitDate: Sun Mar 23 12:07:38 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e35763e6
dev-ruby/unicode-emoji: fix FEATURES=-test Only try to copy the test data when testing. Closes: https://bugs.gentoo.org/950111 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> dev-ruby/unicode-emoji/unicode-emoji-4.0.4.ebuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dev-ruby/unicode-emoji/unicode-emoji-4.0.4.ebuild b/dev-ruby/unicode-emoji/unicode-emoji-4.0.4.ebuild index 331dea1629c0..1f1e3c558cdd 100644 --- a/dev-ruby/unicode-emoji/unicode-emoji-4.0.4.ebuild +++ b/dev-ruby/unicode-emoji/unicode-emoji-4.0.4.ebuild @@ -22,7 +22,9 @@ SLOT="$(ver_cut 1)" KEYWORDS="~amd64" all_ruby_prepare() { - cp "${DISTDIR}/${P}-emoji-test.txt" spec/data/emoji-test.txt || die + if use test; then + cp "${DISTDIR}/${P}-emoji-test.txt" spec/data/emoji-test.txt || die + fi } each_ruby_test() {
