commit: 2c8fe3dd4747bd3ad67f99d52e77f73dd87bf5da Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> AuthorDate: Sat Aug 3 06:22:21 2019 +0000 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> CommitDate: Sat Aug 3 06:24:14 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c8fe3dd
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 <AT> 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(-) diff --git a/www-servers/uwsgi/uwsgi-2.0.17.1-r1.ebuild b/www-servers/uwsgi/uwsgi-2.0.17.1-r1.ebuild index f3a4990dac3..972eee8c233 100644 --- a/www-servers/uwsgi/uwsgi-2.0.17.1-r1.ebuild +++ b/www-servers/uwsgi/uwsgi-2.0.17.1-r1.ebuild @@ -389,12 +389,10 @@ pkg_postinst() { use python && python_foreach_impl python_pkg_postinst if use ruby ; then - for ruby in $USE_RUBY; do - if use ruby_targets_${ruby} ; then - elog " '--plugins rack_${ruby/.}' for ${ruby}" - elog " '--plugins fiber_${ruby/.}' for ${ruby} fibers" - elog " '--plugins rbthreads_${ruby/.}' for ${ruby} rbthreads" - fi + for ruby in $(ruby_get_use_implementations) ; do + elog " '--plugins rack_${ruby/.}' for ${ruby}" + elog " '--plugins fiber_${ruby/.}' for ${ruby} fibers" + elog " '--plugins rbthreads_${ruby/.}' for ${ruby} rbthreads" done fi } diff --git a/www-servers/uwsgi/uwsgi-2.0.17.1.ebuild b/www-servers/uwsgi/uwsgi-2.0.17.1.ebuild index 29267552f1d..dbf4130313b 100644 --- a/www-servers/uwsgi/uwsgi-2.0.17.1.ebuild +++ b/www-servers/uwsgi/uwsgi-2.0.17.1.ebuild @@ -399,12 +399,10 @@ pkg_postinst() { use python && python_foreach_impl python_pkg_postinst if use ruby ; then - for ruby in $USE_RUBY; do - if use ruby_targets_${ruby} ; then - elog " '--plugins rack_${ruby/.}' for ${ruby}" - elog " '--plugins fiber_${ruby/.}' for ${ruby} fibers" - elog " '--plugins rbthreads_${ruby/.}' for ${ruby} rbthreads" - fi + for ruby in $(ruby_get_use_implementations) ; do + elog " '--plugins rack_${ruby/.}' for ${ruby}" + elog " '--plugins fiber_${ruby/.}' for ${ruby} fibers" + elog " '--plugins rbthreads_${ruby/.}' for ${ruby} rbthreads" done fi } diff --git a/www-servers/uwsgi/uwsgi-2.0.17.ebuild b/www-servers/uwsgi/uwsgi-2.0.17.ebuild index 07c27595255..91962faabb4 100644 --- a/www-servers/uwsgi/uwsgi-2.0.17.ebuild +++ b/www-servers/uwsgi/uwsgi-2.0.17.ebuild @@ -404,12 +404,10 @@ pkg_postinst() { use python && python_foreach_impl python_pkg_postinst if use ruby ; then - for ruby in $USE_RUBY; do - if use ruby_targets_${ruby} ; then - elog " '--plugins rack_${ruby/.}' for ${ruby}" - elog " '--plugins fiber_${ruby/.}' for ${ruby} fibers" - elog " '--plugins rbthreads_${ruby/.}' for ${ruby} rbthreads" - fi + for ruby in $(ruby_get_use_implementations) ; do + elog " '--plugins rack_${ruby/.}' for ${ruby}" + elog " '--plugins fiber_${ruby/.}' for ${ruby} fibers" + elog " '--plugins rbthreads_${ruby/.}' for ${ruby} rbthreads" done fi } diff --git a/www-servers/uwsgi/uwsgi-2.0.18.ebuild b/www-servers/uwsgi/uwsgi-2.0.18.ebuild index badd0a9e1c3..918ff7c51ab 100644 --- a/www-servers/uwsgi/uwsgi-2.0.18.ebuild +++ b/www-servers/uwsgi/uwsgi-2.0.18.ebuild @@ -390,12 +390,10 @@ pkg_postinst() { use python && python_foreach_impl python_pkg_postinst if use ruby ; then - for ruby in $USE_RUBY; do - if use ruby_targets_${ruby} ; then - elog " '--plugins rack_${ruby/.}' for ${ruby}" - elog " '--plugins fiber_${ruby/.}' for ${ruby} fibers" - elog " '--plugins rbthreads_${ruby/.}' for ${ruby} rbthreads" - fi + for ruby in $(ruby_get_use_implementations) ; do + elog " '--plugins rack_${ruby/.}' for ${ruby}" + elog " '--plugins fiber_${ruby/.}' for ${ruby} fibers" + elog " '--plugins rbthreads_${ruby/.}' for ${ruby} rbthreads" done fi }
