Summary: | dev-ruby/racc-1.4.6-r1 should depend on dev-vcs/git | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Jim Faulkner <dogshu> |
Component: | [OLD] Development | Assignee: | Gentoo Ruby Team <ruby> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | mjo, xmw |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 411507 |
Description
Jim Faulkner
2012-05-21 19:06:52 UTC
This isn't a real requirement on git. An easy way to specify which files belong in a gem -- when you're creating the gem -- is with git ls-files. However, ruby is a scripting language, so if you include a file with, foo = `git ls-files` in it, that command will really be executed when the file is included. The Rakefile for racc does that: require 'tasks/gem' require 'tasks/doc' (this requires tasks/gem) So even though you don't need to build a gem, the Rakefile is crashing during "rake build." Commenting those two lines allows "rake build" to complete; I'm sure the maintainer will know what to do though. (In reply to comment #1) > Commenting those two lines allows "rake build" to complete; I'm sure the > maintainer will know what to do though. Correct, the git ls-files line is now gone from racc-1.4.6-r1, and thus the need for git. |