commit:     df1ced9d116ae9c4b3459471131c791c9cf3703a
Author:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
AuthorDate: Wed Mar  3 14:20:52 2021 +0000
Commit:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
CommitDate: Wed Mar  3 14:22:25 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df1ced9d

dev-libs/libutf8proc: fix tests

Closes: https://bugs.gentoo.org/773391
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Akinori Hattori <hattya <AT> gentoo.org>

 dev-libs/libutf8proc/libutf8proc-2.6.1.ebuild | 8 ++++++--
 profiles/arch/ia64/package.use.mask           | 4 ++++
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/dev-libs/libutf8proc/libutf8proc-2.6.1.ebuild 
b/dev-libs/libutf8proc/libutf8proc-2.6.1.ebuild
index 323f38181fb..c3a247d6122 100644
--- a/dev-libs/libutf8proc/libutf8proc-2.6.1.ebuild
+++ b/dev-libs/libutf8proc/libutf8proc-2.6.1.ebuild
@@ -2,8 +2,9 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"
+USE_RUBY="ruby25 ruby26 ruby27"
 
-inherit toolchain-funcs
+inherit ruby-single toolchain-funcs
 
 DESCRIPTION="A clean C Library for processing UTF-8 Unicode data"
 HOMEPAGE="https://github.com/JuliaStrings/utf8proc";
@@ -16,7 +17,10 @@ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 
~sparc ~x86 ~x64-cyg
 IUSE="cjk static-libs test"
 RESTRICT="!test? ( test )"
 
-BDEPEND="test? ( =app-i18n/unicode-data-13.0* )"
+BDEPEND="test? (
+               =app-i18n/unicode-data-13.0*
+               ${RUBY_DEPS}
+       )"
 S="${WORKDIR}/${P#lib}"
 
 src_prepare() {

diff --git a/profiles/arch/ia64/package.use.mask 
b/profiles/arch/ia64/package.use.mask
index eaf0f47e6d1..0b3cf89f69d 100644
--- a/profiles/arch/ia64/package.use.mask
+++ b/profiles/arch/ia64/package.use.mask
@@ -1,6 +1,10 @@
 # Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
+# Akinori Hattori <[email protected]> (2021-03-03)
+# dev-lang/ruby is not keyworded
+>=dev-libs/libutf8proc-2.6.0 test
+
 # Sam James <[email protected]> (2021-02-26)
 # dev-libs/efl not keyworded here
 # and is a desktop application mainly

Reply via email to