Summary: | www-servers/uwsgi : USE Flag 'ruby_targets_ruby23' not in IUSE | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Anton Bolshakov <anton.bugs> |
Component: | Current packages | Assignee: | Ultrabug <ultrabug> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ruby |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=818769 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Anton Bolshakov
2019-06-10 02:47:06 UTC
adding ruby team as well. It would be good to find a permanent solution. Ruby team, could you help to clean up ruby targets from all ebuilds once you remove it from profile? The ruby-ng.eclass provides ruby_get_use_implementations and ruby_get_use_targets for this case. Both of them filter out obsolete or invalid implementations from USE_RUBY. Something like this should work: for target in $(ruby_get_use_targets) ; do if use ${target} ; then ... fi done (In reply to Hans de Graaff from comment #2) > The ruby-ng.eclass provides ruby_get_use_implementations and > ruby_get_use_targets for this case. Both of them filter out obsolete or > invalid implementations from USE_RUBY. Something like this should work: > > for target in $(ruby_get_use_targets) ; do > if use ${target} ; then > ... > fi > done Actually this looks more fitting for this particular case: for ${ruby} in $(ruby_get_use_implementations) ; do elog ... done ruby_get_use_implementations take use into account so the if is no longer needed. Ping? The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c8fe3dd4747bd3ad67f99d52e77f73dd87bf5da commit 2c8fe3dd4747bd3ad67f99d52e77f73dd87bf5da Author: Hans de Graaff <graaff@gentoo.org> AuthorDate: 2019-08-03 06:22:21 +0000 Commit: Hans de Graaff <graaff@gentoo.org> CommitDate: 2019-08-03 06:24:14 +0000 www-servers/uwsgi: avoid using obsolete ruby targets Only use ruby targets that are still available, rather than those listed in USE_RUBY. Fixes: https://bugs.gentoo.org/687762 Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Hans de Graaff <graaff@gentoo.org> www-servers/uwsgi/uwsgi-2.0.17.1-r1.ebuild | 10 ++++------ www-servers/uwsgi/uwsgi-2.0.17.1.ebuild | 10 ++++------ www-servers/uwsgi/uwsgi-2.0.17.ebuild | 10 ++++------ www-servers/uwsgi/uwsgi-2.0.18.ebuild | 10 ++++------ 4 files changed, 16 insertions(+), 24 deletions(-) |