/[gentoo-x86]/eclass/ruby-fakegem.eclass
Gentoo

Log of /eclass/ruby-fakegem.eclass

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (download) (annotate)

Revision 1.41 - (view) (download) (annotate) - [select for diffs]
Mon Apr 21 07:35:43 2014 UTC (4 months, 4 weeks ago) by graaff
Branch: MAIN
CVS Tags: HEAD
Changes since 1.40: +7 -7 lines
Diff to previous 1.40 , to selected 1.9
Read the YAML metadata with UTF-8 by default and make an exception for older ruby targets, since all new targets will support (and need) the UTF-8 flag. Fixes bug 504642.


Revision 1.40 - (view) (download) (annotate) - [select for diffs]
Sat Nov 9 10:22:06 2013 UTC (10 months, 1 week ago) by graaff
Branch: MAIN
Changes since 1.39: +12 -3 lines
Diff to previous 1.39 , to selected 1.9
Add a yard recipe for creating documentation.


Revision 1.39 - (view) (download) (annotate) - [select for diffs]
Sat Jun 1 13:18:45 2013 UTC (15 months, 2 weeks ago) by graaff
Branch: MAIN
Changes since 1.38: +4 -4 lines
Diff to previous 1.38 , to selected 1.9
Quote DISTDIR.


Revision 1.38 - (view) (download) (annotate) - [select for diffs]
Sun Feb 24 07:45:46 2013 UTC (18 months, 3 weeks ago) by graaff
Branch: MAIN
Changes since 1.37: +5 -4 lines
Diff to previous 1.37 , to selected 1.9
Also set the RUBY_FAKEGEM_DOCDIR default for the rake recipe. This fixes a regression manifested by bug 458506.


Revision 1.37 - (view) (download) (annotate) - [select for diffs]
Sun Aug 19 07:45:02 2012 UTC (2 years, 1 month ago) by graaff
Branch: MAIN
Changes since 1.36: +11 -4 lines
Diff to previous 1.36 , to selected 1.9
Make sure to use UTF-8 encoding when reading YAML files with ruby19. Patch and bug report by Shunsuke Shimizu in bug 431276.


Revision 1.36 - (view) (download) (annotate) - [select for diffs]
Wed Aug 15 15:06:09 2012 UTC (2 years, 1 month ago) by flameeyes
Branch: MAIN
Changes since 1.35: +4 -4 lines
Diff to previous 1.35 , to selected 1.9
Make sure not to test for use doc if it's not there.


Revision 1.35 - (view) (download) (annotate) - [select for diffs]
Tue Aug 14 21:10:45 2012 UTC (2 years, 1 month ago) by flameeyes
Branch: MAIN
Changes since 1.34: +46 -12 lines
Diff to previous 1.34 , to selected 1.9
Add support for documentation recipes as well, and implement an rdoc recipe.


Revision 1.34 - (view) (download) (annotate) - [select for diffs]
Mon Aug 13 22:21:26 2012 UTC (2 years, 1 month ago) by flameeyes
Branch: MAIN
Changes since 1.33: +15 -3 lines
Diff to previous 1.33 , to selected 1.9
Add support for cucumber as a test recipe. This allows abstracting some of the work needed to skip it over on JRuby.


Revision 1.33 - (view) (download) (annotate) - [select for diffs]
Thu Jul 5 21:23:01 2012 UTC (2 years, 2 months ago) by flameeyes
Branch: MAIN
Changes since 1.32: +50 -20 lines
Diff to previous 1.32 , to selected 1.9
Add support for running rspec while respecting some common variables (TEST_VERBOSE and NOCOLOR) in ruby-ng; then use this with a new variable in ruby-fakegem.


Revision 1.32 - (view) (download) (annotate) - [select for diffs]
Mon Dec 5 12:24:33 2011 UTC (2 years, 9 months ago) by graaff
Branch: MAIN
Changes since 1.31: +10 -3 lines
Diff to previous 1.31 , to selected 1.9
Add documentation for RUBY_FAKEGEM_EXTRAINSTALL.


Revision 1.31 - (view) (download) (annotate) - [select for diffs]
Fri Oct 21 06:32:29 2011 UTC (2 years, 10 months ago) by graaff
Branch: MAIN
Changes since 1.30: +5 -5 lines
Diff to previous 1.30 , to selected 1.9
Switch to virtual/rubygems in preparation of adding ruby targets with bundled rubygems.


Revision 1.30 - (view) (download) (annotate) - [select for diffs]
Mon Aug 22 04:46:32 2011 UTC (3 years ago) by vapier
Branch: MAIN
Changes since 1.29: +6 -9 lines
Diff to previous 1.29 , to selected 1.9
fix random bugs in eclass documentation, and convert to new @AUTHOR tag


Revision 1.29 - (view) (download) (annotate) - [select for diffs]
Mon Apr 25 08:36:51 2011 UTC (3 years, 4 months ago) by graaff
Branch: MAIN
Changes since 1.28: +4 -4 lines
Diff to previous 1.28 , to selected 1.9
Fix typo.


