ruby: bump to 2.5.0 5356/head
authorLuiz Angelo Daros de Luca <luizluca@gmail.com>
Tue, 2 Jan 2018 00:34:55 +0000 (22:34 -0200)
committerLuiz Angelo Daros de Luca <luizluca@gmail.com>
Sat, 6 Jan 2018 00:09:47 +0000 (22:09 -0200)
2.5.0 introduces many new features and performance improvements.
See: https://www.ruby-lang.org/en/news/2017/12/25/ruby-2-5-0-released/

Packaging changes:
* As date was promoted into a gem, ruby-datetime
  was splitted into ruby-date and ruby-time
* New packages for gemified stdlib files:
  - ruby-cmath (from ruby-math)
  - ruby-date (from ruby-datetime)
  - ruby-etc (from ruby-misc)
  - ruby-fcntl (from ruby-misc)
  - ruby-fileutils (from ruby-filelib)
  - ruby-ipaddr (from ruby-socket)
  - ruby-scanf (from ruby-misc)
  - ruby-stringio (from ruby-misc)
  - ruby-strscan (from ruby-misc)

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
lang/ruby/Makefile
lang/ruby/ruby_find_pkgsdeps
lang/ruby/ruby_missingfiles

index 6b53d4267d2cbc841522c17a61774d0e12c25639..b00aaf1a2abd3bba41c3cbc78e09f182a643a111 100644 (file)
@@ -1,6 +1,6 @@
 #
 # Copyright (C) 2006-2016 OpenWrt.org
-# Copyright (C) 2017 Luiz Angelo Daros de Luca <luizluca@gmail.com>
+# Copyright (C) 2017-2018 Luiz Angelo Daros de Luca <luizluca@gmail.com>
 #
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
@@ -11,7 +11,7 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=ruby
-PKG_VERSION:=2.4.3
+PKG_VERSION:=2.5.0
 PKG_RELEASE:=1
 
 # First two numbes
