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

Log of /eclass/ruby-ng.eclass

Parent Directory Parent Directory | Revision Log Revision Log


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

Revision 1.54 - (view) (download) (annotate) - [select for diffs]
Thu Jan 16 07:57:40 2014 UTC (10 months, 1 week ago) by graaff
Branch: MAIN
CVS Tags: HEAD
Changes since 1.53: +3 -3 lines
Diff to previous 1.53 , to selected 1.12
Explicitly cp symlinks as-is. The default for this changed in coreutils 8.22. Fixes bug 472710.


Revision 1.53 - (view) (download) (annotate) - [select for diffs]
Thu Dec 26 07:11:48 2013 UTC (10 months, 4 weeks ago) by graaff
Branch: MAIN
Changes since 1.52: +6 -1 lines
Diff to previous 1.52 , to selected 1.12
Add support for the ruby21 target.


Revision 1.52 - (view) (download) (annotate) - [select for diffs]
Sun Jun 23 14:56:07 2013 UTC (17 months ago) by graaff
Branch: MAIN
Changes since 1.51: +7 -2 lines
Diff to previous 1.51 , to selected 1.12
Add support for ruby20.


Revision 1.51 - (view) (download) (annotate) - [select for diffs]
Thu Sep 27 16:35:41 2012 UTC (2 years, 1 month ago) by axs
Branch: MAIN
Changes since 1.50: +8 -4 lines
Diff to previous 1.50 , to selected 1.12
naive bump of all EAPI-specific checks in eclasses to permit EAPI=5 where EAPI=4 was previously allowed


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


Revision 1.49 - (view) (download) (annotate) - [select for diffs]
Mon Aug 13 21:18:41 2012 UTC (2 years, 3 months ago) by flameeyes
Branch: MAIN
Changes since 1.48: +32 -1 lines
Diff to previous 1.48 , to selected 1.12
Add a cucumber wrapper similar to the rspec one we have already.


Revision 1.48 - (view) (download) (annotate) - [select for diffs]
Sun Jul 8 12:38:10 2012 UTC (2 years, 4 months ago) by flameeyes
Branch: MAIN
Changes since 1.47: +35 -1 lines
Diff to previous 1.47 , to selected 1.12
Add a function to wrap around testrb-2 as well.


Revision 1.47 - (view) (download) (annotate) - [select for diffs]
Thu Jul 5 21:23:01 2012 UTC (2 years, 4 months ago) by flameeyes
Branch: MAIN
Changes since 1.46: +32 -1 lines
Diff to previous 1.46 , to selected 1.12
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.46 - (view) (download) (annotate) - [select for diffs]
Sat Jun 2 19:16:31 2012 UTC (2 years, 5 months ago) by zmedico
Branch: MAIN
Changes since 1.45: +2 -2 lines
Diff to previous 1.45 , to selected 1.12
inherit multilib for get_libdir


Revision 1.45 - (view) (download) (annotate) - [select for diffs]
Thu Feb 23 23:06:13 2012 UTC (2 years, 9 months ago) by a3li
Branch: MAIN
Changes since 1.44: +10 -3 lines
Diff to previous 1.44 , to selected 1.12
ruby-ng.eclass: Improve no-matching-ruby-target-error message wording wrt bug 405373.


Revision 1.44 - (view) (download) (annotate) - [select for diffs]
Sun Dec 18 21:33:50 2011 UTC (2 years, 11 months ago) by flameeyes
Branch: MAIN
Changes since 1.43: +4 -8 lines
Diff to previous 1.43 , to selected 1.12
Reorder setting of REQUIRED_USE to stay near IUSE setting; also use ruby_get_use_targets to set IUSE.


Revision 1.43 - (view) (download) (annotate) - [select for diffs]
Mon Oct 24 18:20:05 2011 UTC (3 years, 1 month ago) by graaff
Branch: MAIN
Changes since 1.42: +6 -6 lines
Diff to previous 1.42 , to selected 1.12
Use RbConfig instead of Config to get ruby configuration values, since Config is now deprecated in Ruby 1.9 and all current implementations of ruby support RbConfig.