Revision 1.28 - (view) (download) (annotate) - [select for diffs]
Sat Mar 5 06:58:00 2011 UTC (3 years, 6 months ago) by graaff
Branch: MAIN
Changes since 1.27: +4 -4 lines
Diff to previous 1.27 , to selected 1.9
Add missing 'die' statement.


Revision 1.27 - (view) (download) (annotate) - [select for diffs]
Tue Dec 28 12:07:15 2010 UTC (3 years, 8 months ago) by graaff
Branch: MAIN
Changes since 1.26: +76 -19 lines
Diff to previous 1.26 , to selected 1.9
Try to install the normal upstream gemspec file from either the gem metadata or the source gemspec file and use our own version only as a fallback.


Revision 1.26 - (view) (download) (annotate) - [select for diffs]
Sat Dec 18 09:57:24 2010 UTC (3 years, 9 months ago) by graaff
Branch: MAIN
Changes since 1.25: +1 -22 lines
Diff to previous 1.25 , to selected 1.9
Revert mistaken commit of new gemspec-related code, but keep new dependency on dev-ruby/rubygems instead of virtual.


Revision 1.25 - (view) (download) (annotate) - [select for diffs]
Sat Dec 18 09:50:08 2010 UTC (3 years, 9 months ago) by graaff
Branch: MAIN
Changes since 1.24: +26 -5 lines
Diff to previous 1.24 , to selected 1.9
Depend directly on dev-ruby/rubygems again since we no longer have ruby targets providing rubygems themselves.


Revision 1.24 - (view) (download) (annotate) - [select for diffs]
Thu Sep 23 06:47:01 2010 UTC (3 years, 11 months ago) by grobian
Branch: MAIN
Changes since 1.23: +8 -4 lines
Diff to previous 1.23 , to selected 1.9
fix fake-rubygem.eclass for Prefix, bug #336906


