Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 836939 - ruby-fakegem.eclass should support RUBY_OPTIONAL
Summary: ruby-fakegem.eclass should support RUBY_OPTIONAL
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-04-06 20:09 UTC by tastytea
Modified: 2022-04-10 13:19 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tastytea 2022-04-06 20:09:18 UTC
Hi, ruby-ng has the eclass variable RUBY_OPTIONAL to allow the ebuild to decide under which conditions the dependencies are pulled in. ruby-fakegem unconditionally depends on virtual/rubygems, which pulls a lot of stuff in that may never be used because ruby support is optional in the package or it is only used for tests. Please add support for RUBY_OPTIONAL in ruby-fakegem.

I recently came across an ebuild that would benefit greatly from this change: <https://gitweb.gentoo.org/repo/proj/guru.git/tree/app-shells/zsh-autosuggestions/zsh-autosuggestions-0.6.4.ebuild?h=dev&id=1cf47b5>.