summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Make sure to use UTF-8 encoding when reading YAML files with ruby19. Patch ↵Hans de Graaff2012-08-191-4/+11
| | | | and bug report by Shunsuke Shimizu in bug 431276.
* Make sure not to test for use doc if it's not there.Diego Elio Pettenò2012-08-151-4/+4
|
* Add support for documentation recipes as well, and implement an rdoc recipe.Diego Elio Pettenò2012-08-141-12/+46
|
* Add support for cucumber as a test recipe. This allows abstracting some of ↵Diego Elio Pettenò2012-08-131-3/+15
| | | | the work needed to skip it over on JRuby.
* Add support for running rspec while respecting some common variables ↵Diego Elio Pettenò2012-07-051-18/+48
| | | | (TEST_VERBOSE and NOCOLOR) in ruby-ng; then use this with a new variable in ruby-fakegem.
* Add documentation for RUBY_FAKEGEM_EXTRAINSTALL.Hans de Graaff2011-12-051-3/+10
|
* Switch to virtual/rubygems in preparation of adding ruby targets with ↵Hans de Graaff2011-10-211-5/+5
| | | | bundled rubygems.
* fix random bugs in eclass documentation, and convert to new @AUTHOR tagMike Frysinger2011-08-221-9/+6
|
* Fix typo.Hans de Graaff2011-04-251-4/+4
|
* Add missing 'die' statement.Hans de Graaff2011-03-051-4/+4
|
* Try to install the normal upstream gemspec file from either the gem metadata ↵Hans de Graaff2010-12-281-19/+76
| | | | or the source gemspec file and use our own version only as a fallback.
* Revert mistaken commit of new gemspec-related code, but keep new dependency ↵Hans de Graaff2010-12-181-25/+4
| | | | on dev-ruby/rubygems instead of virtual.
* Depend directly on dev-ruby/rubygems again since we no longer have ruby ↵Hans de Graaff2010-12-181-5/+26
| | | | targets providing rubygems themselves.
* fix fake-rubygem.eclass for Prefix, bug #336906Fabian Groffen2010-09-231-4/+8
|
* Factor out the ree18→rubyee18 conversion and use it when generating the ↵Diego Elio Pettenò2010-08-301-4/+4
| | | | binwrapper (closes bug #335328).
* When unpacking, don't unpack patch files.Diego Elio Pettenò2010-07-291-22/+33
| | | | | | | | | | Since we can declare the patches as an array in global scope, _but_ we cannot use $WORKDIR in there (they are not extracted in proper $WORKDIR but rather $WORKDIR/all, then copied/hardlinked for the various implementations), there is no point into unpacking them when using .bz2. Rather, leave it to epatch to deal with them and for the rest of the time.
* If RUBY_FAKEGEM_DOCDIR is set, the ebuild should have the doc USE flag.Diego Elio Pettenò2010-07-271-3/+7
|
* Allow installing documentation even if there is no documentation task defined.Diego Elio Pettenò2010-07-211-4/+6
|
* Allow multiple archives in SRC_URI, and unpack them properly.Diego Elio Pettenò2010-07-211-22/+24
| | | | | Note: this requires that there is at most one .gem file, as it'll be failing if ${S} exists when going to unpack the gem.
* Use the new syntax for rake dependencies.Diego Elio Pettenò2010-05-241-5/+5
|
* Only use revision, not full Id for the eclass.Diego Elio Pettenò2010-02-191-3/+3
|
* Don't create generic wrappers when installing for a single implementation.Diego Elio Pettenò2010-02-191-3/+26
| | | | | | | | | | | | | | | | | | Since we have a few packages that can only be installed for JRuby, and that thus wouldn't work with any of the selected implementations, and a few that installs only for Ruby 1.8 (and thus would break if 1.9 was selected), try to reduce their impact by only producing generic wrappers when installing for multiple implementations. This should produce a totally working system after updating from 1.9, among other things. To make sure that the wrappers generated by different revisions of ruby-fakegem.eclass are properly identified, also add the CVS ID of the eclass in the comments of the generated wrapper. At the same time add the same specification about generation to the gemspec files, so that we can identify “older” specifications quickly.
* Add support for suffixes to a gem (like .java) and support forDiego Elio Pettenò2010-02-191-3/+4
| | | | pre-release mangling (_pre becomes .pre).
* Take into account that the description may contain double quotes and quote ↵Hans de Graaff2010-02-131-2/+3
| | | | them to avoid generating invalid ruby code. Fixes #304723.
* Define each_ruby_test in ruby-fakegem only if a test task is defined.Diego Elio Pettenò2010-01-241-13/+10
| | | | | | | With this change you won't get further output during test phase if there is no fakegem test going to be executed. Packages will still be able to inject their each_ruby_test function to run custom test commands.
* Default to installing the binary wrapper to /usr/bin, when callingDiego Elio Pettenò2010-01-211-2/+4
| | | | | | with just a basename for the wrapped tool. Thanks to Klaus Birkelund Jensen for reporting, in bug #301621.
* Always install the EXTRAINSTALL content, this also allows it to be files ↵Diego Elio Pettenò2010-01-181-8/+9
| | | | rather than just directories
* Correct an undeclared IUSE doc and fix documentation for ↵Diego Elio Pettenò2010-01-091-3/+3
| | | | RUBY_FAKEGEM_REQUIRE_PATHS.
* Don't error out if there is neither bin nor lib directories to install.Diego Elio Pettenò2010-01-011-2/+3
| | | | This is the case of the pg gem for instance.
* Add a variable to explicit further required paths, useful for gems like ↵Diego Elio Pettenò2009-12-261-2/+13
| | | | RedCloth.
* Allow for multiple documentation directories.Diego Elio Pettenò2009-12-211-4/+6
|
* Add a RAKE_FAKEGEM_BINWRAP variable.Diego Elio Pettenò2009-12-201-1/+23
| | | | | This way to just add command wrapping we won't be needing to define a function. This also defaults, the same as original rubygems, to all the binaries installed, but it can be tweaked.
* Change the binary wrapper code.Diego Elio Pettenò2009-12-161-2/+3
| | | | | | | | | | Instead of using the Gem code to find the gem itself (which only worked for gems whose library was named after the gem, and failed for spec and other packages), ask Gem for its system path (which will be dynamic depending on the Ruby implementation used) and affix the hardcoded relative path of the wrapper (which we know at merge time). Tested with rake, bluecloth, rspec, Ruby 1.8, 1.9 and JRuby.
* Fix and extend documentation.Diego Elio Pettenò2009-12-151-3/+14
|
* Use the fakegem name and version vars for the source uri.Diego Elio Pettenò2009-12-151-3/+3
|
* Provide a default SRC_URI.Diego Elio Pettenò2009-12-151-1/+3
|
* Add ruby-fakegem.eclassAlex Legler2009-12-141-0/+264