Revision 1.42 - (view) (download) (annotate) - [select for diffs]
Sat Oct 22 10:08:44 2011 UTC (3 years, 1 month ago) by scarabeus
Branch: MAIN
Changes since 1.41: +2 -2 lines
Diff to previous 1.41 , to selected 1.12
Check if the jruby is also in IUSE before checking if it is enabled.


Revision 1.41 - (view) (download) (annotate) - [select for diffs]
Fri Oct 21 06:48:24 2011 UTC (3 years, 1 month ago) by graaff
Branch: MAIN
Changes since 1.40: +9 -1 lines
Diff to previous 1.40 , to selected 1.12
Add support for Rubinius (rbx) target.


Revision 1.40 - (view) (download) (annotate) - [select for diffs]
Wed Oct 5 17:46:20 2011 UTC (3 years, 1 month ago) by graaff
Branch: MAIN
Changes since 1.39: +4 -2 lines
Diff to previous 1.39 , to selected 1.12
Set up java vm properly when using jruby. Fixes problems reported in bug 384901. Thanks to matsuu for diagnosis and patch.


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


Revision 1.38 - (view) (download) (annotate) - [select for diffs]
Fri Jul 22 09:41:17 2011 UTC (3 years, 4 months ago) by graaff
Branch: MAIN
Changes since 1.37: +35 -10 lines
Diff to previous 1.37 , to selected 1.12
Provide ruby_implementations_depend() to facilitate ebuilds with RUBY_OPTIONAL=yes. Also use it internally to avoid duplication of code. Patch by Nathan Phillip Brink in bug 373139.


Revision 1.37 - (view) (download) (annotate) - [select for diffs]
Fri Jul 22 09:10:22 2011 UTC (3 years, 4 months ago) by graaff
Branch: MAIN
Changes since 1.36: +12 -1 lines
Diff to previous 1.36 , to selected 1.12
Provide a convenience method to get a list of all ruby targets enabled by the user. Useful in RUBY_OPTIONAL=yes ebuilds to provide custom handling of ruby. Patch by Matthew Schultz in bug 373227.


Revision 1.36 - (view) (download) (annotate) - [select for diffs]
Fri Jul 22 09:08:59 2011 UTC (3 years, 4 months ago) by graaff
Branch: MAIN
Changes since 1.35: +16 -1 lines
Diff to previous 1.35 , to selected 1.12
Leverage the REQUIRED_USE mechanism to determine at dependency resolution time if this ebuild can satisfy RUBY_TARGETS. Patch by Matthew Schultz in bug 373227.


Revision 1.35 - (view) (download) (annotate) - [select for diffs]
Tue Jul 19 05:48:09 2011 UTC (3 years, 4 months ago) by graaff
Branch: MAIN
Changes since 1.34: +8 -1 lines
Diff to previous 1.34 , to selected 1.12
Add QA warning for deprecated * expansion in S. Use RUBY_S and EAPI=4 instead.


Revision 1.34 - (view) (download) (annotate) - [select for diffs]
Sat Jul 16 09:50:05 2011 UTC (3 years, 4 months ago) by graaff
Branch: MAIN
Changes since 1.33: +15 -1 lines
Diff to previous 1.33 , to selected 1.12
Add RUBY_QA_ALLOWED_LIBS, bug 347433.


Revision 1.33 - (view) (download) (annotate) - [select for diffs]
Fri Jul 8 11:35:01 2011 UTC (3 years, 4 months ago) by ssuominen
Branch: MAIN
Changes since 1.32: +2 -2 lines
Diff to previous 1.32 , to selected 1.12
Convert every instance of hasq to has.


Revision 1.32 - (view) (download) (annotate) - [select for diffs]
Mon Apr 25 08:37:26 2011 UTC (3 years, 7 months ago) by graaff
Branch: MAIN
Changes since 1.31: +6 -2 lines
Diff to previous 1.31 , to selected 1.12
Handle case where RUBY_S is not provided.


