diff options
author | taca <taca> | 2012-03-17 13:57:59 +0000 |
---|---|---|
committer | taca <taca> | 2012-03-17 13:57:59 +0000 |
commit | 4a6b492fe2e634b5113b7ba18ddd94184676fa04 (patch) | |
tree | 61f7a12b9a57617e7edeb4241f24f5f5754533a5 /devel/ruby-rake | |
parent | 6212358fcecbd01e27c99102e5030528d180d47d (diff) | |
download | pkgsrc-4a6b492fe2e634b5113b7ba18ddd94184676fa04.tar.gz |
Update ruby-rake to 0.9.2.2.
* Now installable with ruby19 or ruby193.
= Rake Changelog
== Master (for 0.9.3)
* The rake test loader now removes arguments it has processed. Issue #51
* Rake::TaskArguments now responds to #values_at
* RakeFileUtils.verbose_flag = nil silences output the same as 0.8.7
* Rake tests are now directory-independent
* Rake tests are no longer require flexmock
* Commands constant is no longer polluting top level namespace.
== Version 0.9.2
* Unknown
== Version 0.9.1
* Added deprecation warnings to the Rake DSL methods.
== Version 0.9.0
* *Incompatible* *change*: Rake DSL commands ('task', 'file', etc.) are
no longer private methods in Object. If you need to call 'task :xzy' inside
your class, include Rake::DSL into the class. The DSL is still available at
the top level scope (via the top level object which extends Rake::DSL).
* Rake now warns when the deprecated :needs syntax used.
* Rake history is now UTF-8 encoded.
* Rake now uses case-insensitive comparisons to find the Rakefile on Windows.
Based on patch by Roger Pack.
* Rake now requires (instead of loads) files in the test task. Patch by Cezary
Baginski.
* Fixed typos. Patches by Sean Scot August Moon and R.T. Lechow.
* Rake now prints the Rakefile directory only when it's different from the
current directory. Patch by Alex Chaffee.
* Improved rakefile_location discovery on Windows. Patch by James Tucker.
* Rake now recognizes "Windows Server" as a windows system. Patch by Matthias
Lüdtke
* Rake::RDocTask is deprecated. Use RDoc::Task from RDoc 2.4.2+ (require
'rdoc/task')
* Rake::GemPackageTask is deprecated. Use Gem::PackageTask (require
'rubygems/package_task')
* Rake now outputs various messages to $stderr instead of $stdout.
* Rake no longer emits warnings for Config. Patch by Santiago Pastorino.
* Split rake.rb into individual files.
* Support for the --where (-W) flag for showing where a task is defined.
* Fixed quoting in test task.
(http://onestepback.org/redmine/issues/show/44,
http://www.pivotaltracker.com/story/show/1223138)
* Fixed the silent option parsing problem.
(http://onestepback.org/redmine/issues/show/47)
* Fixed :verbose=>false flag on sh and ruby commands.
* Rake command line options may be given by default in a RAKEOPT
environment variable.
* Errors in Rake will now display the task invocation chain in effect
at the time of the error.
* Accepted change by warnickr to not expand test patterns in shell
(allowing more files in the test suite).
* Fixed that file tasks did not perform prereq lookups in scope
(Redmine #57).
Diffstat (limited to 'devel/ruby-rake')
-rw-r--r-- | devel/ruby-rake/DEINSTALL | 19 | ||||
-rw-r--r-- | devel/ruby-rake/INSTALL | 19 | ||||
-rw-r--r-- | devel/ruby-rake/Makefile | 43 | ||||
-rw-r--r-- | devel/ruby-rake/PLIST | 138 | ||||
-rw-r--r-- | devel/ruby-rake/distinfo | 8 |
5 files changed, 151 insertions, 76 deletions
diff --git a/devel/ruby-rake/DEINSTALL b/devel/ruby-rake/DEINSTALL new file mode 100644 index 00000000000..cb7b373cb9f --- /dev/null +++ b/devel/ruby-rake/DEINSTALL @@ -0,0 +1,19 @@ +# $NetBSD: DEINSTALL,v 1.1 2012/03/17 13:57:59 taca Exp $ + +GEMSPEC="@PREFIX@/@GEM_HOME@/specifications/@GEM_NAME@.gemspec" +RAKE_HACK="@RAKE_HACK@" +RAKE_BIN="@PREFIX@/bin/rake@RUBY_VER@" +RAKE_BIN_HACK="@PREFIX@/bin/@RAKEBIN@" + +case ${STAGE} in +DEINSTALL) + if [ "${RAKE_HACK}" -a -f ${GEMSPEC}.orig ]; then + ${MV} ${GEMSPEC} ${GEMSPEC}${RAKE_HACK} + ${MV} ${GEMSPEC}.orig ${GEMSPEC} + fi + if [ "${RAKE_BIN}" != "${RAKE_BIN_HACK}" ]; then + ${MV} ${RAKE_BIN_HACK}.save ${RAKE_BIN} + ${MV} ${RAKE_BIN} ${RAKE_BIN_HACK} + fi + ;; +esac diff --git a/devel/ruby-rake/INSTALL b/devel/ruby-rake/INSTALL new file mode 100644 index 00000000000..b55f460dbdd --- /dev/null +++ b/devel/ruby-rake/INSTALL @@ -0,0 +1,19 @@ +# $NetBSD: INSTALL,v 1.1 2012/03/17 13:57:59 taca Exp $ + +GEMSPEC="@PREFIX@/@GEM_HOME@/specifications/@GEM_NAME@.gemspec" +RAKE_HACK="@RAKE_HACK@" +RAKE_BIN="@PREFIX@/bin/rake@RUBY_VER@" +RAKE_BIN_HACK="@PREFIX@/bin/@RAKEBIN@" + +case ${STAGE} in +POST-INSTALL) + if [ "${RAKE_HACK}" -a -f ${GEMSPEC} ]; then + ${MV} ${GEMSPEC} ${GEMSPEC}.orig + ${MV} ${GEMSPEC}${RAKE_HACK} ${GEMSPEC} + fi + if [ "${RAKE_BIN}" != "${RAKE_BIN_HACK}" ]; then + ${MV} ${RAKE_BIN} ${RAKE_BIN_HACK}.save + ${MV} ${RAKE_BIN_HACK} ${RAKE_BIN} + fi + ;; +esac diff --git a/devel/ruby-rake/Makefile b/devel/ruby-rake/Makefile index 3be85355625..a9c34f62bb8 100644 --- a/devel/ruby-rake/Makefile +++ b/devel/ruby-rake/Makefile @@ -1,7 +1,6 @@ -# $NetBSD: Makefile,v 1.1.1.1 2012/03/17 13:51:36 taca Exp $ +# $NetBSD: Makefile,v 1.2 2012/03/17 13:57:59 taca Exp $ -DISTNAME= rake-0.8.7 -PKGREVISION= 2 +DISTNAME= rake-0.9.2.2 CATEGORIES= devel MAINTAINER= taca@NetBSD.org @@ -9,29 +8,47 @@ HOMEPAGE= http://rubyforge.org/projects/rake/ COMMENT= Ruby Make LICENSE= mit -USE_TOOLS+= gzip +PKG_DESTDIR_SUPPORT= user-destdir -OVERRIDE_GEMSPEC+= :executables rake=rake${RUBY_VER} \ - :files bin/rake=bin/rake${RUBY_VER} doc/rake.1.gz=doc/rake.1 \ - test/data/unittest/subdir= +CONFLICTS+= rake-[0-9]* +USE_TOOLS+= gzip FIX_PERM= doc/release_notes/rake-0.7.3.rdoc \ lib/rake/ruby182_test_unit_fix.rb -CONFLICTS+= rake-[0-9]* +FILES_SUBST+= GEM_NAME=${GEM_NAME} RAKE_HACK=${RAKE_HACK} RAKEBIN=${RAKEBIN} +PLIST_SUBST+= RAKE_HACK=${RAKE_HACK} RAKEBIN=${RAKEBIN} -# rake is bundled Ruby 1.9 -RUBY_VERSION_SUPPORTED= 18 INSTALLATION_DIRS= ${PKGMANDIR}/man1 +.include "../../lang/ruby/rubyversion.mk" + +OVERRIDE_GEMSPEC+= :executables rake=${RAKEBIN} \ + :files bin/rake=bin/${RAKEBIN} doc/rake.1.gz=doc/rake.1 + +.if ${RUBY_VER} == 18 +RAKEBIN=rake${RUBY_VER} +.else +RAKEBIN=rake${RUBY_VER}-${PKGVERSION_NOREV} +.if ${RUBY_VER} == 193 +RAKE_HACK= .${PKGVERSION_NOREV} +RAKE_SPEC= ${GEM_HOME}/specifications/${GEM_NAME}.gemspec +.endif +.endif + +# rake.1.gz has one extra byte at EOF. pre-configure: - cd ${WRKSRC}/doc && gzip -d rake.1.gz + cd ${WRKSRC}/doc && (gzip -d rake.1.gz 2>/dev/null || ${TRUE}) cd ${WRKSRC}; ${CHMOD} -x ${FIX_PERM} - ${MV} ${WRKSRC}/bin/rake ${WRKSRC}/bin/rake${RUBY_VER} + cd ${WRKSRC}/bin && ${MV} rake ${RAKEBIN} post-install: ${INSTALL_MAN} ${WRKSRC}/doc/rake.1 \ - ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/rake${RUBY_VER}.1 + ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/rake.1 +.if !empty(RAKE_HACK) + ${MV} ${DESTDIR}${PREFIX}/${RAKE_SPEC} \ + ${DESTDIR}${PREFIX}/${RAKE_SPEC}${RAKE_HACK} +.endif .include "../../lang/ruby/gem.mk" .include "../../mk/bsd.pkg.mk" diff --git a/devel/ruby-rake/PLIST b/devel/ruby-rake/PLIST index 37c7f497501..815b351bcfc 100644 --- a/devel/ruby-rake/PLIST +++ b/devel/ruby-rake/PLIST @@ -1,12 +1,13 @@ -@comment $NetBSD: PLIST,v 1.1.1.1 2012/03/17 13:51:36 taca Exp $ -bin/rake${RUBY_VER} -${GEM_HOME}/cache/rake-${PKGVERSION}.gem +@comment $NetBSD: PLIST,v 1.2 2012/03/17 13:57:59 taca Exp $ +bin/${RAKEBIN} +${GEM_HOME}/cache/${GEM_NAME}.gem +${GEM_LIBDIR}/.gemtest ${GEM_LIBDIR}/CHANGES ${GEM_LIBDIR}/MIT-LICENSE -${GEM_LIBDIR}/README +${GEM_LIBDIR}/README.rdoc ${GEM_LIBDIR}/Rakefile ${GEM_LIBDIR}/TODO -${GEM_LIBDIR}/bin/rake${RUBY_VER} +${GEM_LIBDIR}/bin/${RAKEBIN} ${GEM_LIBDIR}/doc/command_line_usage.rdoc ${GEM_LIBDIR}/doc/example/Rakefile1 ${GEM_LIBDIR}/doc/example/Rakefile2 @@ -36,79 +37,98 @@ ${GEM_LIBDIR}/doc/release_notes/rake-0.8.4.rdoc ${GEM_LIBDIR}/doc/release_notes/rake-0.8.5.rdoc ${GEM_LIBDIR}/doc/release_notes/rake-0.8.6.rdoc ${GEM_LIBDIR}/doc/release_notes/rake-0.8.7.rdoc +${GEM_LIBDIR}/doc/release_notes/rake-0.9.0.rdoc +${GEM_LIBDIR}/doc/release_notes/rake-0.9.1.rdoc +${GEM_LIBDIR}/doc/release_notes/rake-0.9.2.rdoc ${GEM_LIBDIR}/install.rb ${GEM_LIBDIR}/lib/rake.rb ${GEM_LIBDIR}/lib/rake/alt_system.rb +${GEM_LIBDIR}/lib/rake/application.rb ${GEM_LIBDIR}/lib/rake/classic_namespace.rb ${GEM_LIBDIR}/lib/rake/clean.rb +${GEM_LIBDIR}/lib/rake/cloneable.rb ${GEM_LIBDIR}/lib/rake/contrib/compositepublisher.rb ${GEM_LIBDIR}/lib/rake/contrib/ftptools.rb ${GEM_LIBDIR}/lib/rake/contrib/publisher.rb ${GEM_LIBDIR}/lib/rake/contrib/rubyforgepublisher.rb ${GEM_LIBDIR}/lib/rake/contrib/sshpublisher.rb ${GEM_LIBDIR}/lib/rake/contrib/sys.rb +${GEM_LIBDIR}/lib/rake/default_loader.rb +${GEM_LIBDIR}/lib/rake/dsl_definition.rb +${GEM_LIBDIR}/lib/rake/early_time.rb +${GEM_LIBDIR}/lib/rake/ext/core.rb +${GEM_LIBDIR}/lib/rake/ext/module.rb +${GEM_LIBDIR}/lib/rake/ext/string.rb +${GEM_LIBDIR}/lib/rake/ext/time.rb +${GEM_LIBDIR}/lib/rake/file_creation_task.rb +${GEM_LIBDIR}/lib/rake/file_list.rb +${GEM_LIBDIR}/lib/rake/file_task.rb +${GEM_LIBDIR}/lib/rake/file_utils.rb +${GEM_LIBDIR}/lib/rake/file_utils_ext.rb ${GEM_LIBDIR}/lib/rake/gempackagetask.rb +${GEM_LIBDIR}/lib/rake/invocation_chain.rb +${GEM_LIBDIR}/lib/rake/invocation_exception_mixin.rb ${GEM_LIBDIR}/lib/rake/loaders/makefile.rb +${GEM_LIBDIR}/lib/rake/multi_task.rb +${GEM_LIBDIR}/lib/rake/name_space.rb ${GEM_LIBDIR}/lib/rake/packagetask.rb +${GEM_LIBDIR}/lib/rake/pathmap.rb +${GEM_LIBDIR}/lib/rake/pseudo_status.rb +${GEM_LIBDIR}/lib/rake/rake_module.rb ${GEM_LIBDIR}/lib/rake/rake_test_loader.rb ${GEM_LIBDIR}/lib/rake/rdoctask.rb ${GEM_LIBDIR}/lib/rake/ruby182_test_unit_fix.rb +${GEM_LIBDIR}/lib/rake/rule_recursion_overflow_error.rb ${GEM_LIBDIR}/lib/rake/runtest.rb +${GEM_LIBDIR}/lib/rake/task.rb +${GEM_LIBDIR}/lib/rake/task_argument_error.rb +${GEM_LIBDIR}/lib/rake/task_arguments.rb +${GEM_LIBDIR}/lib/rake/task_manager.rb ${GEM_LIBDIR}/lib/rake/tasklib.rb ${GEM_LIBDIR}/lib/rake/testtask.rb +${GEM_LIBDIR}/lib/rake/version.rb ${GEM_LIBDIR}/lib/rake/win32.rb -${GEM_LIBDIR}/test/capture_stdout.rb -${GEM_LIBDIR}/test/check_expansion.rb -${GEM_LIBDIR}/test/check_no_expansion.rb -${GEM_LIBDIR}/test/contrib/test_sys.rb -${GEM_LIBDIR}/test/data/chains/Rakefile -${GEM_LIBDIR}/test/data/default/Rakefile -${GEM_LIBDIR}/test/data/dryrun/Rakefile -${GEM_LIBDIR}/test/data/file_creation_task/Rakefile -${GEM_LIBDIR}/test/data/imports/Rakefile -${GEM_LIBDIR}/test/data/imports/deps.mf -${GEM_LIBDIR}/test/data/multidesc/Rakefile -${GEM_LIBDIR}/test/data/namespace/Rakefile -${GEM_LIBDIR}/test/data/rakelib/test1.rb -${GEM_LIBDIR}/test/data/rbext/rakefile.rb -${GEM_LIBDIR}/test/data/sample.mf -${GEM_LIBDIR}/test/data/statusreturn/Rakefile -${GEM_LIBDIR}/test/data/unittest/Rakefile -${GEM_LIBDIR}/test/filecreation.rb -${GEM_LIBDIR}/test/functional.rb -${GEM_LIBDIR}/test/in_environment.rb -${GEM_LIBDIR}/test/rake_test_setup.rb -${GEM_LIBDIR}/test/reqfile.rb -${GEM_LIBDIR}/test/reqfile2.rb -${GEM_LIBDIR}/test/session_functional.rb -${GEM_LIBDIR}/test/shellcommand.rb -${GEM_LIBDIR}/test/test_application.rb -${GEM_LIBDIR}/test/test_clean.rb -${GEM_LIBDIR}/test/test_definitions.rb -${GEM_LIBDIR}/test/test_earlytime.rb -${GEM_LIBDIR}/test/test_extension.rb -${GEM_LIBDIR}/test/test_file_creation_task.rb -${GEM_LIBDIR}/test/test_file_task.rb -${GEM_LIBDIR}/test/test_filelist.rb -${GEM_LIBDIR}/test/test_fileutils.rb -${GEM_LIBDIR}/test/test_ftp.rb -${GEM_LIBDIR}/test/test_invocation_chain.rb -${GEM_LIBDIR}/test/test_makefile_loader.rb -${GEM_LIBDIR}/test/test_multitask.rb -${GEM_LIBDIR}/test/test_namespace.rb -${GEM_LIBDIR}/test/test_package_task.rb -${GEM_LIBDIR}/test/test_pathmap.rb -${GEM_LIBDIR}/test/test_pseudo_status.rb +${GEM_LIBDIR}/test/file_creation.rb +${GEM_LIBDIR}/test/helper.rb ${GEM_LIBDIR}/test/test_rake.rb -${GEM_LIBDIR}/test/test_rdoc_task.rb -${GEM_LIBDIR}/test/test_require.rb -${GEM_LIBDIR}/test/test_rules.rb -${GEM_LIBDIR}/test/test_task_arguments.rb -${GEM_LIBDIR}/test/test_task_manager.rb -${GEM_LIBDIR}/test/test_tasklib.rb -${GEM_LIBDIR}/test/test_tasks.rb -${GEM_LIBDIR}/test/test_test_task.rb -${GEM_LIBDIR}/test/test_top_level_functions.rb -${GEM_LIBDIR}/test/test_win32.rb -${GEM_HOME}/specifications/rake-${PKGVERSION}.gemspec -man/man1/rake${RUBY_VER}.1 +${GEM_LIBDIR}/test/test_rake_application.rb +${GEM_LIBDIR}/test/test_rake_application_options.rb +${GEM_LIBDIR}/test/test_rake_clean.rb +${GEM_LIBDIR}/test/test_rake_definitions.rb +${GEM_LIBDIR}/test/test_rake_directory_task.rb +${GEM_LIBDIR}/test/test_rake_dsl.rb +${GEM_LIBDIR}/test/test_rake_early_time.rb +${GEM_LIBDIR}/test/test_rake_extension.rb +${GEM_LIBDIR}/test/test_rake_file_creation_task.rb +${GEM_LIBDIR}/test/test_rake_file_list.rb +${GEM_LIBDIR}/test/test_rake_file_list_path_map.rb +${GEM_LIBDIR}/test/test_rake_file_task.rb +${GEM_LIBDIR}/test/test_rake_file_utils.rb +${GEM_LIBDIR}/test/test_rake_ftp_file.rb +${GEM_LIBDIR}/test/test_rake_functional.rb +${GEM_LIBDIR}/test/test_rake_invocation_chain.rb +${GEM_LIBDIR}/test/test_rake_makefile_loader.rb +${GEM_LIBDIR}/test/test_rake_multi_task.rb +${GEM_LIBDIR}/test/test_rake_name_space.rb +${GEM_LIBDIR}/test/test_rake_package_task.rb +${GEM_LIBDIR}/test/test_rake_path_map.rb +${GEM_LIBDIR}/test/test_rake_path_map_explode.rb +${GEM_LIBDIR}/test/test_rake_path_map_partial.rb +${GEM_LIBDIR}/test/test_rake_pseudo_status.rb +${GEM_LIBDIR}/test/test_rake_rake_test_loader.rb +${GEM_LIBDIR}/test/test_rake_rdoc_task.rb +${GEM_LIBDIR}/test/test_rake_require.rb +${GEM_LIBDIR}/test/test_rake_rules.rb +${GEM_LIBDIR}/test/test_rake_task.rb +${GEM_LIBDIR}/test/test_rake_task_argument_parsing.rb +${GEM_LIBDIR}/test/test_rake_task_arguments.rb +${GEM_LIBDIR}/test/test_rake_task_lib.rb +${GEM_LIBDIR}/test/test_rake_task_manager.rb +${GEM_LIBDIR}/test/test_rake_task_manager_argument_resolution.rb +${GEM_LIBDIR}/test/test_rake_task_with_arguments.rb +${GEM_LIBDIR}/test/test_rake_test_task.rb +${GEM_LIBDIR}/test/test_rake_top_level_functions.rb +${GEM_LIBDIR}/test/test_rake_win32.rb +${GEM_LIBDIR}/test/test_sys.rb +${GEM_HOME}/specifications/${GEM_NAME}.gemspec${RAKE_HACK} +man/man1/rake.1 diff --git a/devel/ruby-rake/distinfo b/devel/ruby-rake/distinfo index b09e903a0f7..80067b3323b 100644 --- a/devel/ruby-rake/distinfo +++ b/devel/ruby-rake/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.1.1.1 2012/03/17 13:51:36 taca Exp $ +$NetBSD: distinfo,v 1.2 2012/03/17 13:57:59 taca Exp $ -SHA1 (rake-0.8.7.gem) = 91daad079d404b68a7dd179716b9fdd0c195144c -RMD160 (rake-0.8.7.gem) = 1c41208b3bf8fba5a89a7b156eb862c4cf6278f0 -Size (rake-0.8.7.gem) = 104960 bytes +SHA1 (rake-0.9.2.2.gem) = 5372835ce532b7a06e437c83bc7a4938cb48c0d1 +RMD160 (rake-0.9.2.2.gem) = ed20c2658d6a97d51dd0ec2c1c4cedf637dbaa70 +Size (rake-0.9.2.2.gem) = 111616 bytes |