Revision 1.23 - (view) (download) (annotate) - [select for diffs]
Mon Aug 30 22:08:24 2010 UTC (4 years ago) by flameeyes
Branch: MAIN
Changes since 1.22: +4 -4 lines
Diff to previous 1.22 , to selected 1.9
Factor out the ree18→rubyee18 conversion and use it when generating the binwrapper (closes bug #335328).


Revision 1.22 - (view) (download) (annotate) - [select for diffs]
Thu Jul 29 09:38:09 2010 UTC (4 years, 1 month ago) by flameeyes
Branch: MAIN
Changes since 1.21: +33 -22 lines
Diff to previous 1.21 , to selected 1.9
When unpacking, don't unpack patch files.

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.


Revision 1.21 - (view) (download) (annotate) - [select for diffs]
Tue Jul 27 11:02:47 2010 UTC (4 years, 1 month ago) by flameeyes
Branch: MAIN
Changes since 1.20: +7 -3 lines
Diff to previous 1.20 , to selected 1.9
If RUBY_FAKEGEM_DOCDIR is set, the ebuild should have the doc USE flag.


Revision 1.20 - (view) (download) (annotate) - [select for diffs]
Wed Jul 21 10:43:57 2010 UTC (4 years, 2 months ago) by flameeyes
Branch: MAIN
Changes since 1.19: +6 -4 lines
Diff to previous 1.19 , to selected 1.9
Allow installing documentation even if there is no documentation task defined.


Revision 1.19 - (view) (download) (annotate) - [select for diffs]
Wed Jul 21 10:42:38 2010 UTC (4 years, 2 months ago) by flameeyes
Branch: MAIN
Changes since 1.18: +24 -22 lines
Diff to previous 1.18 , to selected 1.9
Allow multiple archives in SRC_URI, and unpack them properly.

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.


Revision 1.18 - (view) (download) (annotate) - [select for diffs]
Mon May 24 07:34:14 2010 UTC (4 years, 3 months ago) by flameeyes
Branch: MAIN
Changes since 1.17: +5 -5 lines
Diff to previous 1.17 , to selected 1.9
Use the new syntax for rake dependencies.


Revision 1.17 - (view) (download) (annotate) - [select for diffs]
Fri Feb 19 11:59:38 2010 UTC (4 years, 7 months ago) by flameeyes
Branch: MAIN
Changes since 1.16: +3 -3 lines
Diff to previous 1.16 , to selected 1.9
Only use revision, not full Id for the eclass.


Revision 1.16 - (view) (download) (annotate) - [select for diffs]
Fri Feb 19 11:58:36 2010 UTC (4 years, 7 months ago) by flameeyes
Branch: MAIN
Changes since 1.15: +26 -3 lines
Diff to previous 1.15 , to selected 1.9
Don't create generic wrappers when installing for a single implementation.

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.


Revision 1.15 - (view) (download) (annotate) - [select for diffs]
Fri Feb 19 08:47:36 2010 UTC (4 years, 7 months ago) by flameeyes
Branch: MAIN
Changes since 1.14: +4 -3 lines
Diff to previous 1.14 , to selected 1.9
Add support for suffixes to a gem (like .java) and support for
pre-release mangling (_pre becomes .pre).


Revision 1.14 - (view) (download) (annotate) - [select for diffs]
Sat Feb 13 08:45:03 2010 UTC (4 years, 7 months ago) by graaff
Branch: MAIN
Changes since 1.13: +3 -2 lines
Diff to previous 1.13 , to selected 1.9
Take into account that the description may contain double quotes and quote them to avoid generating invalid ruby code. Fixes #304723.


Revision 1.13 - (view) (download) (annotate) - [select for diffs]
Sun Jan 24 00:00:40 2010 UTC (4 years, 7 months ago) by flameeyes
Branch: MAIN
Changes since 1.12: +10 -13 lines
Diff to previous 1.12 , to selected 1.9
Define each_ruby_test in ruby-fakegem only if a test task is defined.

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.


Revision 1.12 - (view) (download) (annotate) - [select for diffs]
Thu Jan 21 10:18:59 2010 UTC (4 years, 7 months ago) by flameeyes
Branch: MAIN
Changes since 1.11: +4 -2 lines
Diff to previous 1.11 , to selected 1.9
Default to installing the binary wrapper to /usr/bin, when calling
with just a basename for the wrapped tool.

Thanks to Klaus Birkelund Jensen for reporting, in bug #301621.


Revision 1.11 - (view) (download) (annotate) - [select for diffs]
Mon Jan 18 22:01:46 2010 UTC (4 years, 8 months ago) by flameeyes
Branch: MAIN
Changes since 1.10: +9 -8 lines
Diff to previous 1.10 , to selected 1.9
Always install the EXTRAINSTALL content, this also allows it to be files rather than just directories


Revision 1.10 - (view) (download) (annotate) - [select for diffs]
Sat Jan 9 21:16:37 2010 UTC (4 years, 8 months ago) by flameeyes
Branch: MAIN
Changes since 1.9: +3 -3 lines
Diff to previous 1.9
Correct an undeclared IUSE doc and fix documentation for RUBY_FAKEGEM_REQUIRE_PATHS.


Revision 1.9 - (view) (download) (annotate) - [selected]
Fri Jan 1 23:13:26 2010 UTC (4 years, 8 months ago) by flameeyes
Branch: MAIN
Changes since 1.8: +3 -2 lines
Diff to previous 1.8
Don't error out if there is neither bin nor lib directories to install.

This is the case of the pg gem for instance.


Revision 1.8 - (view) (download) (annotate) - [select for diffs]
Sat Dec 26 17:06:02 2009 UTC (4 years, 8 months ago) by flameeyes
Branch: MAIN
Changes since 1.7: +13 -2 lines
Diff to previous 1.7 , to selected 1.9
Add a variable to explicit further required paths, useful for gems like RedCloth.


Revision 1.7 - (view) (download) (annotate) - [select for diffs]
Mon Dec 21 19:07:38 2009 UTC (4 years, 8 months ago) by flameeyes
Branch: MAIN
Changes since 1.6: +6 -4 lines
Diff to previous 1.6 , to selected 1.9
Allow for multiple documentation directories.


Revision 1.6 - (view) (download) (annotate) - [select for diffs]
Sun Dec 20 23:39:43 2009 UTC (4 years, 8 months ago) by flameeyes
Branch: MAIN
Changes since 1.5: +23 -1 lines
Diff to previous 1.5 , to selected 1.9
Add a RAKE_FAKEGEM_BINWRAP variable.

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.


Revision 1.5 - (view) (download) (annotate) - [select for diffs]
Wed Dec 16 09:51:30 2009 UTC (4 years, 9 months ago) by flameeyes
Branch: MAIN
Changes since 1.4: +3 -2 lines
Diff to previous 1.4 , to selected 1.9
Change the binary wrapper code.

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.


Revision 1.4 - (view) (download) (annotate) - [select for diffs]
Tue Dec 15 17:43:51 2009 UTC (4 years, 9 months ago) by flameeyes
Branch: MAIN
Changes since 1.3: +14 -3 lines
Diff to previous 1.3 , to selected 1.9
Fix and extend documentation.


Revision 1.3 - (view) (download) (annotate) - [select for diffs]
Tue Dec 15 16:27:46 2009 UTC (4 years, 9 months ago) by flameeyes
Branch: MAIN
Changes since 1.2: +3 -3 lines
Diff to previous 1.2 , to selected 1.9
Use the fakegem name and version vars for the source uri.


Revision 1.2 - (view) (download) (annotate) - [select for diffs]
Tue Dec 15 15:32:27 2009 UTC (4 years, 9 months ago) by flameeyes
Branch: MAIN
Changes since 1.1: +3 -1 lines
Diff to previous 1.1 , to selected 1.9
Provide a default SRC_URI.


Revision 1.1 - (view) (download) (annotate) - [select for diffs]
Mon Dec 14 12:32:18 2009 UTC (4 years, 9 months ago) by a3li
Branch: MAIN
Diff to selected 1.9
Add ruby-fakegem.eclass


This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sort log by:

Sticky Tag:

  ViewVC Help
Powered by ViewVC 1.1.20