Revision 1.31 - (view) (download) (annotate) - [select for diffs]
Mon Apr 25 06:27:22 2011 UTC (3 years, 7 months ago) by graaff
Branch: MAIN
Changes since 1.30: +21 -2 lines
Diff to previous 1.30 , to selected 1.12
Support EAPI=4 in ruby-ng.eclass, fixing bug 358349.


Revision 1.30 - (view) (download) (annotate) - [select for diffs]
Sun Nov 7 22:52:44 2010 UTC (4 years ago) by fauli
Branch: MAIN
Changes since 1.29: +2 -2 lines
Diff to previous 1.29 , to selected 1.12
Damn, this change was not intended


Revision 1.29 - (view) (download) (annotate) - [select for diffs]
Sun Nov 7 22:44:35 2010 UTC (4 years ago) by fauli
Branch: MAIN
Changes since 1.28: +2 -2 lines
Diff to previous 1.28 , to selected 1.12
export EBZR_TREE_CRC32 variable with revision information of the checked out tree, see bug 343355 for details


Revision 1.28 - (view) (download) (annotate) - [select for diffs]
Fri Sep 10 13:03:39 2010 UTC (4 years, 2 months ago) by flameeyes
Branch: MAIN
Changes since 1.27: +2 -2 lines
Diff to previous 1.27 , to selected 1.12
Allow the star to be at any place of the sub_S directory.

While it only makes sense for GitHub tarballs, with Rails the star is
_not_ the last character in the string because we have to enter a
sub-directory.


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


Revision 1.26 - (view) (download) (annotate) - [select for diffs]
Sun Aug 22 07:28:24 2010 UTC (4 years, 3 months ago) by graaff
Branch: MAIN
Changes since 1.25: +3 -1 lines
Diff to previous 1.25 , to selected 1.12
Update ruby eclass documentation.


Revision 1.25 - (view) (download) (annotate) - [select for diffs]
Fri Jul 30 17:28:53 2010 UTC (4 years, 3 months ago) by flameeyes
Branch: MAIN
Changes since 1.24: +2 -2 lines
Diff to previous 1.24 , to selected 1.12
Ignore basename errors, they happen with JRuby since it lacks a soname.


Revision 1.24 - (view) (download) (annotate) - [select for diffs]
Fri Jul 30 16:56:21 2010 UTC (4 years, 3 months ago) by flameeyes
Branch: MAIN
Changes since 1.23: +13 -5 lines
Diff to previous 1.23 , to selected 1.12
Apply changes to the eclass for Prefix support. Thanks to Jeremy Olexa.
Closes bug #330543.


Revision 1.23 - (view) (download) (annotate) - [select for diffs]
Fri Jul 30 15:05:08 2010 UTC (4 years, 3 months ago) by flameeyes
Branch: MAIN
Changes since 1.22: +7 -3 lines
Diff to previous 1.22 , to selected 1.12
Fix broken test for mislink with the new Ruby 1.9.2 ebuilds.

With 1.9.2 the sitedir is now the same between 1.8 and 1.9, so you
cannot just go look for all the extensions within that or you'll hit
the one for the other implementation as well. Instead use the
sitelibdir that encodes the version as well.

While at it, extend the test to the Gems-installed extensions, and
remove an awk call by using the --format option of scanelf.


Revision 1.22 - (view) (download) (annotate) - [select for diffs]
Wed Jul 14 13:11:51 2010 UTC (4 years, 4 months ago) by flameeyes
Branch: MAIN
Changes since 1.21: +9 -9 lines
Diff to previous 1.21 , to selected 1.12
Disable sitedir-not-sitelibdir test.

This needs to be turned off for the 1.9.2 series that merges back
ruby19 into ruby.


Revision 1.21 - (view) (download) (annotate) - [select for diffs]
Thu Jul 8 04:00:57 2010 UTC (4 years, 4 months ago) by flameeyes
Branch: MAIN
Changes since 1.20: +3 -3 lines
Diff to previous 1.20 , to selected 1.12
Implement the merge of USE based dependencies as was listed in TODO.

Please don't cry when you see the code.


