Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 524842 - www-apps/jekyll - add dev-lang/ruby:2.1 support
Summary: www-apps/jekyll - add dev-lang/ruby:2.1 support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Manuel Rüger (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-09 14:30 UTC by Guilherme Amadio
Modified: 2014-11-21 11:02 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 Guilherme Amadio gentoo-dev 2014-10-09 14:30:06 UTC
Please add ruby21 as a target on jekyll ebuilds and its dependencies.
I didn't want to install an older version of ruby just to install jekyll, so I just added the new target to all ebuilds and confirmed it's working fine.
All that is needed is to change the line

USE_RUBY="ruby19 ruby20"

to

USE_RUBY="ruby19 ruby20 ruby21"

Thanks,

PS: The ebuilds below all need the change:

www-apps/jekyll
www-apps/jekyll-coffeescript
www-apps/jekyll-gist
www-apps/jekyll-paginate
www-apps/jekyll-sass-converter
www-apps/jekyll-watch

Reproducible: Always
Comment 1 Manuel Rüger (RETIRED) gentoo-dev 2014-10-09 21:56:36 UTC
There are also missing test dependencies, that currently have no ruby21 support (e.g. rouge).
Comment 2 Guilherme Amadio gentoo-dev 2014-10-13 16:19:49 UTC
Hi, is there any impediment for this to move forward?
I can do the testing if needed. So far, I haven't found any problems with adding USE_RUBY="ruby21" to affected packages manually.
Comment 3 Guilherme Amadio gentoo-dev 2014-11-10 15:41:33 UTC
I have tested everything by adding ruby21 to all dependencies and emerging jekyll with FEATURES=test, and it all works. Well, everything except for dev-ruby/libxml (it fails tests, see bug #370501), but that already has ruby21 support commited anyway. All other packages pass all the tests. See below the packages that I've installed (not all of which I needed to change). I needed to install them with FEATURES=-test first to avoid circular dependencies.


Calculating dependencies... done!
[ebuild  N     ] www-apps/jekyll-2.4.0::local  USE="-doc {-test}" RUBY_TARGETS="ruby21 -ruby19 -ruby20" 0 KiB
[ebuild  N     ]  www-apps/jekyll-sass-converter-1.2.1::local  USE="{-test}" RUBY_TARGETS="ruby21 -ruby19 -ruby20" 0 KiB
[ebuild  N     ]   dev-ruby/sass-3.4.7:3.4  USE="-doc {-test}" RUBY_TARGETS="ruby21 -ruby19 -ruby20" 326 KiB
[ebuild  N     ]  www-apps/jekyll-watch-1.1.1::local  USE="{-test}" RUBY_TARGETS="ruby21 -ruby19 -ruby20" 0 KiB
[ebuild  N     ]   dev-ruby/listen-2.7.5:2  USE="{-test}" RUBY_TARGETS="ruby21 -ruby19 -ruby20" 0 KiB
[ebuild  N     ]    dev-ruby/rb-inotify-0.9.5-r1  USE="-doc {-test}" RUBY_TARGETS="ruby21 (-jruby) -ruby19 -ruby20" 0 KiB
[ebuild  N     ]     virtual/ruby-ffi-3  RUBY_TARGETS="ruby21 (-jruby) -ruby19 -ruby20" 0 KiB
[ebuild  N     ]      dev-ruby/ffi-1.9.6  USE="-doc {-test}" RUBY_TARGETS="ruby21 -ruby19 -ruby20" 875 KiB
[ebuild  N     ]       virtual/ruby-threads-5:ruby21  RUBY_TARGETS="(ruby21)" 0 KiB
[ebuild  N     ]  dev-ruby/toml-0.1.2  USE="-doc {-test}" RUBY_TARGETS="ruby21 -ruby19 -ruby20" 0 KiB
[ebuild  N     ]   dev-ruby/parslet-1.6.1  USE="-doc {-test}" RUBY_TARGETS="ruby21 -ruby19 -ruby20" 0 KiB
[ebuild  N     ]    dev-ruby/blankslate-2.1.2.4:2  USE="-doc {-test}" RUBY_TARGETS="ruby21 -ruby19 -ruby20" 0 KiB
[nomerge       ] dev-ruby/sass-3.4.7:3.4  USE="-doc {-test}" RUBY_TARGETS="ruby21 -ruby19 -ruby20" 
[nomerge       ]  dev-ruby/listen-2.7.5:2  USE="{-test}" RUBY_TARGETS="ruby21 -ruby19 -ruby20" 
[ebuild  N     ]   dev-ruby/celluloid-0.16.0  USE="{-test}" RUBY_TARGETS="ruby21 -ruby19 -ruby20" 63 KiB
[ebuild  N     ]    dev-ruby/timers-4.0.1:4  USE="-doc {-test}" RUBY_TARGETS="ruby21 -ruby19 -ruby20" 0 KiB
[ebuild  N     ]     dev-ruby/hitimes-1.2.2  USE="-doc {-test}" RUBY_TARGETS="ruby21 -ruby19 -ruby20" 0 KiB
[nomerge       ] www-apps/jekyll-2.4.0::local  USE="-doc {-test}" RUBY_TARGETS="ruby21 -ruby19 -ruby20" 
[ebuild  N     ]  dev-ruby/classifier-reborn-2.0.1  USE="-gsl {-test}" RUBY_TARGETS="ruby21 -ruby19 -ruby20" 0 KiB
[ebuild  N     ]   dev-ruby/fast-stemmer-1.0.2-r2  USE="-doc {-test}" RUBY_TARGETS="ruby21 -ruby19 -ruby20" 0 KiB
[ebuild  N     ]  www-apps/jekyll-coffeescript-1.0.1::local  USE="{-test}" RUBY_TARGETS="ruby21 -ruby19 -ruby20" 0 KiB
[ebuild  N     ]   dev-ruby/coffee-script-2.3.0  USE="{-test}" RUBY_TARGETS="ruby21 -ruby19 -ruby20" 0 KiB
[ebuild  N     ]    dev-ruby/coffee-script-source-1.8.0  USE="{-test}" RUBY_TARGETS="ruby21 (-jruby) -ruby19 -ruby20" 0 KiB
[ebuild  N     ]    dev-ruby/execjs-2.2.2  USE="{-test}" RUBY_TARGETS="ruby21 -ruby19 -ruby20" 64 KiB
[ebuild  N     ]  dev-ruby/pygments_rb-0.6.0-r2  USE="{-test}" PYTHON_TARGETS="python2_7" RUBY_TARGETS="ruby21 -ruby19 -ruby20" 0 KiB
[ebuild  N     ]   dev-ruby/posix-spawn-0.3.9  USE="{-test}" RUBY_TARGETS="ruby21 -ruby19 -ruby20" 0 KiB
[ebuild  N     ]   dev-ruby/yajl-ruby-1.2.1::local  USE="{-test}" RUBY_TARGETS="ruby21 -ruby19 -ruby20" 0 KiB
[ebuild  N     ]   dev-ruby/rake-compiler-0.9.3  USE="{-test}" RUBY_TARGETS="ruby21 (-jruby) -ruby19 -ruby20" 0 KiB
[ebuild  N     ]  dev-ruby/liquid-2.6.1-r1  USE="{-test}" RUBY_TARGETS="ruby21 -ruby19 -ruby20" 0 KiB
[ebuild  N     ]  www-apps/jekyll-gist-1.1.0::local  USE="{-test}" RUBY_TARGETS="ruby21 -ruby19 -ruby20" 0 KiB
[ebuild  N     ]  dev-ruby/mercenary-0.3.4  USE="-doc {-test}" RUBY_TARGETS="ruby21 -ruby19 -ruby20" 0 KiB
[ebuild  N     ]  dev-ruby/redcarpet-3.2.0  USE="-doc {-test}" RUBY_TARGETS="ruby21 -ruby19 -ruby20" 0 KiB
[ebuild  N     ]  www-apps/jekyll-paginate-1.1.0::local  USE="{-test}" RUBY_TARGETS="ruby21 -ruby19 -ruby20" 8 KiB
[ebuild  N     ]  dev-ruby/colorator-0.1-r1  USE="-doc {-test}" RUBY_TARGETS="ruby21 -ruby19 -ruby20" 0 KiB
[ebuild  N     ]  dev-ruby/safe_yaml-1.0.4  USE="-doc {-test}" RUBY_TARGETS="ruby21 -ruby19 -ruby20" 0 KiB
[ebuild  N     ]  dev-ruby/kramdown-1.4.2  USE="-doc -latex {-test}" RUBY_TARGETS="ruby21 -ruby19 -ruby20" 0 KiB
[nomerge       ] dev-ruby/execjs-2.2.2  USE="{-test}" RUBY_TARGETS="ruby21 -ruby19 -ruby20" 
[ebuild  N     ]  net-libs/nodejs-0.10.33  USE="npm snapshot" 13307 KiB
[nomerge       ] dev-ruby/pygments_rb-0.6.0-r2  USE="{-test}" PYTHON_TARGETS="python2_7" RUBY_TARGETS="ruby21 -ruby19 -ruby20" 
[ebuild  N     ]  dev-python/simplejson-3.6.5  PYTHON_TARGETS="python2_7 python3_4 -pypy -python3_3" 0 KiB

Total: 35 packages (35 new), Size of downloads: 14640 KiB
Comment 4 Guilherme Amadio gentoo-dev 2014-11-10 15:47:49 UTC
See bug #528832 instead. Seems to be a different failure, so I filed a new bug.
Comment 5 Manuel Rüger (RETIRED) gentoo-dev 2014-11-21 11:02:22 UTC
Fixed in tree.
I'm sorry for the delay.