Up to [cvs.NetBSD.org] / pkgsrc / lang / ruby
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
lang/ruby: fix gem handling * Do not modify EXTRACT_ONLY here. * Do not manually extract gem rely on mk/extract/extract.mk.
lang/ruby/gem.mk: try removing empty directories Try removing empty directories in order to remove junk from "make print-PLIST".
lang/ruby: fix comment for GEM_BUILD Fix comment for GEM_BUILD, Its default is gemspec but comment said rake. Thanks J. Lewis Muir for reporting this.
Mass-change BUILD_DEPENDS to TOOL_DEPENDS outside mk/. Almost all uses, if not all of them, are wrong, according to the semantics of BUILD_DEPENDS (packages built for target available for use _by_ tools at build-time) and TOOL_DEPEPNDS (packages built for host available for use _as_ tools at build-time). No change to BUILD_DEPENDS as used correctly inside buildlink3. As proposed on tech-pkg: https://mail-index.netbsd.org/tech-pkg/2023/06/03/msg027632.html
lang/ruby/gem.mk: fix handlingo of RUBYGEM_MANPAGES Globael setting for RUBYGEM_MANPAGES is also required.
lang/ruby: add handling for ruby-manpages 1. Introduce RUBYGEM_MANPAGES ruby-manpages pacakge is a plugin for rubygems and it changes behavior of gem based pacakges (installing man pages to PKGMANDIR or not). If ruby gem based package contains manual pages, it might fail to build depending on installation of ruby-manpages. So, introduce RUBYGEM_MANPAGES which mandate installation of ruby-manpages packages or not. RUBYGEM_MANPAGES should be set to "YES" ruby gem based package contains manual pages. 2. Remove obosolete comment lines.
lang/ruby/gem.mk: format consistency Format consistency in comment.
ruby: fix spelling & grammar in comments, and update one
lang/ruby: PRINT_PLIST_AWK improvement
* Move PRINT_PLIST_AWK for ${RUBY_SUFFIX} from gem.mk to rubyversion.mk.
It was previously committed in gem.mk.
* Add support ${RUBY_SUFFIX} to online manual.
lang/ruby/gem.mk: support ${RUBY_SUFFIX} in print-PLIST
Add limited support for replacing ${RUBY_SUFFIX} in ${PREFIX}/bin
directory. Notifed by tsutsui@.
lang/ruby: add GEM_PLUGINSDIR support * Add GEM_PLUGINSDIR support required by rubygems 3.2 and later. * GEM_EXTSDIR is required unconditonally.
lang/ruby: add RUBYGEM_VERBOSE Add RUBYGEM_VERBOSE user-settable variable. It is useful for developers. RUBYGEM_VERBOSE Execute gem with verbose option. Possible values: Yes No Default: No
lang/ruby: try removing extra directory Try removing extra directory and make "make print-PLIST" happy a little.
lang/ruby/gem.mk: introduce GEM_KEEPBUILD Introduce GEM_KEEPBUILD which specifies file should not be removed by GEM_CLEANBUILD.
lang: align variable assignments pkglint -Wall -F --only aligned --only indent -r No manual corrections.
lang/ruby: change for --no-document option Replace RUBY_BUILD_RDOC and RUBY_BUILD_RI with RUBY_BUILD_DOCUMENT since rdoc's --no-rdoc and --no-ri options are deprecated almost 8 years ago and these options are replaced with -no-document option. No package should be changed.
lang/ruby/gem.mk: improve message OVERRIDE_GEMSPEC would not only update rubygem's dependency but also its meta data.
Remove use of USE_RAKE.
Extract _RUBYGEMS_MINORS more strictly.
update PKG_{FAIL,SKIP}_REASON with +=
* Split gem-vars.mk and gem-extract.mk from gem.mk. * Make GEM_EXTSDIR from output of gem command instead of derived from RUBY_ARCH related variables.
Drop RUBYGEMS_REQD. Since all ruby*-base package contains enough version of rubygems except ruby18-base.
Fix typo, s/GEM_CLEANBUOLD_EXTENSIONS/GEM_CLEANBUILD_EXTENSIONS/.
Pass CONFIGURE_ARGS to _RUBYGEM_OPTIONS with "--build-args".
Fix broken print-PLIST with gem based packages.
Move definition of GEM_EXTSDIR and PRINT_PLIST_AWK definition block to appropriate place. Noted by obache@.
Do not preserve owner of installed files. This causes multiple failures of Ruby gems in FreeBSD bulk builds. (Besides, it is unclear whether it is actually needed or wanted.)
Use GEM_EXTSDIR only if it isn't empty.
Add GEM_CLEANBUOLD_EXTENSIONS and GEM_EXTSDIR macro and related rules to support rubygems bundled with Ruby 2.1.1 (Rubygems 2.2 and later?).
Use versions in rubyversion.mk.
Revert accidently commit files which not yet ready.
Utilize PKGNAME_REQD to determine required Ruby version. Address to PR pkg/48509.
Update rubygems' versions information in comment.
Pullup ticket #4179 - requested by taca
misc/rubygems: build fix
textproc/ruby-xslt: build fix
Revisions pulled up:
- converters/ruby-unf_ext/Makefile 1.4
- converters/ruby-unf_ext/PLIST 1.3
- databases/ruby-ldap/Makefile 1.15
- databases/ruby-ldap/PLIST 1.6
- databases/ruby-odbc/Makefile 1.14
- databases/ruby-odbc/PLIST 1.8
- databases/ruby-pg/Makefile 1.16
- databases/ruby-pg/PLIST 1.10
- devel/ruby-rbtree/Makefile 1.10
- devel/ruby-rbtree/PLIST 1.6
- graphics/ruby-gd/Makefile 1.40
- graphics/ruby-gd/PLIST 1.9
- lang/ruby/gem.mk 1.21-1.22
- lang/ruby193-base/Makefile 1.31
- lang/ruby193-base/PLIST 1.9
- lang/ruby193-base/distinfo 1.23
- lang/ruby193-base/patches/patch-lib_rubygems_command.rb 1.1
- lang/ruby193-base/patches/patch-lib_rubygems_command__manager.rb 1.1
- lang/ruby193-base/patches/patch-lib_rubygems_dependency__installer.rb 1.4
- lang/ruby193-base/patches/patch-lib_rubygems_gem__runner.rb 1.1
- lang/ruby193-base/patches/patch-lib_rubygems_installer.rb 1.2
- lang/ruby193-base/patches/patch-lib_rubygems_specification.rb 1.4
- math/ruby-narray/Makefile 1.2
- math/ruby-narray/PLIST 1.2
- misc/rubygems/Makefile 1.53
- misc/rubygems/PLIST 1.23
- misc/rubygems/distinfo 1.42
- misc/rubygems/patches/patch-ad 1.12
- security/ruby-shadow/Makefile 1.2
- security/ruby-shadow/PLIST 1.2
- textproc/ruby-libxml/Makefile 1.19
- textproc/ruby-libxml/PLIST 1.12
- textproc/ruby-xslt/Makefile 1.11
- textproc/ruby-xslt/PLIST 1.7
- www/ruby-fcgi/Makefile 1.16
- www/ruby-fcgi/PLIST 1.5
---
Module Name: pkgsrc
Committed By: taca
Date: Sun Jul 7 15:01:01 UTC 2013
Modified Files:
pkgsrc/lang/ruby193-base: Makefile PLIST distinfo
pkgsrc/lang/ruby193-base/patches:
patch-lib_rubygems_dependency__installer.rb
patch-lib_rubygems_installer.rb patch-lib_rubygems_specification.rb
Added Files:
pkgsrc/lang/ruby193-base/patches: patch-lib_rubygems_command.rb
patch-lib_rubygems_command__manager.rb
patch-lib_rubygems_gem__runner.rb
Log Message:
Add partly support build_info to bundled rubygems to make compatibilty with
rubygems 2.0.3.
Bump PKGREVISION.
---
Module Name: pkgsrc
Committed By: taca
Date: Sun Jul 7 15:02:57 UTC 2013
Modified Files:
pkgsrc/misc/rubygems: Makefile distinfo
pkgsrc/misc/rubygems/patches: patch-ad
Log Message:
Fix creating proper build_info directory.
Bump PKGREVISION.
---
Module Name: pkgsrc
Committed By: taca
Date: Sun Jul 7 15:12:56 UTC 2013
Modified Files:
pkgsrc/misc/rubygems: PLIST
Log Message:
Remove Ruby's version denendent directory.
No PKGREVISION bump for short time updates.
---
Module Name: pkgsrc
Committed By: taca
Date: Sun Jul 7 15:16:38 UTC 2013
Modified Files:
pkgsrc/lang/ruby: gem.mk
Log Message:
Fix gem handling.
o Don't assume _DISTDIR end with '/' (by DESTDIR).
o A small clean up to GEM_CLEANBUILD handling.
A few clean up.
---
Module Name: pkgsrc
Committed By: taca
Date: Sun Jul 7 15:18:11 UTC 2013
Modified Files:
pkgsrc/converters/ruby-unf_ext: Makefile PLIST
Log Message:
No need to specify GEM_CLEANBUILD and fix PLIST.
Bump PKGREVISION.
---
Module Name: pkgsrc
Committed By: taca
Date: Sun Jul 7 15:20:16 UTC 2013
Modified Files:
pkgsrc/databases/ruby-ldap: Makefile PLIST
Log Message:
o Clean up GEM_CLEANBUILD and fix PLIST.
o Use RUBY_DLEXT in PLIST.
Bump PKGREVISION.
---
Module Name: pkgsrc
Committed By: taca
Date: Sun Jul 7 15:21:33 UTC 2013
Modified Files:
pkgsrc/databases/ruby-odbc: Makefile PLIST
Log Message:
Add build_info file to PLIST.
Bump PKGREVISION.
---
Module Name: pkgsrc
Committed By: taca
Date: Sun Jul 7 15:22:55 UTC 2013
Modified Files:
pkgsrc/databases/ruby-pg: Makefile PLIST
Log Message:
Add build_info file to PLIST.
Bump PKGREVISION.
---
Module Name: pkgsrc
Committed By: taca
Date: Sun Jul 7 15:26:00 UTC 2013
Modified Files:
pkgsrc/devel/ruby-rbtree: Makefile PLIST
Log Message:
Change GEM_CLEANBUILD not to include the same Ruby's extension file in
package.
Bump PKGREVISION.
---
Module Name: pkgsrc
Committed By: taca
Date: Sun Jul 7 15:27:26 UTC 2013
Modified Files:
pkgsrc/graphics/ruby-gd: Makefile PLIST
Log Message:
o Add build_info file to PLIST.
o Utilize GEM_NAME in PLIST.
Bump PKGREVISION.
---
Module Name: pkgsrc
Committed By: taca
Date: Sun Jul 7 15:29:47 UTC 2013
Modified Files:
pkgsrc/math/ruby-narray: Makefile PLIST
Log Message:
Change GEM_CLEANBUILD not to include working file to package.
Bump PKGREVISION.
---
Module Name: pkgsrc
Committed By: taca
Date: Sun Jul 7 15:32:56 UTC 2013
Modified Files:
pkgsrc/security/ruby-shadow: Makefile PLIST
Log Message:
o Clean up GEM_CLEANBUILD not to include the same Ruby's extension file and
working files in package
o Use RUBY_DLEXT in PLIST.
Bump PKGREVISION.
---
Module Name: pkgsrc
Committed By: taca
Date: Sun Jul 7 15:34:45 UTC 2013
Modified Files:
pkgsrc/textproc/ruby-libxml: Makefile PLIST
Log Message:
o Add build_info file to PLIST.
o Don't include extconf.h, a working file to package.
Bump PKGREVISION.
---
Module Name: pkgsrc
Committed By: taca
Date: Sun Jul 7 15:36:37 UTC 2013
Modified Files:
pkgsrc/www/ruby-fcgi: Makefile PLIST
Log Message:
o Add build_info file to PLIST.
o Utilize GEM_NAME in PLIST.
Bump PKGREVISION.
---
Module Name: pkgsrc
Committed By: taca
Date: Sun Jul 7 16:07:25 UTC 2013
Modified Files:
pkgsrc/textproc/ruby-xslt: Makefile PLIST
Log Message:
Add build_info file to PLIST.
Bump PKGREVISION.
---
Module Name: pkgsrc
Committed By: jperkin
Date: Sun Jul 14 21:08:17 UTC 2013
Modified Files:
pkgsrc/lang/ruby: gem.mk
Log Message:
Fix shell syntax error which has been breaking all gem builds on SunOS for
the past week as per the reports on pkgsrc-bulk. Not sure why it wasn't
showing up on other platforms, but I am assuming this is the correct fix.
Fix shell syntax error which has been breaking all gem builds on SunOS for the past week as per the reports on pkgsrc-bulk. Not sure why it wasn't showing up on other platforms, but I am assuming this is the correct fix.
Fix gem handling. o Don't assume _DISTDIR end with '/' (by DESTDIR). o A small clean up to GEM_CLEANBUILD handling. A few clean up.
Remove "Trailing empty lines." and/or "Trailing white-space."
Make GEM_PATH environment settable with MAKE_ENV.
Move definition of rubygems sites so that it is usable with packages not using gem as installation but as archive.
gem.mk: * Add Rubygem 2.0.0 and Ruby 2.0.0 support which wouldn't enabled yet. * Use Ruby code format for gemspec to build/install instead of YAML. * Add --backtrace option to "gem install". files/update-gemspec.rb: * Allow rename name attribute in gemspec. * Handle Ruby code format of gemspec.
Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.
Remove support of ruby19 (Ruby 1.9.2).
* Move some rails related part from gem.mk to module.mk. * Require rdoc 2.5.0 and later with Ruby on Rails version 3.1 and later.
Don't override unconditionally set USE_RAKE.
o Now OVERRIDE_GEMSPEC can modify files in gemspec. o Protect multiple inclusion. Nothing should affect current packages.
Move PRINT_PLIST_AWK stuff for Gems before other ruby related PRINT_PLIST_AWK will be added, or not works as expected.
* Add RUBY_RAILS_SUPPORTED. Each Ruby on Rails related pacakge tells version(s) of acceptable Ruby on Rails. It almost replace previous RUBY_RAILS. * Add some definitions for Ruby on Rails 3.1.
* Document rubygem's version contained in each Ruby release. * Add RUBYGEM_LANG and use it as LANG and LC_CTYPE for proper rdoc processing. * Add Ruby 1.9.3 support.
Now OVERRIDE_GEMSPEC can delete dependency in a gemspec file. And a little documentation clean up.
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.
Correct RUBYGEMS_REQD's default in comment.
* Introduce RUBYGEMS_REQD as a package-settable variable. Specify minimum required rubygems version. * Omit use of _RUBYGEM_UNPACK_OPTION.
Add code fragment to select version of Ruby on Rails. User settable variable is RUBY_RAILS_DEFAULT: 2 or 3. (default 2)
rubygems.org returns invalid Location header (no scheme and hostname) for redirect, then speficy the redirected one here instead.
Pullup ticket #3270 - requested by obache lang/ruby: fix build of GEM packages under Solaris Revisions p - lang/ruby/gem.mk 1.2 --- Module Name: pkgsrc Committed By: obache Date: Wed Nov 10 10:57:41 UTC 2010 Modified Files: pkgsrc/lang/ruby: gem.mk Log Message: Exactly set TZ=UTC, or not worked as expected on Solaris (time-zone difference = 0). Fixes PR#44037.
Exactly set TZ=UTC, or not worked as expected on Solaris (time-zone difference = 0). Fixes PR#44037.
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.