Revision 1.20 - (view) (download) (annotate) - [select for diffs]
Mon May 24 07:33:35 2010 UTC (4 years, 6 months ago) by flameeyes
Branch: MAIN
Changes since 1.19: +3 -3 lines
Diff to previous 1.19 , to selected 1.12
Avoid touching IUSE in _ruby_wrap_conditions; set the test USE flag
directly into the ruby_add_rdepend function to avoid subshell
handling.


Revision 1.19 - (view) (download) (annotate) - [select for diffs]
Sat May 22 13:15:40 2010 UTC (4 years, 6 months ago) by flameeyes
Branch: MAIN
Changes since 1.18: +2 -1 lines
Diff to previous 1.18 , to selected 1.12
Set RDEPEND="${RDEPEND}" to avoid depend to filter through rdepend.


Revision 1.18 - (view) (download) (annotate) - [select for diffs]
Sat May 22 12:45:03 2010 UTC (4 years, 6 months ago) by flameeyes
Branch: MAIN
Changes since 1.17: +3 -1 lines
Diff to previous 1.17 , to selected 1.12
Avoid globbing while parsing the dependency string.


Revision 1.17 - (view) (download) (annotate) - [select for diffs]
Sat May 22 12:31:03 2010 UTC (4 years, 6 months ago) by flameeyes
Branch: MAIN
Changes since 1.16: +15 -9 lines
Diff to previous 1.16 , to selected 1.12
Use a slightly different syntax for expliciting implementation-dependent dependencies.

Rather than using a single, huge USE-conditional per atom, put the dependendencies under conditional
_and_ USE-dependency. This allows for syntax like:

USE_RUBY="ruby18 ruby19"
...

ruby_add_bdepend "test? ( dev-ruby/first )"
USE_RUBY="ruby18" ruby_add_bdepend "test? ( dev-ruby/second )"
USE_RUBY="ruby19" ruby_add_bdepend "test? ( dev-ruby/third )"


Revision 1.16 - (view) (download) (annotate) - [select for diffs]
Sat May 22 12:18:07 2010 UTC (4 years, 6 months ago) by flameeyes
Branch: MAIN
Changes since 1.15: +49 -59 lines
Diff to previous 1.15 , to selected 1.12
Allow for standard depend syntax in the single parameter form of ruby_add_rdepend and ruby_add_bdepend.

Make the two parameters form throw a warning for gentoo developers only (for now), and call back the
single-parameter function after wrapping. Update documentation to only suggest using the new syntax.

This allows dropping _ruby_add_rdepend and _ruby_add_bdepend convenience functions, and rather adds a
_ruby_wrap_conditions function.


Revision 1.15 - (view) (download) (annotate) - [select for diffs]
Sat May 22 03:39:50 2010 UTC (4 years, 6 months ago) by flameeyes
Branch: MAIN
Changes since 1.14: +3 -3 lines
Diff to previous 1.14 , to selected 1.12
Fix missing link warnings in the eclass to print the library's soname again.


Revision 1.14 - (view) (download) (annotate) - [select for diffs]
Fri May 21 23:18:46 2010 UTC (4 years, 6 months ago) by flameeyes
Branch: MAIN
Changes since 1.13: +16 -7 lines
Diff to previous 1.13 , to selected 1.12
Change processing of atoms in ruby_add_rdepend and ruby_add_bdepend to
make it possible to process complex dependency strings, such as

|| ( virtual/ruby-test-unit dev-ruby/test-unit:2 )

which is going to be common for test-unit-2 compatible packages; to
have a proper dependency tree.

This, theorically, can also drop the need for the 2-ary calls for
ruby_add_bdepend and ruby_add_rdepend.


Revision 1.13 - (view) (download) (annotate) - [select for diffs]
Sat May 1 16:05:45 2010 UTC (4 years, 6 months ago) by flameeyes
Branch: MAIN
Changes since 1.12: +2 -2 lines
Diff to previous 1.12
Don't print errors during unpack because the directory does not exist yet.


