Commit graph

204 commits

Author SHA1 Message Date
taca
6070cc51c5 Make default Ruby on Rails version to 3; currently 3.0.10. 2011-09-14 16:51:50 +00:00
taca
7b83b9af09 Switch default Ruby's version to 1.9.x, currently 1.9.2. 2011-09-14 16:50:18 +00:00
taca
8133b0cc4e Now OVERRIDE_GEMSPEC can delete dependency in a gemspec file.
And a little documentation clean up.
2011-09-13 03:23:04 +00:00
taca
d24a667f30 * Remove unused codes.
* Add support for deleting dependency to a ruby gem.
2011-09-13 03:18:29 +00:00
taca
909f0e10a0 Update ruby-rdoc pacakge to 3.9.4.
=== 3.9.4 / 2011-08-26

* Bug fixes
  * Applied typo and grammar fixes from Luke Gruber.  Ruby bug #5203
2011-09-04 17:04:18 +00:00
taca
e2700de4c0 Update devel/ruby-rdoc package to 3.9.3.
=== 3.9.3 / 2011-08-23

* Bug fixes
  * Add US-ASCII magic comments to work with <tt>ruby -Ku</tt>.  Issue #63 by
    Travis D. Warlick, Jr.
  * Image paths at HTTPS URLs are now turned into +<img>+ tags.  Pull
    Request #60 by James Mead
  * Markup defined by RDoc::Markup#add_special inside a <tt><tt></tt> is no
    longer converted.
2011-08-25 15:17:59 +00:00
taca
59e8b2627c Start update of Ruby on Rails 2.3.14 and 3.0.10. 2011-08-17 14:11:18 +00:00
taca
f22c3401b8 Update devel/ruby-rdoc package to 3.9.2.
=== 3.9.2 / 2011-08-11

* Bug fix
  * Loosened TIDYLINK regexp to allow any content in the link section like:
    <tt>{foo}[rdoc-ref:SomeClass]</tt>
2011-08-13 02:05:42 +00:00
taca
a2fda01bc9 Start of updating ruby18 to ruby18-1.8.7.352 (Ruby 1.8.7 patchlevel 352)
and ruby19 to ruby19-1.9.2pl290 (Ruby 1.9.2 patchlevel 290).
2011-08-12 15:27:44 +00:00
taca
8c584c4fa6 Oops, should be commited with:
pkgsrc/devel/ruby-rdoc: PLIST distinfo
2011-08-12 15:24:36 +00:00
taca
83e1729b02 Introduce OVERRIDE_GEMSPEC.
If it specified, it modify gemspec's dependency using update-gemspec.rb
Ruby script.

The goal is avoid to use patch for modifying depending version or gem's
name since gemspec files' content differ using rubygem's version.
2011-08-12 14:35:34 +00:00
taca
007db30461 * Fix dependency condition to inverse when RUBY_RDOC_REQD is defined.
* Minor clean up.
2011-07-22 03:36:11 +00:00
taca
57f9139b85 Update ruby-rdoc pacakge to 3.8.
It was really needed by devel/ruby-railties, sigh.

=== 3.8 / ??

* Minor enhancements
  * RDoc::Parser::C can now discover methods on ENV and ARGF.
  * RDoc::Parser::C now knows about rb_cSocket and rb_mDL.
* Bug fixes
  * Updating Object in an ri data store with new data now removes methods,
    includes, constants and aliases.

=== 3.7 / 2011-06-27

* Minor enhancements
  * New directive :category: which allows methods to be grouped into sections
    more cleanly.  See RDoc::Markup for details.
  * Document-class for RDoc::Parser::C now supports Foo::CONST as well as
    CONST.
  * ri method output is now a comma-separated list when displayed
    interactively.  Pull Request #39 by Benoit Daloze.
  * RDoc::ClassModule#merge now prefers the argument's information over the
    receiver's (it now behaves like Hash#merge! instead of a backwards
    Hash#merge!).
  * RDoc::Markup#convert now accepts an RDoc::Markup::Document instance
  * RDoc now owns the code for generating RDoc and ri data when gems install
  * Added RDoc::RDoc::reset
  * Added RDoc::CodeObject#file_name