@@ -19,7 +19,7 @@ PKG_ABI_VERSION:=$(subst $(space),.,$(wordlist 1, 2, $(subst .,$(space),$(PKG_VE
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
 PKG_SOURCE_URL:=https://cache.ruby-lang.org/pub/ruby/$(PKG_ABI_VERSION)/
-PKG_HASH:=23677d40bf3b7621ba64593c978df40b1e026d8653c74a0599f0ead78ed92b51
+PKG_HASH:=1da0afed833a0dab94075221a615c14487b05d0c407f991c8080d576d985b49b
 PKG_MAINTAINER:=Luiz Angelo Daros de Luca <luizluca@gmail.com>
 PKG_LICENSE:=BSD-2-Clause
 PKG_LICENSE_FILES:=COPYING
@@ -213,14 +213,20 @@ define Package/ruby-cgi/files
 /usr/lib/ruby/$(PKG_ABI_VERSION)/*/cgi/escape.so
 endef
 
+define Package/ruby-cmath/files
+/usr/lib/ruby/$(PKG_ABI_VERSION)/cmath.rb
+/usr/lib/ruby/gems/$(PKG_ABI_VERSION)/specifications/default/cmath-*.gemspec
+endef
+
 define Package/ruby-csv/files
 /usr/lib/ruby/$(PKG_ABI_VERSION)/csv.rb
+/usr/lib/ruby/gems/$(PKG_ABI_VERSION)/specifications/default/csv-*.gemspec
 endef
 
-define Package/ruby-datetime/files
-/usr/lib/ruby/$(PKG_ABI_VERSION)/time.rb
+define Package/ruby-date/files
 /usr/lib/ruby/$(PKG_ABI_VERSION)/date.rb
 /usr/lib/ruby/$(PKG_ABI_VERSION)/*/date_core.so
+/usr/lib/ruby/gems/$(PKG_ABI_VERSION)/specifications/default/date-*.gemspec
 endef
 
 define Package/ruby-dbm/description
@@ -230,6 +236,7 @@ define Package/ruby-dbm/description
 endef
 define Package/ruby-dbm/files
 /usr/lib/ruby/$(PKG_ABI_VERSION)/*/dbm.so
+/usr/lib/ruby/gems/$(PKG_ABI_VERSION)/specifications/default/dbm-*.gemspec
 endef
 
 define Package/ruby-debuglib/files
@@ -251,6 +258,8 @@ define Package/ruby-did-you-mean/files-excluded
 /usr/lib/ruby/gems/$(PKG_ABI_VERSION)/gems/did_you_mean-*/evaluation
 /usr/lib/ruby/gems/$(PKG_ABI_VERSION)/gems/did_you_mean-*/test
 /usr/lib/ruby/gems/$(PKG_ABI_VERSION)/gems/did_you_mean-*/*.md
+/usr/lib/ruby/gems/$(PKG_ABI_VERSION)/gems/did_you_mean-*/*.txt
+/usr/lib/ruby/gems/$(PKG_ABI_VERSION)/gems/did_you_mean-*/.travis.yml
 endef
 
 define Package/ruby-digest/description
@@ -302,10 +311,21 @@ define Package/ruby-erb/files
 /usr/lib/ruby/$(PKG_ABI_VERSION)/erb.rb
 endef
 
+define Package/ruby-etc/files
+/usr/lib/ruby/$(PKG_ABI_VERSION)/*/etc.so
+/usr/lib/ruby/gems/$(PKG_ABI_VERSION)/specifications/default/etc-*.gemspec
+endef
+
+define Package/ruby-fcntl/files
+/usr/lib/ruby/$(PKG_ABI_VERSION)/*/fcntl.so
+/usr/lib/ruby/gems/$(PKG_ABI_VERSION)/specifications/default/fcntl-*.gemspec
+endef
+
 define Package/ruby-fiddle/files
 /usr/lib/ruby/$(PKG_ABI_VERSION)/fiddle.rb
 /usr/lib/ruby/$(PKG_ABI_VERSION)/fiddle/
 /usr/lib/ruby/$(PKG_ABI_VERSION)/*/fiddle.so
+/usr/lib/ruby/gems/$(PKG_ABI_VERSION)/specifications/default/fiddle-*.gemspec
 endef
 
 define Package/ruby-filelib/files
@@ -314,15 +334,19 @@ define Package/ruby-filelib/files
 /usr/lib/ruby/$(PKG_ABI_VERSION)/pathname.rb
 /usr/lib/ruby/$(PKG_ABI_VERSION)/*/pathname.so
 /usr/lib/ruby/$(PKG_ABI_VERSION)/find.rb
+endef
+
+define Package/ruby-fileutils/files
 /usr/lib/ruby/$(PKG_ABI_VERSION)/fileutils.rb
+/usr/lib/ruby/gems/$(PKG_ABI_VERSION)/specifications/default/fileutils-*.gemspec
 endef
 
 define Package/ruby-gdbm/files
 /usr/lib/ruby/$(PKG_ABI_VERSION)/*/gdbm.so
+/usr/lib/ruby/gems/$(PKG_ABI_VERSION)/specifications/default/gdbm-*.gemspec
 endef
 
 define Package/ruby-gems/files
-/usr/lib/ruby/$(PKG_ABI_VERSION)/ubygems.rb
 /usr/lib/ruby/$(PKG_ABI_VERSION)/rubygems.rb
 /usr/lib/ruby/$(PKG_ABI_VERSION)/rubygems
 endef
@@ -343,12 +367,18 @@ define Package/ruby-gems/install
        $(call RubyBuildPackage/install,gems,$(1))
 endef
 
+
 define Package/ruby-io-console/files
 /usr/lib/ruby/$(PKG_ABI_VERSION)/*/io/console.so
 /usr/lib/ruby/$(PKG_ABI_VERSION)/io/console/
 /usr/lib/ruby/gems/$(PKG_ABI_VERSION)/specifications/default/io-console-*.gemspec
 endef
 
+define Package/ruby-ipaddr/files
+/usr/lib/ruby/$(PKG_ABI_VERSION)/ipaddr.rb
+/usr/lib/ruby/gems/$(PKG_ABI_VERSION)/specifications/default/ipaddr-*.gemspec
+endef
+
 define Package/ruby-irb/files
 /usr/lib/ruby/$(PKG_ABI_VERSION)/irb
 /usr/lib/ruby/$(PKG_ABI_VERSION)/irb.rb
@@ -377,9 +407,6 @@ endef
 
 define Package/ruby-math/files
 /usr/lib/ruby/$(PKG_ABI_VERSION)/prime.rb
-/usr/lib/ruby/$(PKG_ABI_VERSION)/mathn.rb
-/usr/lib/ruby/$(PKG_ABI_VERSION)/cmath.rb
-/usr/lib/ruby/$(PKG_ABI_VERSION)/*/mathn
 /usr/lib/ruby/$(PKG_ABI_VERSION)/matrix.rb
 /usr/lib/ruby/$(PKG_ABI_VERSION)/matrix
 endef
@@ -404,7 +431,6 @@ define Package/ruby-misc/files
 /usr/lib/ruby/$(PKG_ABI_VERSION)/getoptlong.rb
 /usr/lib/ruby/$(PKG_ABI_VERSION)/open3.rb
 /usr/lib/ruby/$(PKG_ABI_VERSION)/ostruct.rb
-/usr/lib/ruby/$(PKG_ABI_VERSION)/scanf.rb
 /usr/lib/ruby/$(PKG_ABI_VERSION)/securerandom.rb
 /usr/lib/ruby/$(PKG_ABI_VERSION)/set.rb
 /usr/lib/ruby/$(PKG_ABI_VERSION)/shellwords.rb
@@ -412,12 +438,8 @@ define Package/ruby-misc/files
 /usr/lib/ruby/$(PKG_ABI_VERSION)/weakref.rb
 /usr/lib/ruby/$(PKG_ABI_VERSION)/*/continuation.so
 /usr/lib/ruby/$(PKG_ABI_VERSION)/*/coverage.so
-/usr/lib/ruby/$(PKG_ABI_VERSION)/*/etc.so
-/usr/lib/ruby/$(PKG_ABI_VERSION)/*/fcntl.so
 /usr/lib/ruby/$(PKG_ABI_VERSION)/*/fiber.so
 /usr/lib/ruby/$(PKG_ABI_VERSION)/*/pty.so
-/usr/lib/ruby/$(PKG_ABI_VERSION)/*/stringio.so
-/usr/lib/ruby/$(PKG_ABI_VERSION)/*/strscan.so
 endef
 
 define Package/ruby-mkmf/files
@@ -447,6 +469,7 @@ endef
 define Package/ruby-net-telnet/files-excluded
 /usr/lib/ruby/gems/$(PKG_ABI_VERSION)/gems/net-telnet-*/*.md
 /usr/lib/ruby/gems/$(PKG_ABI_VERSION)/gems/net-telnet-*/*.txt
+/usr/lib/ruby/gems/$(PKG_ABI_VERSION)/gems/net-telnet-*/.travis.yml
 endef
 
 define Package/ruby-nkf/files
@@ -479,7 +502,8 @@ define Package/ruby-powerassert/files
 /usr/lib/ruby/gems/$(PKG_ABI_VERSION)/gems/power_assert-*
 endef
 define Package/ruby-powerassert/files-excluded
-/usr/lib/ruby/gems/$(PKG_ABI_VERSION)/gems/power_assert-*/test
+/usr/lib/ruby/gems/$(PKG_ABI_VERSION)/gems/power_assert-*/*.rdoc
+/usr/lib/ruby/gems/$(PKG_ABI_VERSION)/gems/power_assert-*/.travis.yml
 endef
 
 define Package/ruby-prettyprint/files
@@ -519,20 +543,19 @@ endef
 
 define Package/ruby-rbconfig/files
 /usr/lib/ruby/$(PKG_ABI_VERSION)/*/rbconfig.rb
-/usr/lib/ruby/$(PKG_ABI_VERSION)/rbconfig/*
 /usr/lib/ruby/$(PKG_ABI_VERSION)/*/rbconfig/*.so
 endef
 
 define Package/ruby-rdoc/files
-       /usr/lib/ruby/$(PKG_ABI_VERSION)/rdoc.rb
-       /usr/lib/ruby/$(PKG_ABI_VERSION)/rdoc
-       /usr/lib/ruby/gems/$(PKG_ABI_VERSION)/gems/rdoc-*
-       /usr/lib/ruby/gems/$(PKG_ABI_VERSION)/specifications/default/rdoc-*.gemspec
+/usr/lib/ruby/$(PKG_ABI_VERSION)/rdoc.rb
+/usr/lib/ruby/$(PKG_ABI_VERSION)/rdoc
+/usr/lib/ruby/gems/$(PKG_ABI_VERSION)/gems/rdoc-*
+/usr/lib/ruby/gems/$(PKG_ABI_VERSION)/specifications/default/rdoc-*.gemspec
 endef
 define Package/ruby-rdoc/files-excluded
-       /usr/lib/ruby/$(PKG_ABI_VERSION)/rdoc/test_case.rb
-       /usr/lib/ruby/$(PKG_ABI_VERSION)/rdoc/markup/formatter_test_case.rb
-       /usr/lib/ruby/$(PKG_ABI_VERSION)/rdoc/markup/text_formatter_test_case.rb
+/usr/lib/ruby/$(PKG_ABI_VERSION)/rdoc/test_case.rb
+/usr/lib/ruby/$(PKG_ABI_VERSION)/rdoc/markup/formatter_test_case.rb
+/usr/lib/ruby/$(PKG_ABI_VERSION)/rdoc/markup/text_formatter_test_case.rb
 endef
 define Package/ruby-rdoc/install
        $(INSTALL_DIR) $(1)/usr/bin
@@ -564,8 +587,14 @@ define Package/ruby-rss/files
 /usr/lib/ruby/$(PKG_ABI_VERSION)/rss.rb
 endef
 
+define Package/ruby-scanf/files
+/usr/lib/ruby/$(PKG_ABI_VERSION)/scanf.rb
+/usr/lib/ruby/gems/$(PKG_ABI_VERSION)/specifications/default/scanf-*.gemspec
+endef
+
 define Package/ruby-sdbm/files
 /usr/lib/ruby/$(PKG_ABI_VERSION)/*/sdbm.so
+/usr/lib/ruby/gems/$(PKG_ABI_VERSION)/specifications/default/sdbm-*.gemspec
 endef
 
 define Package/ruby-shell/files
@@ -574,13 +603,22 @@ define Package/ruby-shell/files
 endef
 
 define Package/ruby-socket/files
-/usr/lib/ruby/$(PKG_ABI_VERSION)/ipaddr.rb
 /usr/lib/ruby/$(PKG_ABI_VERSION)/resolv-replace.rb
 /usr/lib/ruby/$(PKG_ABI_VERSION)/resolv.rb
 /usr/lib/ruby/$(PKG_ABI_VERSION)/socket.rb
 /usr/lib/ruby/$(PKG_ABI_VERSION)/*/socket.so
 endef
 
+define Package/ruby-stringio/files
+/usr/lib/ruby/$(PKG_ABI_VERSION)/*/stringio.so
+/usr/lib/ruby/gems/$(PKG_ABI_VERSION)/specifications/default/stringio-*.gemspec
+endef
+
+define Package/ruby-strscan/files
+/usr/lib/ruby/$(PKG_ABI_VERSION)/*/strscan.so
+/usr/lib/ruby/gems/$(PKG_ABI_VERSION)/specifications/default/strscan-*.gemspec
+endef
+
 define Package/ruby-testunit/files
 /usr/lib/ruby/gems/$(PKG_ABI_VERSION)/specifications/test-unit-*.gemspec
 /usr/lib/ruby/gems/$(PKG_ABI_VERSION)/gems/test-unit-*
@@ -592,8 +630,11 @@ define Package/ruby-testunit/files-excluded
 /usr/lib/ruby/gems/$(PKG_ABI_VERSION)/gems/test-unit-*/*.md
 endef
 
+define Package/ruby-time/files
+/usr/lib/ruby/$(PKG_ABI_VERSION)/time.rb
+endef
+
 define Package/ruby-unicodenormalize/files
-/usr/lib/ruby/$(PKG_ABI_VERSION)/unicode_normalize.rb
 /usr/lib/ruby/$(PKG_ABI_VERSION)/unicode_normalize
 endef
 
@@ -605,6 +646,7 @@ endef
 define Package/ruby-webrick/files
 /usr/lib/ruby/$(PKG_ABI_VERSION)/webrick
 /usr/lib/ruby/$(PKG_ABI_VERSION)/webrick.rb
+/usr/lib/ruby/gems/$(PKG_ABI_VERSION)/specifications/default/webrick-*.gemspec
 endef
 
 define Package/ruby-xmlrpc/files
@@ -612,8 +654,9 @@ define Package/ruby-xmlrpc/files
 /usr/lib/ruby/gems/$(PKG_ABI_VERSION)/specifications/xmlrpc-*.gemspec
 endef
 define Package/ruby-xmlrpc/files-excluded
-/usr/lib/ruby/gems/$(PKG_ABI_VERSION)/gems/xmlrpc-0.2.1/*.md
-/usr/lib/ruby/gems/$(PKG_ABI_VERSION)/gems/xmlrpc-0.2.1/*.txt
+/usr/lib/ruby/gems/$(PKG_ABI_VERSION)/gems/xmlrpc-*/*.md
+/usr/lib/ruby/gems/$(PKG_ABI_VERSION)/gems/xmlrpc-*/*.txt
+/usr/lib/ruby/gems/$(PKG_ABI_VERSION)/gems/xmlrpc-*/.travis.yml
 endef
 
 define Package/ruby-yaml/files
@@ -623,6 +666,7 @@ endef
 
 define Package/ruby-zlib/files
 /usr/lib/ruby/$(PKG_ABI_VERSION)/*/zlib.so
+/usr/lib/ruby/gems/$(PKG_ABI_VERSION)/specifications/default/zlib-*.gemspec
 endef
 
 RUBY_FILES = $(strip $(call Package/ruby-$(1)/files))
@@ -696,58 +740,67 @@ endef
 $(eval $(call BuildPackage,libruby))
 $(eval $(call BuildPackage,ruby))
 $(eval $(call RubyBuildPackage,bigdecimal,Arbitrary-precision decimal floating-point library,))
-$(eval $(call RubyBuildPackage,cgi,CGI support toolkit,+ruby-filelib +ruby-pstore))
-$(eval $(call RubyBuildPackage,csv,CSV library,+ruby-patterns +ruby-datetime +ruby-enc +ruby-misc))
-$(eval $(call RubyBuildPackage,datetime,date library))
-$(eval $(call RubyBuildPackage,dbm,support for dbm,+libdb47))
-$(eval $(call RubyBuildPackage,debuglib,debug library,+ruby-prettyprint))
+$(eval $(call RubyBuildPackage,cgi,CGI support toolkit,+ruby-filelib +ruby-pstore +ruby-stringio))
+$(eval $(call RubyBuildPackage,cmath,Trigonometric and transcendental functions for complex numbers,))
+$(eval $(call RubyBuildPackage,csv,CSV Reading and Writing,+ruby-date +ruby-enc +ruby-misc +ruby-patterns +ruby-stringio))
+$(eval $(call RubyBuildPackage,date,Comparable module for handling dates,))
+$(eval $(call RubyBuildPackage,dbm,Wrapper for the UNIX-style Database Manager Library,+libdb47))
+$(eval $(call RubyBuildPackage,debuglib,debug library,+ruby-misc +ruby-prettyprint))
 $(eval $(call RubyBuildPackage,did-you-mean,did you mean? experience,+ruby-misc))
 $(eval $(call RubyBuildPackage,digest,Digest Library,+RUBY_DIGEST_USE_OPENSSL:libopenssl))
-$(eval $(call RubyBuildPackage,drb,distributed object system,+ruby-filelib +ruby-patterns +ruby-socket))
+$(eval $(call RubyBuildPackage,drb,distributed object system,+ruby-filelib +ruby-ipaddr +ruby-patterns))
 $(eval $(call RubyBuildPackage,enc,character re-coding library charset (small subset),))
 $(eval $(call RubyBuildPackage,enc-extra,character re-coding library charset (extra subset),+ruby-enc))
-$(eval $(call RubyBuildPackage,erb,(embedded interpreter),+ruby-cgi))
-$(eval $(call RubyBuildPackage,fiddle,libffi wrapper,+libffi))
-$(eval $(call RubyBuildPackage,filelib,file utils library,+ruby-enc +ruby-misc))
-$(eval $(call RubyBuildPackage,gdbm,support for gdbm,+libgdbm))
+$(eval $(call RubyBuildPackage,erb,(embedded interpreter),+ruby-cgi +ruby-strscan))
+$(eval $(call RubyBuildPackage,etc,Access to information typically stored in UNIX /etc directory,))
+$(eval $(call RubyBuildPackage,fcntl,Loads constants defined in the OS fcntl.h C header file,))
+$(eval $(call RubyBuildPackage,fiddle,Libffi wrapper for Ruby,+libffi))
+$(eval $(call RubyBuildPackage,filelib,file utils library,+ruby-fileutils +ruby-misc))
+$(eval $(call RubyBuildPackage,fileutils,File utility methods for copying moving removing etc,+ruby-enc +ruby-etc))
+$(eval $(call RubyBuildPackage,gdbm,Ruby extension for GNU dbm,+libgdbm))
 $(eval $(call RubyBuildPackage,gems,gems packet management,+ruby-net +ruby-rdoc))
 $(eval $(call RubyBuildPackage,io-console,Console interface,))
-$(eval $(call RubyBuildPackage,irb,(interactive shell),+ruby-debuglib +ruby-filelib +ruby-math))
-$(eval $(call RubyBuildPackage,json,support for JSON,+ruby-datetime +ruby-misc))
+$(eval $(call RubyBuildPackage,ipaddr,Set of methods to manipulate an IP address,+ruby-socket))
+$(eval $(call RubyBuildPackage,irb,(interactive shell),+ruby-debuglib +ruby-filelib))
+$(eval $(call RubyBuildPackage,json,JSON Implementation for Ruby,+ruby-date +ruby-misc))
 $(eval $(call RubyBuildPackage,logger,logger and syslog library,+ruby-multithread))
 $(eval $(call RubyBuildPackage,math,math library,+ruby-patterns +ruby-misc))
 $(eval $(call RubyBuildPackage,minitest,Gem minitest,+ruby-gems))
 $(eval $(call RubyBuildPackage,misc,standard libraries subset (miscellaneous files),))
 $(eval $(call RubyBuildPackage,mkmf,makefile library,+ruby-filelib +ruby-optparse +ruby-rbconfig))
 $(eval $(call RubyBuildPackage,multithread,multithread library,+ruby-misc))
-$(eval $(call RubyBuildPackage,net,Network Protocols Library,+ruby-datetime +ruby-digest +ruby-filelib +ruby-uri))
+$(eval $(call RubyBuildPackage,net,Network Protocols Library,+ruby-time +ruby-digest +ruby-filelib +ruby-socket +ruby-stringio +ruby-strscan +ruby-uri))
 $(eval $(call RubyBuildPackage,net-telnet,telnet client,+ruby-net))
 $(eval $(call RubyBuildPackage,nkf,Network Kanji Filter,+ruby-enc))
-$(eval $(call RubyBuildPackage,openssl,support for openssl,+ruby-enc +ruby-multithread +libopenssl))
-$(eval $(call RubyBuildPackage,optparse,command-line option analysis,+ruby-misc))
+$(eval $(call RubyBuildPackage,openssl,SSL TLS and general purpose cryptography,+ruby-enc +ruby-multithread +ruby-stringio +libopenssl))
+$(eval $(call RubyBuildPackage,optparse,command-line option analysis,+ruby-misc +ruby-time))
 $(eval $(call RubyBuildPackage,patterns,design patterns implementation,))
-$(eval $(call RubyBuildPackage,powerassert,Gem power_assert,+ruby-ripper +ruby-debuglib))
-$(eval $(call RubyBuildPackage,prettyprint,PrettyPrint library,+ruby-misc))
+$(eval $(call RubyBuildPackage,powerassert,Gem power_assert,+ruby-prettyprint +ruby-ripper))
+$(eval $(call RubyBuildPackage,prettyprint,PrettyPrint library,+ruby-etc))
 $(eval $(call RubyBuildPackage,pstore,file based persistence,+ruby-digest +ruby-enc))
-$(eval $(call RubyBuildPackage,psych,YAML parser and emitter,+ruby-bigdecimal +ruby-datetime +ruby-misc +ruby-enc +libyaml))
+$(eval $(call RubyBuildPackage,psych,YAML parser and emitter,+ruby-bigdecimal +ruby-date +ruby-enc +ruby-stringio +ruby-strscan +libyaml))
 $(eval $(call RubyBuildPackage,racc,LALR parser generator,))
-$(eval $(call RubyBuildPackage,rake,Rake (make replacement),+ruby-filelib +ruby-optparse +ruby-patterns +ruby-rbconfig +ruby-multithread))
+$(eval $(call RubyBuildPackage,rake,Rake (make replacement),+ruby-fileutils +ruby-multithread +ruby-optparse +ruby-patterns +ruby-rbconfig))
 $(eval $(call RubyBuildPackage,rbconfig,RbConfig,))
-$(eval $(call RubyBuildPackage,rdoc,documentation generator,+ruby-erb +ruby-irb +ruby-json +ruby-racc +ruby-rake +ruby-yaml +ruby-zlib))
+$(eval $(call RubyBuildPackage,rdoc,RDoc produces HTML and command-line documentation for Ruby projects,+ruby-debuglib +ruby-did-you-mean +ruby-erb +ruby-json +ruby-racc +ruby-rake +ruby-ripper +ruby-yaml +ruby-zlib))
 $(eval $(call RubyBuildPackage,readline,support for readline,+libncurses +libreadline))
-$(eval $(call RubyBuildPackage,rexml,XML toolkit,+ruby-patterns +ruby-enc +ruby-misc))
+$(eval $(call RubyBuildPackage,rexml,XML toolkit,+ruby-enc +ruby-misc +ruby-patterns +ruby-stringio))
 $(eval $(call RubyBuildPackage,rinda,Linda paradigm implementation,+ruby-drb))
 $(eval $(call RubyBuildPackage,ripper,script parser,))
 $(eval $(call RubyBuildPackage,rss,RSS toolkit,+ruby-net +ruby-nkf +ruby-rexml))
+$(eval $(call RubyBuildPackage,scanf,Implementation of the C function scanf(3),))
 $(eval $(call RubyBuildPackage,sdbm,simple file-based key-value dbm implementation,))
 $(eval $(call RubyBuildPackage,shell,idiomatic Ruby interface,+ruby-patterns +ruby-multithread))
 $(eval $(call RubyBuildPackage,socket,socket support,+ruby-multithread))
+$(eval $(call RubyBuildPackage,stringio,Pseudo `IO` class from/to `String`,))
+$(eval $(call RubyBuildPackage,strscan,Lexical scanning operations on a String,))
 $(eval $(call RubyBuildPackage,testunit,Gem test-unit,+ruby-csv +ruby-erb +ruby-optparse +ruby-powerassert +ruby-rexml +ruby-yaml))
+$(eval $(call RubyBuildPackage,time,Extends Time with additional methods for parsing and converting Times,+ruby-date))
 $(eval $(call RubyBuildPackage,unicodenormalize,String additions for Unicode normalization,+ruby-enc +ruby-enc-extra))
-$(eval $(call RubyBuildPackage,uri,library to handle URI,+ruby-socket +ruby-enc))
-$(eval $(call RubyBuildPackage,webrick,Web server toolkit,+ruby-erb +ruby-net +ruby-patterns +ruby-rbconfig))
+$(eval $(call RubyBuildPackage,uri,library to handle URI,+ruby-enc))
+$(eval $(call RubyBuildPackage,webrick,HTTP server toolkit,+ruby-erb +ruby-net +ruby-patterns +ruby-rbconfig))
 $(eval $(call RubyBuildPackage,xmlrpc,XML-RPC toolkit,+ruby-rexml +ruby-webrick))
 $(eval $(call RubyBuildPackage,yaml,YAML toolkit,+ruby-dbm +ruby-pstore +ruby-psych))
-$(eval $(call RubyBuildPackage,zlib,support for zlib,+zlib))
+$(eval $(call RubyBuildPackage,zlib,compression/decompression library interface,+zlib))
 $(eval $(call BuildPackage,ruby-stdlib))
 $(eval $(call HostBuild))
index 15a64088d965254127c9691b98cb179791579657..d9acf37093c09f68b378865c3b804a114f11d7df 100644 (file)
@@ -25,7 +25,9 @@ require_regex_ignore=/^require ([a-zA-Z\$]|["']$|.*\/$)/
 require_ignore=%w{drb/invokemethod16 foo rubygems/defaults/operating_system win32console java Win32API
                   builder/xchar json/pure simplecov win32/sspi rdoc/markdown/literals_1_8 enumerator win32/resolv rbtree
                   nqxml/streamingparser nqxml/treeparser xmlscan/parser xmlscan/scanner xmltreebuilder xml/parser xmlparser xml/encoding-ja xmlencoding-ja
-                  iconv uconv win32ole gettext/po_parser gettext/mo libxml psych.jar psych_jars jar-dependencies thread minitest/proveit}
+                  iconv uconv win32ole gettext/po_parser gettext/mo libxml psych.jar psych_jars jar-dependencies thread minitest/proveit
+               bundler pry
+       }
 
 builtin_enc=[
        Encoding.find("ASCII-8BIT"),
index 25e5810ba3d33d8a3131e1e565c25d12e5420f0d..b76745d25bc5e97b2d9086062d69fcd3a1c7deb0 100644 (file)
@@ -5,21 +5,34 @@
 
 function list_staging_files {
        cd "$1"; find \
-               \( \( -name "root-*" -or -name "packages" -or -name "stamp" -or -name "pkginfo" -or -name "host" \) -prune \) -or -true \
+               \( \( -name "root-*" -or -name "packages" -or -name "stamp" -or -name "pkginfo" -or -name "host" -or -name man \) -prune \) -or -true \
                \( -path "*ruby*" -or -name "erb" -or -name "gem" -or -name "irb" -or -name "rake" -or -name "rdoc" -or -name "ri" -or -name "testrb" \) \
                -not -path "*/usr/include/*" -not -path "*/usr/lib/pkgconfig/*" -not -path "*/usr/lib/lib*.a" \
                -not -path "*/usr/lib/ruby/gems/*/cache/*" \
+               -not -path "*/usr/lib/libruby.so" \
+               -not -name "*test_case.rb" \
+               -not -name "*.rdoc" \
+               -not -name "*.doc" \
+               -not -name "*.md" \
+               -not -name "*.txt" \
+               -not -name "*.travis.yml" \
+               -not -regex ".*/usr/lib/ruby/gems/[^/]*/gems/[^/]*/benchmark/.*" \
+               -not -regex ".*/usr/lib/ruby/gems/[^/]*/gems/[^/]*/evaluation/.*" \
+               -not -regex ".*/usr/lib/ruby/gems/[^/]*/gems/[^/]*/sample/.*" \
+               -not -regex ".*/usr/lib/ruby/gems/[^/]*/gems/[^/]*/test/.*" \
+               -not -regex ".*/usr/lib/ruby/gems/[^/]*/gems/[^/]*/doc/.*" \
+               -not -type d \
                -print | sort
 }
 
 function list_ipkg_files {
        for OPKG; do
-        tar --to-stdout -xzf "$OPKG" ./data.tar.gz | tar tz | sed -e 's%/$%%'
-       done | sort -u
+               tar --to-stdout -xzf "$OPKG" ./data.tar.gz | tar tzv | grep -v ^d | sed -e 's,.* \./,./,;s/ -> .*//'
+       done | sort -u | grep -v ./usr/lib/ruby/ruby...-bin
 }
 
 
-echo "                          Staging                                             Packages"
+echo "                   Installed in Staging                                             Packages"
 
 : ${1:?First arg is staging_dir}
 : ${2:?Second and following args are ruby ipkg packages}