Revision 1.12 - (view) (download) (annotate) - [selected]
Fri Apr 30 17:40:10 2010 UTC (4 years, 6 months ago) by flameeyes
Branch: MAIN
Changes since 1.11: +11 -2 lines
Diff to previous 1.11
Create a special handling of S variable for github-based packages.

Since using GitHub is widely common for Ruby packages, especially
those not packaging the tests within the gem, we would be
reimplementing this so many times that it's worth special casing here.


Revision 1.11 - (view) (download) (annotate) - [select for diffs]
Mon Apr 26 15:07:58 2010 UTC (4 years, 6 months ago) by a3li
Branch: MAIN
Changes since 1.10: +11 -4 lines
Diff to previous 1.10 , to selected 1.12
Adding a ruby_rbconfig_value function to ruby-ng.eclass for easy access even to not regularly needed rbconfig data


Revision 1.10 - (view) (download) (annotate) - [select for diffs]
Mon Apr 5 07:41:09 2010 UTC (4 years, 7 months ago) by a3li
Branch: MAIN
Changes since 1.9: +27 -1 lines
Diff to previous 1.9 , to selected 1.12
Add ruby_get_version() and ruby_get_implementation() convenience helper functions


Revision 1.9 - (view) (download) (annotate) - [select for diffs]
Fri Apr 2 20:26:21 2010 UTC (4 years, 7 months ago) by a3li
Branch: MAIN
Changes since 1.8: +11 -2 lines
Diff to previous 1.8 , to selected 1.12
ruby-ng.eclass: Add support for targets with different flag and executable names. Implement this feature for Ruby Enterprise Edition 1.8.


Revision 1.8 - (view) (download) (annotate) - [select for diffs]
Fri Jan 15 12:58:20 2010 UTC (4 years, 10 months ago) by flameeyes
Branch: MAIN
Changes since 1.7: +3 -1 lines
Diff to previous 1.7 , to selected 1.12
When adding a conditional dependency, make sure that the condition is in IUSE.

This in particular fixes the problem of test USE flag not declared
when adding runtime dependencies.


Revision 1.7 - (view) (download) (annotate) - [select for diffs]
Fri Dec 25 18:01:34 2009 UTC (4 years, 10 months ago) by flameeyes
Branch: MAIN
Changes since 1.6: +3 -2 lines
Diff to previous 1.6 , to selected 1.12
Properly report the source copy phase.


Revision 1.6 - (view) (download) (annotate) - [select for diffs]
Mon Dec 14 12:25:47 2009 UTC (4 years, 11 months ago) by a3li
Branch: MAIN
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 , to selected 1.12
it's 2009


Revision 1.5 - (view) (download) (annotate) - [select for diffs]
Sun Dec 6 13:01:26 2009 UTC (4 years, 11 months ago) by graaff
Branch: MAIN
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 , to selected 1.12
Fix minor documentation error.


Revision 1.4 - (view) (download) (annotate) - [select for diffs]
Sat Dec 5 11:33:10 2009 UTC (4 years, 11 months ago) by flameeyes
Branch: MAIN
Changes since 1.3: +3 -2 lines
Diff to previous 1.3 , to selected 1.12
Add a check for $RUBY to be set in doruby.


Revision 1.3 - (view) (download) (annotate) - [select for diffs]
Sat Dec 5 11:32:19 2009 UTC (4 years, 11 months ago) by flameeyes
Branch: MAIN
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 , to selected 1.12
Avoid calling ruby twice since we already calculated that directory.


Revision 1.2 - (view) (download) (annotate) - [select for diffs]
Sat Dec 5 11:30:17 2009 UTC (4 years, 11 months ago) by flameeyes
Branch: MAIN
Changes since 1.1: +13 -1 lines
Diff to previous 1.1 , to selected 1.12
Add a further check after install for files installed in the wrong directory (sitedir rather than sitelibdir).


Revision 1.1 - (view) (download) (annotate) - [select for diffs]
Sat Dec 5 09:35:48 2009 UTC (4 years, 11 months ago) by graaff
Branch: MAIN
Diff to selected 1.12
Initial version of ruby-ng.eclass from our ruby-ng-testbed, as discussed on gentoo-dev.


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