summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* naive bump of all EAPI-specific checks in eclasses to permit EAPI=5 where ↵Ian Stakenvicius2012-09-271-4/+8
| | | | EAPI=4 was previously allowed
* Add support for cucumber as a test recipe. This allows abstracting some of ↵Diego Elio Pettenò2012-08-131-1/+6
| | | | the work needed to skip it over on JRuby.
* Add a cucumber wrapper similar to the rspec one we have already.Diego Elio Pettenò2012-08-131-1/+32
|
* Add a function to wrap around testrb-2 as well.Diego Elio Pettenò2012-07-081-1/+35
|
* Add support for running rspec while respecting some common variables ↵Diego Elio Pettenò2012-07-051-1/+32
| | | | (TEST_VERBOSE and NOCOLOR) in ruby-ng; then use this with a new variable in ruby-fakegem.
* inherit multilib for get_libdirZac Medico2012-06-021-2/+2
|
* ruby-ng.eclass: Improve no-matching-ruby-target-error message wording wrt ↵Alex Legler2012-02-231-3/+10
| | | | bug 405373.
* Reorder setting of REQUIRED_USE to stay near IUSE setting; also use ↵Diego Elio Pettenò2011-12-181-8/+4
| | | | ruby_get_use_targets to set IUSE.
* Use RbConfig instead of Config to get ruby configuration values, since ↵Hans de Graaff2011-10-241-6/+6
| | | | Config is now deprecated in Ruby 1.9 and all current implementations of ruby support RbConfig.
* Check if the jruby is also in IUSE before checking if it is enabled.Tomas Chvatal2011-10-221-2/+2
|
* Add support for Rubinius (rbx) target.Hans de Graaff2011-10-211-1/+9
|
* Set up java vm properly when using jruby. Fixes problems reported in bug ↵Hans de Graaff2011-10-051-2/+4
| | | | 384901. Thanks to matsuu for diagnosis and patch.
* fix random bugs in eclass documentation, and convert to new @AUTHOR tagMike Frysinger2011-08-221-7/+4
|
* Provide ruby_implementations_depend() to facilitate ebuilds with ↵Hans de Graaff2011-07-221-10/+35
| | | | RUBY_OPTIONAL=yes. Also use it internally to avoid duplication of code. Patch by Nathan Phillip Brink in bug 373139.
* Provide a convenience method to get a list of all ruby targets enabled by ↵Hans de Graaff2011-07-221-1/+12
| | | | the user. Useful in RUBY_OPTIONAL=yes ebuilds to provide custom handling of ruby. Patch by Matthew Schultz in bug 373227.
* Leverage the REQUIRED_USE mechanism to determine at dependency resolution ↵Hans de Graaff2011-07-221-1/+16
| | | | time if this ebuild can satisfy RUBY_TARGETS. Patch by Matthew Schultz in bug 373227.
* Add QA warning for deprecated * expansion in S. Use RUBY_S and EAPI=4 instead.Hans de Graaff2011-07-191-1/+8
|
* Add RUBY_QA_ALLOWED_LIBS, bug 347433.Hans de Graaff2011-07-161-1/+15
|
* Convert every instance of hasq to has.Samuli Suominen2011-07-081-2/+2
|
* Handle case where RUBY_S is not provided.Hans de Graaff2011-04-251-2/+6
|
* Support EAPI=4 in ruby-ng.eclass, fixing bug 358349.Hans de Graaff2011-04-251-2/+21
|
* Damn, this change was not intendedChristian Faulhammer2010-11-071-2/+2
|
* export EBZR_TREE_CRC32 variable with revision information of the checked out ↵Christian Faulhammer2010-11-071-2/+2
| | | | tree, see bug 343355 for details
* Allow the star to be at any place of the sub_S directory.Diego Elio Pettenò2010-09-101-2/+2
| | | | | | 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.
* Factor out the ree18→rubyee18 conversion and use it when generating the ↵Diego Elio Pettenò2010-08-301-12/+22
| | | | binwrapper (closes bug #335328).
* Update ruby eclass documentation.Hans de Graaff2010-08-221-1/+3
|
* Ignore basename errors, they happen with JRuby since it lacks a soname.Diego Elio Pettenò2010-07-301-2/+2
|
* Apply changes to the eclass for Prefix support. Thanks to Jeremy Olexa.Diego Elio Pettenò2010-07-301-5/+13
| | | | Closes bug #330543.
* Fix broken test for mislink with the new Ruby 1.9.2 ebuilds.Diego Elio Pettenò2010-07-301-3/+7
| | | | | | | | | | 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.
* Disable sitedir-not-sitelibdir test.Diego Elio Pettenò2010-07-141-9/+9
| | | | | This needs to be turned off for the 1.9.2 series that merges back ruby19 into ruby.
* Implement the merge of USE based dependencies as was listed in TODO.Diego Elio Pettenò2010-07-081-3/+3
| | | | Please don't cry when you see the code.
* Avoid touching IUSE in _ruby_wrap_conditions; set the test USE flagDiego Elio Pettenò2010-05-241-3/+3
| | | | | directly into the ruby_add_rdepend function to avoid subshell handling.
* Set RDEPEND="${RDEPEND}" to avoid depend to filter through rdepend.Diego Elio Pettenò2010-05-221-1/+2
|
* Avoid globbing while parsing the dependency string.Diego Elio Pettenò2010-05-221-1/+3
|
* Use a slightly different syntax for expliciting implementation-dependent ↵Diego Elio Pettenò2010-05-221-9/+15
| | | | | | | | | | | | | | 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 )"
* Allow for standard depend syntax in the single parameter form of ↵Diego Elio Pettenò2010-05-221-59/+49
| | | | | | | | | | 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.
* Fix missing link warnings in the eclass to print the library's soname again.Diego Elio Pettenò2010-05-221-3/+3
|
* Change processing of atoms in ruby_add_rdepend and ruby_add_bdepend toDiego Elio Pettenò2010-05-211-7/+16
| | | | | | | | | | | | 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.
* Don't print errors during unpack because the directory does not exist yet.Diego Elio Pettenò2010-05-011-2/+2
|
* Create a special handling of S variable for github-based packages.Diego Elio Pettenò2010-04-301-2/+11
| | | | | | 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.
* Adding a ruby_rbconfig_value function to ruby-ng.eclass for easy access even ↵Alex Legler2010-04-261-4/+11
| | | | to not regularly needed rbconfig data
* Add ruby_get_version() and ruby_get_implementation() convenience helper ↵Alex Legler2010-04-051-1/+27
| | | | functions
* ruby-ng.eclass: Add support for targets with different flag and executable ↵Alex Legler2010-04-021-2/+11
| | | | names. Implement this feature for Ruby Enterprise Edition 1.8.
* When adding a conditional dependency, make sure that the condition is in IUSE.Diego Elio Pettenò2010-01-151-1/+3
| | | | | This in particular fixes the problem of test USE flag not declared when adding runtime dependencies.
* Properly report the source copy phase.Diego Elio Pettenò2009-12-251-2/+3
|
* it's 2009Alex Legler2009-12-141-2/+2
|
* Fix minor documentation error.Hans de Graaff2009-12-061-2/+2
|
* Add a check for $RUBY to be set in doruby.Diego Elio Pettenò2009-12-051-2/+3
|
* Avoid calling ruby twice since we already calculated that directory.Diego Elio Pettenò2009-12-051-2/+2
|
* Add a further check after install for files installed in the wrong directory ↵Diego Elio Pettenò2009-12-051-1/+13
| | | | (sitedir rather than sitelibdir).