Log of /eclass/ruby-fakegem.eclass
Parent Directory
|
Revision Log
Revision
1.41 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Mon Apr 21 07:35:43 2014 UTC
(3 years, 11 months ago)
by
graaff
Branch:
MAIN
Changes since
1.40: +7 -7 lines
Diff to
previous 1.40
,
to
selected 1.5
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.37 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sun Aug 19 07:45:02 2012 UTC
(5 years, 8 months ago)
by
graaff
Branch:
MAIN
Changes since
1.36: +11 -4 lines
Diff to
previous 1.36
,
to
selected 1.5
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.33 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu Jul 5 21:23:01 2012 UTC
(5 years, 9 months ago)
by
flameeyes
Branch:
MAIN
Changes since
1.32: +50 -20 lines
Diff to
previous 1.32
,
to
selected 1.5
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.27 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Tue Dec 28 12:07:15 2010 UTC
(7 years, 3 months ago)
by
graaff
Branch:
MAIN
Changes since
1.26: +76 -19 lines
Diff to
previous 1.26
,
to
selected 1.5
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.22 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu Jul 29 09:38:09 2010 UTC
(7 years, 8 months ago)
by
flameeyes
Branch:
MAIN
Changes since
1.21: +33 -22 lines
Diff to
previous 1.21
,
to
selected 1.5
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.19 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Wed Jul 21 10:42:38 2010 UTC
(7 years, 9 months ago)
by
flameeyes
Branch:
MAIN
Changes since
1.18: +24 -22 lines
Diff to
previous 1.18
,
to
selected 1.5
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.16 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Fri Feb 19 11:58:36 2010 UTC
(8 years, 2 months ago)
by
flameeyes
Branch:
MAIN
Changes since
1.15: +26 -3 lines
Diff to
previous 1.15
,
to
selected 1.5
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.14 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sat Feb 13 08:45:03 2010 UTC
(8 years, 2 months ago)
by
graaff
Branch:
MAIN
Changes since
1.13: +3 -2 lines
Diff to
previous 1.13
,
to
selected 1.5
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
(8 years, 2 months ago)
by
flameeyes
Branch:
MAIN
Changes since
1.12: +10 -13 lines
Diff to
previous 1.12
,
to
selected 1.5
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
(8 years, 2 months ago)
by
flameeyes
Branch:
MAIN
Changes since
1.11: +4 -2 lines
Diff to
previous 1.11
,
to
selected 1.5
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.6 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sun Dec 20 23:39:43 2009 UTC
(8 years, 4 months ago)
by
flameeyes
Branch:
MAIN
Changes since
1.5: +23 -1 lines
Diff to
previous 1.5
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)
-
[selected]
Wed Dec 16 09:51:30 2009 UTC
(8 years, 4 months ago)
by
flameeyes
Branch:
MAIN
Changes since
1.4: +3 -2 lines
Diff to
previous 1.4
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.
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.
Sticky Tag: |
|