* Bug fixes
  * ri no longer crashes when attempting to complete a plain [.
  * ri data now tracks which file information came from so it can process
    removals and changes to:
    * Classes and Modules
    * Methods
    * Attributes
    * Includes
    * Constants
    You will need to rebuild your ri data for it to update properly.  Issue
    #21 by Sven Riedel
  * Signal and SignalException no longer clobber each other
  * RDoc::Parser::C no longer creates classes when processing aliases.
  * RDoc::Text#strip_stars handles Document-method for methods with =, ! and ?
    now.
  * RDoc::Parser::C now allows .cpp files to be used with the "in" comment on
    rb_define_method.  Bug #35 by Hanmac.
  * RDoc::Parser::Ruby no longer eats content when =begin/=end documentation
    blocks are followed by a documentable item.  Issue #41 by mfn.
  * RDoc::Markup::Formatter and subclasses now allow an optional +markup+
    parameter for adding custom markup.  The example in
    RDoc::Markup::Formatter will now work.  Issue #38 by tsilen.
  * RDoc::Parser::C can now distinguish between class methods and instance
    methods in Document-method.  Issue #36 by Vincent Batts.
  * RDoc now encodes file names in the output encoding.  Issue #33 by Perry
    Smith.
  * ri data generation for method aliases no longer duplicates the class in
    #full_name
2011-07-22 03:18:44 +00:00
taca
91d10c3499 Start update of Ruby on Rails 3 to 3.0.9. 2011-06-17 13:47:29 +00:00
taca
dc0404cf25 Remove bin/rdoc and bin/ri from this package since it will conflict
with devel/ruby-rdoc.

Bump PKGREVISION.
2011-06-16 15:17:59 +00:00
taca
86f58a97fc Include rdoc.mk to use devel/rdoc instead of ruby{18,19}-base.
If the package needs newer version in ruby{18,19}-base, set
RUBY_RDOC_REQD to minimum rdoc's version.  ruby{18,19}-base have
these versions.

	ruby18-base: rdoc 1.0.1
	ruby19-base: rdoc 2.5.8

A package RUBY_RDOC_REQD set and built with devel/ruby-rdoc, it
will be also depends devel/ruby-rdoc package not only build time.
Because, files generated by rdoc commands of devel/ruby-rdoc may
not usable with ri commands in ruby{18,19}-base.
2011-06-16 15:14:31 +00:00
taca
b3504f5d4a Add support file for utilize devel/rdoc package (would be imported later). 2011-06-16 15:03:29 +00:00
taca
358fe72ee1 Start update of Ruby on Rails 2.3.12/3.0.8. 2011-06-11 03:04:22 +00:00
hiramatsu
bd8ebe7f87 Fix typos regarding activeresource. 2011-05-30 13:08:15 +00:00
taca
4d4d17782f Start update of rails3 related packages to 3.0.7. 2011-05-10 14:09:21 +00:00
taca
cb758347d8 Correct RUBYGEMS_REQD's default in comment. 2011-05-10 13:31:49 +00:00
taca
6208c6bbad Start update of Ruby on Rails 3.0.6. 2011-04-06 13:23:03 +00:00
taca
9e4719acf9 Add depends pattern: RUBY_RAILS_DEPENDS. 2011-03-27 15:54:43 +00:00
taca
68994d239c * Introduce RUBYGEMS_REQD as a package-settable variable.
Specify minimum required rubygems version.
* Omit use of _RUBYGEM_UNPACK_OPTION.
2011-03-27 13:05:16 +00:00
taca
c6c48d1158 Add code fragment to select version of Ruby on Rails.
User settable variable is RUBY_RAILS_DEFAULT: 2 or 3.  (default 2)
2011-03-23 14:22:49 +00:00
wiz
258be22740 Add MULTI variable, and add it to BUILD_DEFS, to more easily find
variable settings affecting binary packages.

From Aleksey Cheusov in PR 44695.
2011-03-12 14:07:13 +00:00
taca
7d3c1050fb Introduce RUBY_ABI_VERSION and use it BUILDLINK_ABI_DEPENDS.
There are ABI incompatibility amaong Ruby 1.8.7 patchlevel 302, 330 and 334,
So it would be handle if such problem in future.
2011-02-21 15:00:34 +00:00
taca
4f7294c048 * Start upate of ruby18 and ruby19 packags.
* Remove redundant GEM_HOME definition from PLIST.
2011-02-21 14:31:06 +00:00
obache
36ca8d1a25 fixes shlib alias name for Solaris. PR#44480.
RUBY_API_TEENY must be used instead of _RUBY_VER_TEENY for shlib name.
2011-02-02 08:47:01 +00:00
taca
faee67fca3 Apply patch provided by obache@, fixing build problem on Solaris.
Should be fix PR pkg/44480.
2011-02-01 22:32:37 +00:00
obache
6c8846f834 rubygems.org returns invalid Location header (no scheme and hostname) for
redirect, then speficy the redirected one here instead.
2011-01-13 12:09:04 +00:00
taca
493ed963b9 Start update of ruby18-base and ruby19-base packages:
RUBY18_PATCHLEVEL	pl330
	RUBY19_PATCHLEVEL	pl136
2010-12-26 12:29:07 +00:00
taca
7e269e2891 Fix build problem on Linux, fix part of PR pkg/44174. 2010-12-01 13:51:45 +00:00
taca
a95ad12133 Some improvements for rubyversion.mk:
- Set RUBY_API_VERSION after RUBY_VERSION has decided.
- Change old RUBY_DOCDIR and RUBY_EXAMPLESDIR to RUBY_DOC and RUBY_EG in
  comment.
- Fix shared libraries PLIST to support Mac OS X with introducing RUBY_SLEXT:
	Shared library => .dylib
	Extension library => .bundle
- Improve PRINT_PLIST_AWK to handle new shared libraries.

No functional change shoud be done and fix PR pkg/44050.
2010-11-17 14:27:09 +00:00
obache
c6e0da5917 Exactly set TZ=UTC, or not worked as expected on Solaris (time-zone difference = 0).
Fixes PR#44037.
2010-11-10 10:57:41 +00:00
obache
a12794b9d6 Pass down INSTALL_MAKE_FLAGS. 2010-11-06 23:44:01 +00:00
joerg
5a1c12fab9 Add the necessary glue to hook Ruby into the multi-version framework.
This allows lang/ruby18 and lang/ruby19 to coexist in bulk builds.

Discussed with taca@
2010-09-28 20:24:25 +00:00
taca
d43a87ae38 Fix version description in comments.
Noted by wiz@ by private mail.
2010-09-24 07:44:29 +00:00
taca
859cc3166a Now enable ruby19! 2010-09-12 03:53:00 +00:00
taca
bffebca137 Add support for Ruby19. 2010-09-10 03:38:10 +00:00
taca
fec7844cc5 * Ruby's patchlevel N reflect as "plN" instead of ".N" from Ruby 1.9.
ruby18-base-1.8.7.302
	ruby19-base-1.9.2pl0

* Now patches of ruby-gdm, ruby-curses, ruby-readline and ruby-tk
  are gathered to lang/ruby18-base and lang/ruby19-base.
2010-09-10 03:24:42 +00:00
taca
c7289cd6cd * Default PKGNAME will be set to ${RUBY_PKGPREFIX}-${DISTNAME}.
* RUBY_HAS_ARCHLIB is deprecated.
* Add support of both ruby18 and ruby19.
2010-09-10 03:21:57 +00:00
taca
20261cd96e Use RUBY_API_VERSION for BUILDLINK_ABI_DEPENDS instead of RUBY_VERSION. 2010-09-10 03:20:31 +00:00
taca
92ec5840b7 * Add support for Ruby 1.9.x and update 1.8.7.302 (1.8.7 patchlevel 302).
Ruby's patchlevel N reflect as "plN" instead of ".N" from Ruby 1.9.

	ruby18-base-1.8.7.302
	ruby19-base-1.9.2pl0

  Still Ruby 1.9.2pl0 support is disabled.

* Introduce RUBY_API_VERSION.

* RUBY_BUILD_RDOC and RUBY_BUILD_RI controls build of rdoc/ri.  But,
  currently ruby18-base and ruby19-base according to PKG_OPTION.

* Define rubygem supporting macros.

* RUBY_HAS_ARCHLIB is deprecated.

* Many directory macros are changed to relative path against PREFIX and
  some of them are their name.
2010-09-10 03:19:54 +00:00
taca
716568f989 Allow RUBY_ENCODING_ARG to add extra option to shbang line. 2010-09-10 03:13:59 +00:00
taca
1a68c4475c Move misc/rubygems/rubygem.mk as lang/ruby/gem.mk.
* Many directory macro, such as GEM_DOCDIR and GEM_LIBDIR are changed
  to relative path against PREFIX.
* RUBYGEM_OPTIONS could be set from pkgsrc's Makefile.
* RUBY_BUILD_RDOC and RUBY_BUILD_RI controls build of rdoc/ri.  But,
  currently ruby18-base and ruby19-base according to PKG_OPTION.
* Assume name of commands gem18/rake18 or gem19/rake19.
* GEM_BUILD's default has changed from rake to gemspec.  Most of rubygem
  based pacakges would be installed via gem command.
* USE_RAKE controls the needs of the rake command.
* MASTER_SITES now use http://rubygems.org/downloads/ first.
* Check existence of GEM_DOCDIR before execute find(1).
* Deprecate RUBYGEM_PKGPREFIX which was defined the same as RUBY_PKGPREFIX
  in long term.
* PRIVILEGED_STAGES isn't set "clean" any more.

misc/rubygems/rubygem.mk will be removed later.
2010-09-10 03:12:02 +00:00
taca
2ae13fe193 Update Ruby packages to 1.8.7.174 (1.8.7-p174).
* Fix critical problem of BigDecimal class in 1.8.7-p173.


Fri Jun 12 16:36:44 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>

	* ext/bigdecimal/bigdecimal.c (VpToString): fixed a bug introduced
	  in r23613.  [ruby-talk:338957]
2009-06-16 15:08:38 +00:00
joerg
9bb0d96ea9 Remove @dirrm related logic. 2009-06-14 22:57:58 +00:00
taca
43b8fdf2cf Change to gnu-gpl-v2 now. 2009-06-10 13:38:55 +00:00
taca
9d24db46aa Start update of Ruby programming language packages to 1.8.7.173 (1.8.7-p173).
- Add LICENSE.
- Update RUBY18_PATCHLEVEL to 173.
2009-06-10 12:45:34 +00:00